Skip to content

RAGEN (cross-listed)

Cross-listed. The canonical, tracked note for this paper (arXiv 2504.20073) is RAGEN (StarPO, agent view) under Agents, with the open questions and diagram. Who owns what: this RL-track page owns the policy-optimisation and stability story (Echo Trap signals, StarPO-S); the Agents note owns environment, rollout and trajectory design (prompts versus responses, actions per turn, rollout freshness, reasoning ablations) and the tracked questions. You do not need to complete the paper twice.

TL;DR. RAGEN is a modular system for training LLM agents with multi-turn RL, built on verl. Its objective, StarPO (State-Thinking-Actions-Reward Policy Optimization), optimises whole interaction trajectories. On four small environments the authors find a recurring collapse, the Echo Trap, and stabilise it with StarPO-S: keep high-variance prompts, add a critic, remove the KL term and clip higher.

StarPO maximises the expected trajectory reward J = E over τ∼π_θ of R(τ), where τ interleaves environment states, the model’s <think> reasoning and actions. Advantages come from PPO with a critic or from GRPO-style group normalisation over K rollouts per prompt.

Multi-turn training fails differently from single-turn reasoning RL. Early agents reason in diverse ways; after training they emit the same template every turn. The authors call this the Echo Trap, by analogy with model collapse when training on self-generated data. Reward std is the earliest signal: in FrozenLake-PPO it drops sharply at step 40, while the mean reward only collapses at step 90. Gradient-norm spikes (step 170 Bandit, 110 Sokoban, 90 FrozenLake) mark the point after which recovery is unlikely. StarPO-S responds in three ways:

  • Uncertainty filtering. Rank prompts by the reward std across their rollouts and keep the top p%. The paper sweeps p rather than fixing one value.
  • Critic incorporation. PPO with a learned value function was more stable than critic-free GRPO in these runs.
  • Gradient stabilisation. Remove the KL penalty and use DAPO-style asymmetric (clip-higher) clipping.

All findings are paper-reported, from Qwen2.5-0.5B-Instruct (§4, App. C.2) with up to 200 rollout–update iterations, K = 16 trajectories per group and at most 5 turns. Under PPO, keeping 75% of prompts by reward std extends stable training on FrozenLake from 100 to 140 steps, and keeping 50% avoids collapse entirely (Figure 5); GRPO benefits less. StarPO-S delays collapse and improves final success across the tasks (Figure 6). Rollout-design results (freshness, actions per turn, the NoThink reasoning ablation, response masking and bi-level GAE) are summarised once, on the Agents note.