OLIVIA: Online Learning via Inference-time Action Adaptation for Decision Making in LLM ReAct Agents

Sheldon Yu, Junda Wu, Xintong Li, Nikki Lijing Kuang, Sizhe Zhou, Tong Yu, Jiawei Han, Jingbo Shang, Julian McAuley

arXiv:2605.11169 · 2026-05-13 공개 · arXiv · PDF

uncertainty-estimation online-learning contextual-bandits action-selection sample-efficient llm-decision-making re-act-agents inference-time-adaptation

Abstract

Large language model agents interleave reasoning, action selection, and observation to solve sequential decision-making tasks. In deployed settings where agents repeatedly handle related multi-step tasks, small action-selection errors can accumulate into wasted tool calls, latency, and reduced reliability. Despite this need for deployment-time improvement, existing inference-time adaptation methods for LLM agents mainly rely on prompting or retrieval, which influence behavior indirectly through context manipulation. For ReAct-style agents, such approaches do not expose an explicit decision layer that can score candidate actions, represent uncertainty, or be updated online from action-level feedback. As a result, they provide limited support for trackable, fine-grained, and uncertainty-aware adaptation during deployment. We propose OLIVIA, an inference-time action adaptation framework for ReAct-style agents. OLIVIA models the LLM's final action-selection layer as a contextual linear bandit over candidate actions, with frozen hidden states as decision contexts. This choice is particularly suitable for deployment because it adapts behavior directly at the action-selection interface, preserves the underlying reasoning process, and provides explicit uncertainty estimates and lightweight online updates from action-level feedback. With upper-confidence-bound exploration, OLIVIA improves the policy sample-efficiently with minimal computational overhead. We instantiate OLIVIA on four benchmarks and show that it consistently improves task performance over static ReAct and prompt-based inference-time baselines. Our results suggest that explicit online decision layers provide an effective alternative to purely prompt- or retrieval-based adaptation for LLM agents during deployment.

한국어 요약

📋 한 줄 요약

**[LLM 에이전트 / 온라인 학습]** ReAct 에이전트의 최종 행동 선택층을 컨텍스트 선형 밴딧으로 모델링하여 LLM 가중치를 고정한 채 행동 단위 피드백으로 온라인 적응시키는 OLIVIA 프레임워크를 제안한다.

🎯 핵심 기여도

💡 핵심 아이디어

ReAct 에이전트는 프롬프트나 RAG로만 적응 가능했지만 이는 행동 선택을 우회한 간접 영향이었다. 마지막 행동 선택을 컨텍스트 밴딧으로 명시적으로 모델링하면 LLM 추론은 그대로 두면서 행동 단위 피드백으로 빠르게 온라인 적응할 수 있고, UCB로 탐색-활용도 통제 가능하다.

🔬 기술적 접근법

📊 주요 결과

💭 의의 및 한계

**의의**: LLM 에이전트의 실배포 환경에서 모델 재학습 없이 작은 결정층만 온라인 적응시키는 깔끔한 분리 구조를 보여주며, 불확실성 추정과 탐색을 명시적으로 다룬다는 점에서 신뢰 가능 AI에 부합한다. **한계**: 행동 후보 집합이 정의되어 있어야 하며 행동 공간이 매우 크거나 비정형일 때는 적용이 까다롭고, 선형 밴딧 가정의 표현력 한계가 복잡한 컨텍스트에서 병목이 될 수 있다.

🚀 실용적 활용