A weekly paper and daily brief on artificial intelligence
ქართული

← Back to the issue of 7 November 2026

Science & technology · Our full summary

Trained agents need room to recover

Reinforcement learning mainly makes AI agents better at recovering from mistakes, so its gains shrink or vanish when they are allowed few turns

The problem

Multi-turn reinforcement learning (RL) has become a standard way to improve language-model agents on long tasks, but agents are usually judged only by whether they finish a task within one fixed budget. The authors ask what such training improves, and whether the gains hold under the tighter interaction limits that real deployments impose.

The method

They evaluate agents along two test-time axes with Pass@(K, T): sampling breadth K (how many independent attempts) and interaction depth T (the maximum number of turns per attempt). The main experiments use Qwen3-4B and Qwen3-8B trained with GRPO, with GiGPO and PPO as further algorithms, on four interactive benchmarks: DeepCoder-MT (multi-turn coding), BFCL (function calling), InterCode-SQL and FrozenLake (a grid puzzle). Further checks use InternVL3.5-8B, DeepSeek-R1-Distill-Llama-8B and Terminal-Bench.

Step-level action quality is measured exactly on FrozenLake, with dynamic programming, and by unit-test pass rates on DeepCoder-MT, comparing base and RL models on matched states, on error states created by injecting a wrong action, and at different depths of a trajectory.

As a remedy they propose BudgetMix RL. It keeps the rewards of standard RL, but each task group is trained under a budget drawn uniformly from 10% to 100% of the maximum, in steps of 10%, with the total and remaining budget stated in the prompt and zero reward for unfinished trajectories.

Key results

  • With more sampled attempts, RL models consistently beat base models (Pass@K). With fewer allowed turns the advantage shrinks considerably and on some tasks disappears or reverses (Pass@T).
  • On matched states RL models choose the better next action on only 46.8% of DeepCoder-MT states and 42.8% of FrozenLake states, with average step quality no better than the base model.
  • On error states the pattern reverses: RL picks the better action in 65.7% of cases on FrozenLake and 67.3% on DeepCoder-MT, and continuing from identical error states it succeeds 51.3% vs 38.6% (FrozenLake) and 38.5% vs 22.9% (DeepCoder-MT).
  • The RL advantage is small or negative early in a trajectory and emerges later; standard full-budget RL degrades step-level reward during training.
  • BudgetMix beats full-budget RL by 7.5, 5.3 and 4.0 percentage points on average at 25%, 50% and 75% of the maximum turns (averaged over GRPO, GiGPO and PPO), and matches it at 100%; its step-level reward stays stable or improves slightly during training.
  • Accurate process supervision mitigates the budget dependence on FrozenLake, but such supervision is hard to obtain on realistic tasks.

Limitations

  • The main experiments use small open models (Qwen3 with 4B and 8B parameters) and four benchmarks; frontier-scale agents are not tested.
  • The authors call their discussion of remedies, process supervision and BudgetMix, preliminary.
  • Exact step-level quality can be computed only where an oracle exists (FrozenLake) or unit tests can score a step (DeepCoder-MT).

Why it matters

Agents are deployed under limits on turns, time and cost that often differ from those used in training. A benchmark win at a generous budget can overstate how reliable a trained agent is when it must get things right in few steps, and the paper offers a cheap training change that narrows the gap.