arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.07932cs.LGcs.AI
收藏

AttnSR:面向长 horizon 智能体强化学习的注意力步奖励

AttnSR: Attention Step Reward for Long-Horizon Agentic RL

Shanghai Institute of AI for Education, East China Normal University(华东师范大学上海教育人工智能研究院);Shanghai Innovation Institute(上海创新研究院);Hithink Research(恆大研究院);School of Data Science and Engineering, East China Normal University(华东师范大学数据科学与工程学院);The Hong Kong University of Science and Technology(香港科技大学)

Mengsong Wu, Tianchen Zhou, Zhaochen Su, Zhenhua Liu, Zhe Cui, Aimin Zhou

AI总结:

AttnSR 是一种步级奖励增强方法,利用策略注意力推导奖励分配,在 ALFWorld 和 ScienceWorld 上均优于 PPO 基线,提升了长 horizon 智能体强化学习的性能。

摘要:

长 horizon 的大语言模型智能体需要进行多步决策,但仅基于最终结果的强化学习难以对每一步提供直接监督。我们提出 AttnSR,一种步级奖励增强方法,它从训练回放过程中提取的策略注意力推导奖励分配,无需单独训练奖励模型或额外的 rollout。AttnSR 沿策略模型注意力图反向追踪,估计早期步骤对最终响应的相关性;相对于运行基线测量的终端步骤,决定这些奖励是强化还是惩罚所选步骤。在受控的 Qwen2.5-7B-Instruct 研究中,AttnSR 在 ALFWorld 的所有评估检查点上始终优于 PPO 基线,将最终保留的成功率从 91.2% 提升至 97.1%。消融实验表明,该方法的益处取决于中间奖励的分配方式,而非随时间简单累积步奖励。AttnSR 还在每个检查点提升了 ScienceWorld 的性能,同时减少了 29.9% 的环境交互。这些结果支持策略注意力作为长 horizon 智能体强化学习中步级奖励分配的实用先验。代码可在该 https URL 获取。

英文摘要:

Long-horizon LLM agents make multi-step decisions, yet outcome-reward-only reinforcement learning provides little direct supervision for individual steps. We introduce AttnSR, a step-level reward augmentation method that derives reward allocations from policy attention extracted during training replay, without a separately trained reward model or additional rollouts. AttnSR traces backward through the policy model attention graph to estimate the relevance of earlier steps to the final response. The terminal step, measured relative to a running baseline, determines whether these rewards reinforce or penalize the selected steps. In a controlled Qwen2.5-7B-Instruct study, AttnSR consistently outperforms the PPO baseline across all evaluated checkpoints on ALFWorld, raising final held-out success from 91.2% to 97.1%. The ablation experiment shows that the benefit depends on how intermediate rewards are assigned, rather than simple accumulation of step rewards over time. AttnSR also improves ScienceWorld at every checkpoint while cutting environment interactions by 29.9%. These results support policy attention as a practical prior for step-level reward allocation in long-horizon agentic RL. Code is available at https://github.com/fairyshine/AttnSR .

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

↑