AttnSR
A reinforcement learning method that uses the attention maps of a policy model to assign step-level rewards. It is a plug-and-play reward enhancement scheme that requires neither training an additional reward model nor increasing environment interactions.
Timeline (last 90 days)
AttnSR derives step-level reward allocation from the attention produced by the policy model during training rollouts, without training a separate reward model or performing extra rollouts.
AttnSR measures the reward of the terminal step relative to a running baseline to decide whether the attention allocation reinforces or penalizes the selected steps.
The ablation experiments of AttnSR show that its gains depend on how intermediate rewards are allocated, rather than simply accumulating step rewards over time.
In a controlled Qwen2.5-7B-Instruct study, AttnSR outperformed the PPO baseline at all evaluation checkpoints on ALFWorld, raising final held-out success rate from 91.2% to 97.1%.
On ScienceWorld, AttnSR improved at every checkpoint while reducing the number of environment interactions by 29.9%.
AttnSR's attention signals are taken directly from the regular training replay phase rather than from additional evaluation rollouts, so it does not increase the number of environment interactions, which is the key reason for its 29.9% interaction reduction on ScienceWorld.
The AttnSR code is open-sourced on GitHub at the repository fairyshine/AttnSR.
AttnSR's current experiments are based on the single model Qwen2.5-7B-Instruct, and the method's generalizability across different architectures and scales still requires further validation.
The reliability of attention weights may decay in longer-sequence tasks, which is an issue that AttnSR's follow-up research needs to address.
AttnSR does not change the policy network structure and does not introduce additional models; it only mines supervisory information from existing attention signals.
All Facts (10)
AttnSR does not change the policy network structure and does not introduce additional models; it only mines supervisory information from existing attention signals.
50%UnverifiedAttnSR measures the reward of the terminal step relative to a running baseline to decide whether the attention allocation reinforces or penalizes the selected steps.
50%UnverifiedThe ablation experiments of AttnSR show that its gains depend on how intermediate rewards are allocated, rather than simply accumulating step rewards over time.
50%UnverifiedIn a controlled Qwen2.5-7B-Instruct study, AttnSR outperformed the PPO baseline at all evaluation checkpoints on ALFWorld, raising final held-out success rate from 91.2% to 97.1%.
50%UnverifiedOn ScienceWorld, AttnSR improved at every checkpoint while reducing the number of environment interactions by 29.9%.
50%UnverifiedAttnSR's attention signals are taken directly from the regular training replay phase rather than from additional evaluation rollouts, so it does not increase the number of environment interactions, which is the key reason for its 29.9% interaction reduction on ScienceWorld.
50%UnverifiedAttnSR's current experiments are based on the single model Qwen2.5-7B-Instruct, and the method's generalizability across different architectures and scales still requires further validation.
50%UnverifiedAttnSR derives step-level reward allocation from the attention produced by the policy model during training rollouts, without training a separate reward model or performing extra rollouts.
50%UnverifiedThe AttnSR code is open-sourced on GitHub at the repository fairyshine/AttnSR.
50%UnverifiedThe reliability of attention weights may decay in longer-sequence tasks, which is an issue that AttnSR's follow-up research needs to address.
50%