TL;DR
FOCUS (Focused Optimization on Critical Underperforming Segments) is a reinforcement learning framework that improves long-horizon LLM agents by treating value estimation as an active learning problem. By selectively branching and sampling continuations only from states where the critic's error is expected to drop the most, FOCUS achieves superior credit assignment and performance on complex tasks like deep search and legal reasoning while remaining compute-efficient.
What Problem Does This Paper Address?
Training LLM agents for long-horizon tasks—like resolving GitHub issues or conducting multi-step web research—is notoriously difficult due to sparse rewards. If an agent makes 100 tool calls and only receives a "success" signal at the very end, how do we know which of those 100 actions actually mattered?
Standard Reinforcement Learning (RL) uses a "critic" network to estimate the value of intermediate states, but these critics are often inaccurate in complex, long-form trajectories. While we can refine these estimates using Monte Carlo (MC) sampling (branching out multiple times from a single state), doing so at every step is prohibitively expensive. The challenge is: How do we allocate a limited rollout budget to improve value estimation most efficiently?
Methods
The authors introduce FOCUS, a rollout controller that manages agent training as a search tree. Its core innovation is Selective Rollout Allocation:
- Active Learning for Critics: Instead of uniform branching, FOCUS uses an acquisition function to identify "critical segments." It calculates the marginal MSE reduction—essentially asking, "If I sample one more continuation from this state, how much will it reduce my critic's estimation error?"
- Modular Context Management: FOCUS leverages "context compaction" (summarizing history to fit in a context window) as natural boundaries for value estimation. Each segment between compactions becomes a discrete step for calculating rewards and advantages.
- Refined Credit Assignment: It combines the critic's predictions with evidence from sampled continuations using a recursive backup method (similar to TreeRPO). These refined values provide a more accurate TD($\lambda$) advantage signal to update the policy.
Datasets
The researchers evaluated FOCUS across several challenging, long-horizon benchmarks:
- DeonticBench: Context-grounded legal reasoning involving U.S. federal tax and immigration law.
- BrowseComp-Plus: Deep search tasks requiring multi-hop information seeking over a verified corpus.
- LocBench: A code-localization benchmark where agents must find specific files and functions related to real GitHub issues.
- MATH (Levels 4-5): Used for preliminary evaluations of reasoning efficiency.
Key Insights and Ideas
- Compute Efficiency: FOCUS proves that where you sample matters more than how much you sample. By focusing on high-uncertainty states, it outperforms baselines even when the total number of generated tokens is matched.
- Avoiding "Late-Training Collapse": A common failure mode in trajectory-level RL (like GRPO) is that agents eventually learn to "cheat" by making premature, incorrect submissions to minimize steps. FOCUS maintains stable exploration and avoids this collapse because its refined value estimates preserve the long-term horizon.
- The Critic Gets Smarter: Diagnostic tests showed that the FOCUS critic's correlation with ground-truth values (determined by heavy MCTS sampling) improves steadily throughout training, validating the active learning approach.
Key Results
Using the Qwen3.5-9B model, FOCUS demonstrated significant gains over strong baselines like GRPO and VinePPO:
- BrowseComp-Plus: Improved held-out accuracy by 7.2 points (55.4% vs. 48.2%).
- DeonticBench: Improved accuracy by 4.1 points (56.5% vs. 52.4%).
- MATH: Reached peak accuracy significantly earlier in the training process than standard PPO, suggesting a major training-compute advantage.
Limitations and Future Work
While FOCUS is highly effective, the authors note a few areas for growth:
- Uncertainty Quantification: The current model uses a relatively simple Beta prior for selection; moving to more sophisticated uncertainty estimates could further improve allocation.
- Compaction Quality: The stability of the RL loop is still somewhat tied to the quality of the context compaction. If the agent writes a poor summary, the "state" becomes corrupted.
- Scaling: Future work will explore scaling FOCUS to even larger models (beyond 27B) and even longer task horizons.
Summary updated