跳到正文
arXiv (AI + Vision + Imaging)· Hao Luan, Hao Qiu, Zhi Zheng, See-Kiong Ng, Zhiyong Huang·· 1 天前AI 评分18

面向编码智能体的乐观在线学习:聚合反馈下的激活引导策略选择

Optimistic Online Learning for Coding Agents with Aggregate Feedback

AI 导读

针对LLM编码智能体在多轮任务中的行为漂移问题,提出Online Optimistic Activation Steering元框架,将在线引导策略选择建模为带延迟任务级反馈和轮级预测提示的多臂老虎机问题。该方法用提示指导任务内策略选择,并用终局反馈校正累积奖励估计,理论上给出随提示精度收紧的遗憾界及匹配下界。在真实编码基准上,该框架优于静态引导策略和朴素在线自适应基线。

正文 · 原文

arXiv:2611.30405v1 Announce Type: new Abstract: Large language model (LLM) coding agents operating on Web development platforms can interact with repositories, issue trackers, and continuous integration services to carry out long-horizon software engineering tasks. However, behavioral drift remains a major bottleneck in such multi-turn reasoning and action trajectories. To mitigate this, activation steering has emerged as a promising approach for regularizing agent behaviors by intervening on the LLM's transformer residual streams. Nonetheless, existing methods typically apply a static steering policy across all tasks, overlooking the fact that a single policy is rarely effective across heterogeneous tasks and varying execution turns. This limitation motivates dynamic online selection among candidate steering policies. Yet, doing so in long-horizon agentic settings is challenging: verifiable task-level feedback is only revealed upon task completion, leaving the contributions of individual steering turns unobserved. To address this challenge, we formulate online steering-policy selection as a multi-armed bandit problem with delayed task-level feedback and turn-level predictive hints derived from residual-stream activations. Within this formulation, we introduce Online Optimistic Activation Steering, a meta-framework that uses hints to guide within-task steering policy selection and leverages terminal task-level feedback to correct cumulative reward estimates. Theoretically, against the best fixed policy in hindsight, we prove regret bounds that tighten with increasing hint accuracy and establish a matching lower bound with respect to prediction error and candidate policy count. Empirical evaluations on realistic coding benchmarks demonstrate that our framework outperforms both static steering policies and naive online adaptive baselines.

来源:arXiv (AI + Vision + Imaging) · arxiv.org