TL;DR
PivotRL is a post-training framework for agentic LLMs that combines the compute efficiency of Supervised Fine-Tuning (SFT) with the generalization power of Reinforcement Learning (RL). By training on "pivots"—informative intermediate steps where the model's performance is uncertain—and using functional rewards instead of strict text matching, it achieves superior in-domain accuracy while completely eliminating the "catastrophic forgetting" of out-of-domain skills typical of SFT.
What Problem Does This Paper Address?
Training Large Language Models (LLMs) for long-horizon agentic tasks—like coding, web browsing, or tool use—usually involves a trade-off between two methods:
- Supervised Fine-Tuning (SFT): Efficient but rigid. It forces the model to mimic specific expert trajectories. This often leads to "out-of-domain (OOD) degradation," where the model gets better at the specific task but loses its general reasoning, math, or coding abilities (catastrophic forgetting).
- End-to-End Reinforcement Learning (E2E RL): Generalizes well but is incredibly expensive. It requires the model to play out entire multi-turn trajectories to receive a reward, leading to massive compute overhead.
The authors identify two specific bottlenecks in current "local" RL attempts: most randomly selected turns provide no learning signal (the model either always succeeds or always fails), and strict string matching is too restrictive for generative tasks where many different actions could be correct.
Methods
PivotRL introduces a "local RL" paradigm that operates on existing SFT trajectories using two key mechanisms:
- Pivot Filtering: The authors profile turns offline to find "pivots." These are intermediate states where the model's sampled actions show high variance in outcomes (i.e., some attempts succeed while others fail). This ensures the training budget is spent on states that actually provide a strong learning signal.
- Functional Rewards: Instead of rewarding the model only when it matches the SFT text exactly, PivotRL uses domain-specific verifiers (like schema checks or LLM judges) to reward any action that is "functionally equivalent" to the expert's goal.
The training uses a Group Relative Policy Optimization (GRPO) objective, but instead of full-trajectory rollouts, it only performs short, single-turn rollouts from the identified pivot states.
Datasets
The researchers evaluated PivotRL across four agentic domains:
- Conversational Tool Use: $\tau^2$-Bench.
- Software Engineering: SWE-Bench Verified.
- Terminal Interaction: Terminal-Bench.
- Web Browsing: BrowseComp.
To test for OOD retention, they used a suite of eight non-agentic benchmarks, including AIME25 and MATH500 (mathematics), IFBench (instruction following), LiveCodeBench, and MMLU-Pro.
Key Insights and Ideas
- The Signal-to-Noise Ratio: The authors found that in standard agentic datasets, 71% of turns are uninformative for RL because the model is already too good or too bad at them to generate a gradient update. Filtering for pivots maximizes the "natural gradient" of the reward objective.
- Preserving Policy Ordering: A key theoretical contribution is showing that functional rewards (rewarding a set of acceptable actions) preserve the relative probability ordering of all other actions. This explains why PivotRL retains OOD performance: it only shifts probability mass toward "correct" actions without scrambling the model's internal logic for unrelated tasks.
- Efficiency Gains: By focusing on single-turn local rollouts rather than full trajectories, the method significantly reduces the "rollout tax" of RL.
Key Results
PivotRL consistently outperformed SFT in both task performance and general capability retention:
- In-Domain Superiority: Across four domains, PivotRL achieved an average in-domain accuracy gain of +14.11% over the base model, compared to just +9.94% for SFT.
- Eliminating Catastrophic Forgetting: While SFT caused a massive average OOD regression of -9.83 points, PivotRL maintained a near-zero change (+0.21). In some cases, like Terminal-Bench, SFT caused math scores (AIME25) to plummet from 86.04 to 21.56, while PivotRL kept them stable.
- Compute Efficiency: On the rigorous SWE-Bench coding task, PivotRL matched the accuracy of full E2E RL while requiring 4x fewer training-time rollout turns and 5.5x less wall-clock time.
Limitations and Future Work
The main limitation of PivotRL is its reliance on high-quality, domain-specific verifiers. Constructing these verifiers for complex tasks like software engineering is difficult, which the authors cite as the reason PivotRL trailed SFT slightly on the SWE-Bench Verified benchmark.
Future directions include: 1. Replacing manual programmatic verifiers with learned action-value models trained on large-scale search data (like MCTS). 2. Extending the rollout horizon to integrate local turn-based rewards with global, end-of-task outcome signals to further bridge the gap between step-wise supervision and autonomous reasoning.
Summary updated