arXiv:2605.11169cs.AI2026-05被引 4

让大模型代理在运行时直接优化动作选择,减少错误累积。

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

论文配图:OLIVIA: Online Learning via Inference-time Action Adaptation for Decision Making in LLM ReAct Agents
图 1 · 摘自论文原文
  • 将动作选择层建模为上下文线性赌徒机,可直接更新。
  • 在线反馈下提升任务成功率,比静态方法高12%以上。
  • 适合需要实时调整的部署场景,如客服、导航系统。

大型语言模型代理通过推理、动作选择和观察的循环解决序列决策任务。在重复处理相关多步任务的部署环境中,微小的动作选择误差会累积导致工具调用浪费、延迟增加和可靠性下降。现有推理时适应方法主要依赖提示或检索,通过上下文操控间接影响行为,无法暴露显式的决策层来评分候选动作、表示不确定性或基于动作级反馈在线更新。因此,这些方法难以支持可追踪、细粒度且带不确定性的部署期适应。我们提出OLIVIA,一种面向ReAct类代理的推理时动作适应框架。OLIVIA将语言模型最终动作选择层建模为候选动作上的上下文线性赌徒机,冻结隐藏状态作为决策上下文。该设计适用于部署:在动作选择接口直接适应,保留底层推理过程,并提供明确的不确定性估计与轻量级在线更新。结合上置信界探索,OLIVIA以极低计算开销实现高效策略改进。我们在四个基准上实例化OLIVIA,结果表明其在任务性能上持续优于静态ReAct和基于提示的推理时基线。结果表明,显式的在线决策层是部署阶段替代纯提示或检索式适应的有效方案。

原文摘要 · Abstract (English)

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.

大模型代理在线学习动作选择决策优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。