FOCUS: Active Critic Learning for Long-Horizon Language Model Agents
Organizations: Johns Hopkins University
Abstract
Sparse outcome rewards make it difficult for long-horizon language-model agents to assign credit to earlier actions. Learned critics provide value estimates for intermediate states, but these estimates can be inaccurate, while estimating intermediate values with repetitive continuation samples from points within a trajectory incurs substantial costs. To mitigate these issues, we introduce FOCUS, an RL method that uses selective branching to help the critic network learn its value estimator. The rollout controller facilitates active learning for the critic by sampling continuations from states that are expected to most reduce the critic's estimation error. These refined value estimates then score the segment between consecutive states with a TD() advantage, while the sampled evidence supplies training targets for the critic. FOCUS supports long-horizon agentic reinforcement learning through a modular context-management interface that decouples context management from rollout allocation. Our experiments show that using compaction-induced segment boundaries for value estimation and credit assignment, FOCUS outperforms GRPO and VinePPO with matched per-step generation budgets on legal reasoning, deep search, and code localization benchmarks, improving held-out accuracy at Qwen3.5-9B scale by 7.2 points over the strongest baseline on BrowseComp-Plus (55.4 vs. 48.2) and by 4.1 points on DeonticBench (56.5 vs. 52.4).
Figures & tables
| Model | Method | DeonticBench | BrowseComp -Plus | LocBench | |||||
|---|---|---|---|---|---|---|---|---|---|
| Airline | SARA-N | SARA-B | Hard | Overall | File@1 | File@5 | |||
| Reference (no RL) | |||||||||
| gpt-oss-20b (medium) | 2.7 | 8.0 | 76.8 | 14.1 | 33.7 | 18.6 | 54.0 | 57.5 | |
| Nemotron 3 Nano 30B A3B | 2.7 | 12.0 | 89.9 | 18.3 | 36.1 | 19.3 | 57.9 | 66.6 | |
| Qwen3.5-9B | 5.3 | 30.0 | 89.9 | 19.7 | 45.9 | 29.7 | 62.1 | 67.8 | |
| Qwen3.5-27B | 58.7 | 60.0 | 94.2 | 43.7 | 73.4 | 50.6 | 66.7 | 79.3 | |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Free-form | Structural | |
|---|---|---|
| Compaction instruction | LocBench-specific instruction with the NullWorkspace guidance inserted | Generic instruction with the NullWorkspace guidance, followed by a LocBench schema and an output contract |
| Reply format | Four suggested headings; the reply is kept verbatim | Exactly one <summary> block with four non-empty sections: State, Evidence, Open questions, Next steps |
| Validation | Rejected if empty, cut off at the reply cap, or inside unclosed reasoning | Also parsed into the four sections and held to the 2,048-token target; one repair retry. Compaction turns are penalized on failure and when the wrapper is recovered |
| Next steps | Always “None” | A short next action; any reread must match an Open question |
| Re-entry | Notes appended to the original request inside <your_notes> (user turn) | Request left untouched; notes in their own <assistant_memory> turn, then a resume instruction |
| Execution state | None | Harness-rendered JSON of executed calls, counters, and submissions |
RL for LLM Agents
Reinforcement learning for large language model agents trains models to plan, use tools, and adapt through feedback from interactive tasks.
See all 614 papers