arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.11330cs.LG
收藏

当信用转向工具时:智能体强化学习中的过渡感知信用分配

When Credit Turns Against Tools: Transition-Aware Credit Assignment in Agentic Reinforcement Learning

Hong Kong Baptist University(香港浸会大学);Peking University(北京大学);Shanghai Jiao Tong University(上海交通大学)

Xiangyu Lu, Zhanke Zhou, Jiazhe Ning, Chentao Cao, Jiangchao Yao, Bo Han

AI总结:

针对智能体强化学习中工具调用性能下降的问题,提出过渡感知信用分配(TACA)方法,通过优势投影、决策对比和监督重放提升工具交互可靠性,在多个模型上较MT-GRPO实现显著准确率提升。

摘要:

带有可验证奖励的智能体强化学习通过多轮工具交互训练语言模型,但其推理性能和工具调用能力在训练过程中会下降。我们将这种退化追溯到三种耦合机制:(1)工具-令牌不平衡,当错误轨迹每轮包含的工具令牌多于正确轨迹时,会产生整体负工具信用;(2)聚合放大,由于令牌均值聚合会在策略更新中给更长的错误轨迹赋予更大权重,可进一步强化这种负信号;(3)失败驱动的重试,模型在执行错误后倾向于再次调用工具,从而延长轨迹,将潜在的负信用延伸到恢复尝试中。为了对抗这种抑制,我们提出过渡感知信用分配(TACA),其通过监督调用启动和生成,针对从推理到工具使用的过渡。具体而言,TACA使用优势投影,通过最小均匀偏移在每个提示组内对工具调用令牌执行非负均值优势。此外,TACA通过决策对比指导工具使用决策,比较同一提示下工具辅助答案与直接答案的奖励。通过监督重放,其使用先前采样的正确轨迹中的调用来强化工具调用生成。在多个模型和任务上,TACA可提高性能并在训练期间维持更可靠的工具交互,在六个推理基准上,Qwen2.5-1.5B的平均准确率较MT-GRPO提升4.61个百分点,Qwen2.5-3B提升3.61个百分点。我们的代码可在该https URL获取。

英文摘要:

Agentic reinforcement learning with verifiable rewards trains language models through multi-turn tool interactions, yet their reasoning performance and tool-calling ability can decline during training. We trace this degradation to three coupled mechanisms: (1) tool-token imbalance produces negative overall tool credit when incorrect trajectories contain more tool tokens per turn than correct ones; (2) aggregation amplification can further strengthen this negative signal as token-mean aggregation gives longer incorrect trajectories greater weight in policy updates; and (3) failure-driven retries prolong trajectories as models tend to call tools again after execution errors, extending potential negative credit to recovery attempts. To counter this suppression, we propose Transition-Aware Credit Assignment (TACA), which targets the transition from reasoning to tool use through supervision of both call initiation and generation. Specifically, TACA uses Advantage Projection to enforce a nonnegative mean advantage on tool-call tokens within each prompt group through a minimal uniform shift. Additionally, TACA guides tool-use decisions with Decision Contrast, comparing rewards for tool-assisted and direct answers to the same prompt. Through Supervised Replay, it reinforces tool-call generation using calls from previously sampled correct trajectories. Across models and tasks, TACA improves performance and sustains more reliable tool interaction during training, raising mean accuracy over MT-GRPO on six reasoning benchmarks by 4.61 percentage points for Qwen2.5-1.5B and 3.61 for Qwen2.5-3B. Our code is available at https://github.com/tmlr-group/TACA.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑