TL;DR
Standard reinforcement learning (RL) algorithms for LLM agents treat all generated tokens equally, wasting gradient updates on massive reasoning chains instead of the critical actions that drive environment transitions. This paper identifies this phenomenon as the Action Bottleneck and introduces ACTFOCUS, an elegant token-reweighting method that downweights reasoning tokens and uses energy-based uncertainty to prioritize critical action tokens. ACTFOCUS drastically improves performance and training stability across multiple benchmarks without adding any runtime or memory overhead.
What Problem Does This Paper Address?
When training Large Language Models (LLMs) as autonomous agents using Reinforcement Learning (RL), models typically generate long multi-turn trajectories that interleave extensive reasoning steps (<think> ... </think>) with brief environment-facing actions (<answer> ... </answer>).
The core challenge here is credit assignment: a sparse episodic reward (e.g., win or lose) must be propagated back through thousands of tokens. Standard policy optimization methods like PPO and GRPO use uniform credit assignment, meaning every single token receives equal weight during gradient updates. Because reasoning tokens often make up over 90% of the generated text, the gradient mass is overwhelmingly dominated by reasoning, diluting the training signal for the sparse action tokens that actually alter the environment's state.
Methods
The authors first diagnose where the true training signal lies by adopting an energy-based modeling perspective. They define token-level energy using a frozen reference model:
$$Et = - \log \sum_{v\inV} \exp(f^{\text{ref}}_{t,v})$$
Higher energy signifies greater predictive uncertainty. By analyzing the correlation between token energy and outcome variability (reward variance across multiple rollouts of the same prompt), they discovered a striking mismatch: the energy of action tokens is strongly correlated with reward variance ($\rho = +0.537$), while the energy of reasoning tokens is completely uninformative ($\rho \approx 0$).
To fix this, they propose ACTFOCUS, a structure-aware token-reweighting mechanism that modifies the standard policy-gradient loss function by adjusting the per-token weight $w_t$:
- Reasoning Downweighting: Gradients on reasoning tokens are scaled down by a factor $\alpha \in [0, 1]$.
- Energy-Based Action Prioritization: Gradients on action tokens are modulated by a factor $\beta \geq 0$ based on their batch-normalized energy passed through a sigmoid function.
This shifts the gradient mass directly onto the most critical and uncertain action tokens. Because it only alters the loss weighting, ACTFOCUS is fully compatible with existing PPO and GRPO frameworks and introduces zero extra computational or memory costs.
Datasets
The authors evaluated their approach using the Qwen2.5-Instruct family (at 0.5B, 1.5B, and 3B scales) across four distinct multi-turn agent environments:
- Sokoban: A spatial planning task involving irreversible box-pushing actions.
- FrozenLake: A navigation task on a slippery grid world with stochastic transitions.
- Sudoku ($4\times4$): A constraint-satisfaction task requiring strict logical deduction.
- WebShop: A realistic e-commerce environment requiring natural language understanding, web navigation, and precise item purchasing.
Key Insights and Ideas
- The Action Bottleneck: Informative training signals concentrate sharply on action spans rather than reasoning spans. Uniform credit assignment fundamentally misallocates optimization capacity.
- Why Energy Over Entropy?: Unlike policy-derived metrics (like entropy or policy negative log-likelihood) which drift and create a moving target as the model learns, frozen-reference energy provides a stable, computationally cheap anchor for uncertainty throughout the entire training process.
- Reasoning Suppression vs. Retention: While reasoning tokens shouldn't dominate the gradient, completely suppressing them ($\alpha = 0$) can cause training to collapse in complex environments like WebShop. A small amount of reasoning credit must be retained ($\alpha \approx 0.1 - 0.3$) to preserve coherent text generation and ongoing reasoning refinement.
Key Results
ACTFOCUS consistently outperformed standard uniform credit assignment across all tested environments and model sizes:
- Massive Performance Gains: Under PPO, ACTFOCUS achieved final success-rate improvements of up to 65.2 percentage points (on Sudoku 0.5B). Under GRPO, it yielded gains of up to 63.7 percentage points (on Sudoku 1.5B).
- Mitigating Policy Collapse: In GRPO training, uniform credit assignment frequently suffers from "peak-to-final degradation," where the model learns an intermediate policy but later collapses. ACTFOCUS significantly stabilized GRPO, either preventing late-stage drops entirely or helping the policy recover.
- Response Efficiency: ACTFOCUS achieved higher success rates while producing shorter or more stable response lengths, proving that its gains are driven by better decision quality rather than simply inflating the length of reasoning chains.
Limitations and Future Work
The primary limitation of ACTFOCUS is that the reasoning-retention coefficient $\alpha$ requires manual calibration depending on the task. Tasks requiring heavy text-based exploration and evidence aggregation (like WebShop) need a higher $\alpha$ than pure spatial planning tasks (like Sokoban).
The authors suggest that future work could explore adaptive or automated tuning of the $\alpha$ and $\beta$ hyperparameters during training, as well as evaluating the method on even larger open-ended web agent benchmarks.
Summary updated