AttnSR: Attention Step Reward for Long-Horizon Agentic RL
Mengsong Wu, Tianchen Zhou, Zhaochen Su, Zhenhua Liu, Zhe Cui, Aimin Zhou
Key points
From the paper's conclusion- These results support policy attention as a practical prior for step-level reward allocation in long-horizon agentic RL.
Abstract
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 .
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ViStep-RL: Stepwise Reinforcement Learning for Long-Horizon Visual AgentsarXiv · 2026
- Self-Credit: Credit Assignment for Long-Horizon Agentic RL via Intra-group RescalingarXiv · 2026
- Multiscale Policy Optimization for Long-Horizon LLM AgentsarXiv · 2026
- Depth Before Breadth: Reverse-to-Forward Curriculum with Advantage Decomposition for LLM AgentarXiv · 2026
- Beyond Outcome Rewards: Constructing and Assigning Retrieval Credit for Search AgentsarXiv · 2026
- AdaStep: Adaptive Step Credit Weighting for Agentic Reinforcement LearningarXiv · 2026