RAGEN-2: Reasoning Collapse in Agentic RL
Zihan (Zenus) Wang, Chi Gui, Xing Jin, Qineng Wang, Licheng Liu, Kangrui Wang, Shiqi Chen, Linjie Li, Zhengyuan Yang, Pingyue Zhang, Yiping Lu, Jiajun Wu, Li Fei-Fei, Lijuan Wang, Yejin Choi, Manling Li
Overview
Modern large language model (LLM) agents powered by reinforcement learning (RL) frequently exhibit baffling failures. Despite appearing highly competent on surface-level metrics, these agents often generate repetitive, formulaic reasoning trajectories that span entirely disparate domains, from mathematical reasoning and question-answering to web browsing and software engineering. In this ICML talk, presenting work on RAGEN-2, Zihan (Zenus) Wang and co-authors investigate this phenomenon, identifying it as a systemic pathology dubbed template collapse.

Key moments
- 0:00 Introduction and the Skinner Pigeon Analogy
- 2:00 Detecting Template Collapse via Mutual Information
- 4:00 Four Quadrants of Reasoning and Why Entropy Fails
- 5:30 Causes of Collapse: Signal-to-Noise Ratio in Agentic RL
- 7:00 Proposed Solution: Top-P Reward Variance Filtering
- 8:00 Results Across Environments and Noise Robustness
- 9:45 Conclusion and Three Key Takeaways
RAGEN-2: Reasoning Collapse in Agentic RL
Speakers: Zihan (Zenus) Wang; Chi Gui; Xing Jin; Qineng Wang; Licheng Liu; Kangrui Wang; Shiqi Chen; Linjie Li; Zhengyuan Yang; Pingyue Zhang; Yiping Lu; Jiajun Wu; Li Fei-Fei; Lijuan Wang; Yejin Choi; Manling Li
Conference: ICML
YouTube: https://slideslive.com/39083564
Overview
Modern large language model (LLM) agents powered by reinforcement learning (RL) frequently exhibit baffling failures. Despite appearing highly competent on surface-level metrics, these agents often generate repetitive, formulaic reasoning trajectories that span entirely disparate domains, from mathematical reasoning and question-answering to web browsing and software engineering. In this ICML talk, presenting work on RAGEN-2, Zihan (Zenus) Wang and co-authors investigate this phenomenon, identifying it as a systemic pathology dubbed template collapse.
The talk addresses a critical blind spot in current machine learning and systems research: standard evaluation metrics like entropy fail to capture when an agent's reasoning engine has degenerated into a hardcoded template. By drawing parallels to B.F. Skinner’s classical psychological experiments on pigeons, the authors demonstrate that template collapse is an inevitable consequence of uninformative rewards and low signal-to-noise ratios (SNR) in multi-turn agentic RL.
This work matters deeply to the ML and systems community because it reframes how we monitor training health. By introducing a new metric—mutual information between prompts and reasoning traces—and a simple yet effective SNR-aware filtering technique, the researchers provide a robust recipe for maintaining input-grounded, diverse reasoning throughout the RL lifecycle. The findings have immediate practical implications for anyone training, aligning, or deploying autonomous multi-step agents across noisy real-world environments.
Background
▶ Watch: Introduction and the Skinner Pigeon Analogy (0:00)
The systems and machine learning literature has increasingly pivoted toward multi-turn agentic workflows, where LLMs interact with external tools, APIs, and environments to solve complex tasks. To optimize these agents, practitioners rely heavily on reinforcement learning paradigms such as Proximal Policy Optimization (PPO) or related policy gradient methods. However, training stable agentic policies remains notoriously brittle.
Prior work in the RL community has long observed that policy degradation often manifests as repetition loops or mode collapse. In standard deep RL, engineers typically track policy entropy to monitor diversity and prevent premature convergence. Yet, in the context of LLM agents, entropy measurements can be profoundly misleading. An agent can generate a reasoning trajectory with high lexical or token-level entropy while still relying on an invariant, canned underlying logic template across completely unrelated inputs.
This gap exists because traditional RL diagnostic tools were designed for continuous control spaces or discrete action spaces with clear state transitions, rather than auto-regressive text generation where models can easily learn to output structurally complex yet semantically vacuous "rituals." Without a formal understanding of how reward structures interact with auto-regressive generation over multi-turn trajectories, practitioners have lacked principled ways to detect and prevent this subtle form of collapse.
Key Findings
▶ Watch: Four Quadrants of Reasoning and Why Entropy Fails (4:00)
The central discovery of the RAGEN-2 investigation is that agentic RL is highly susceptible to template collapse, a failure mode where the model locks onto a single, universal reasoning template and reuses it indiscriminately across diverse prompts.
To systematically identify this issue, the authors establish that traditional entropy-based monitoring is insufficient. While entropy measures the dispersion of tokens within a single generation, it completely ignores input conditioning. To solve this, the researchers propose using mutual information between input prompts and generated reasoning traces as a detection axis.
- Diagnostic Efficacy: The mutual information proxy correlates positively with task success (r ≈ 0.39), whereas entropy-based families exhibit a negative or near-zero correlation (r ≈ -0.11 to -0.14), actively pointing in the wrong direction.
- The SNR Root Cause: Template collapse is driven by low signal-to-noise ratio (SNR) during RL updates. When per-prompt reward variance is low, task signals vanish, allowing environmental noise and algorithmic regularizers (such as KL penalties) to dominate policy updates.
- Universal Generalizability of Fixes: A simple SNR-aware filtering mechanism—retaining only the top-$P$ prompts based on per-prompt reward variance—successfully prevents template collapse across diverse domains, including Sokoban, SearchQA, WebShop, and DeepCoder.
- Noise Resilience: Top-$P$ filtering maintains robust performance even in environments with up to 50% injected noise, outperforming standard unfiltered RL baselines.
Technical Deep Dive
▶ Watch: Causes of Collapse: Signal-to-Noise Ratio in Agentic RL (5:30)
The technical heart of RAGEN-2 lies in its formalization of agentic reasoning spaces and the mechanics of multi-turn agentic RL updates. The authors dissect reasoning behavior across a four-quadrant matrix defined by two axes: Entropy (vertical) and Mutual Information (horizontal).
- Upper-Right Quadrant (Diverse Reasoning): High entropy and high mutual information. The reasoning is varied and strictly input-grounded. This is the desired operating state.
- Lower-Right Quadrant (Compressed Reasoning): Low entropy and high mutual information. The agent reasons concisely, but the output remains properly conditioned on the prompt.
- Bottom-Left Quadrant (Low Entropy Collapse): Low entropy and low mutual information. This represents the classic, easily detected failure mode where the agent outputs identical or nearly identical text strings regardless of the input.
- Upper-Left Quadrant (Template Collapse): High entropy and low mutual information. This is the hidden danger identified by the authors. The token-level entropy appears healthy, fooling standard monitors, but the underlying reasoning structure is invariant to the prompt.
To understand why template collapse occurs, the authors analyze the gradient dynamics of multi-turn agentic RL. The total gradient update is a composition of a task signal and noise:
$$\Delta\pi \propto \text{Task Signal (Reward Variance)} + \text{Noise (Environment + Regularizers)}$$
The task signal originates directly from the reward variance across multiple reasoning chains sampled for a given prompt. If different rollouts for the same prompt yield different rewards, the advantage estimation generates a strong directional gradient, driving up mutual information. Conversely, when reward variance collapses, the gradient is entirely dictated by environmental stochasticity, token sampling noise, and regularization terms (such as KL divergence penalties against a base model). When regularization dominates, the policy drifts toward an unconditioned, safe input template—mirroring B.F. Skinner's observation of pigeons developing superstitious "spinning rituals" when food rewards are delivered independently of their actual behavior.
Experimental Setup & Results
▶ Watch: Results Across Environments and Noise Robustness (8:00)
The empirical evaluation spans multiple interactive environments and domains designed to test multi-step reasoning and tool use:
- Environments: Sokoban (spatial planning gridworld), SearchQA (information retrieval and question answering), WebShop (interactive e-commerce navigation), and DeepCoder (synthesizing code from specifications).
- Controlled Noise Experiments: The authors utilize Frozen Lake as a controlled testbed to explicitly inject and modulate environment noise from 0% to 50% to measure algorithm robustness.
- Intervention Mechanisms: The proposed SNR-aware top-$P$ filtering strategy is evaluated against standard training baselines, including entropy regularization, KL regularization, and unfiltered reinforcement learning.
Headline Results:
- Metric Retention: During standard RL training without filtering, mutual information drops precipitously as the model collapses into templates. Top-$P$ filtering successfully maintains high mutual information and stabilizes entropy within a healthy operating band.
- Task Success: In complex domains like WebShop and DeepCoder, top-$P$ filtering preserves stronger end-task success rates throughout the training trajectory.
- Noise Tolerance: In the Frozen Lake noise-sweep experiments, top-$P$ filtering consistently outperforms unfiltered baselines, successfully isolating informative prompts even when half of the environment feedback is corrupted by noise.
Practical Implications
▶ Watch: Conclusion and Three Key Takeaways (9:45)
For infrastructure teams, model builders, and deployers working with autonomous LLM agents, these findings demand an immediate shift in monitoring practices. Relying solely on token entropy or aggregate reward curves during RL fine-tuning is insufficient; models can appear healthy while internally suffering from severe template collapse.
- Monitor Mutual Information: Practitioners should implement batch-wise scoring metrics that evaluate how well generated reasoning traces cross-correlate with input prompts. A divergence between high entropy and low mutual information is an early warning sign of collapse.
- Adopt Adaptive Filtering: Incorporating reward-variance-based filtering (top-$P$ prompt retention) offers a lightweight, algorithm-agnostic modification to existing RL pipelines. By dropping prompts with near-zero reward variance, teams can prevent regularization terms from hijacking policy updates.
- Tradeoffs & Limitations: Calculating mutual information across batch rollouts introduces additional computational overhead during training. Furthermore, aggressively filtering prompts based on reward variance requires careful tuning of the $P$ threshold to ensure the model does not starve of training data during later stages when overall variance naturally diminishes.
Key Takeaways
- Hidden Failures: Standard entropy monitoring fails to detect template collapse, whereas mutual information successfully exposes whether an agent's reasoning is genuinely input-dependent.
- Skinner's Pigeons in Silicon: Template collapse is fundamentally driven by low signal-to-noise ratios, occurring when uninformative rewards allow regularizers and noise to force models into rigid behavioral templates.
- Simple, General Fix: SNR-aware top-$P$ filtering—retaining prompts based on per-prompt reward variance—adaptively filters out uninformative update steps throughout training.
- Broad Applicability: The proposed diagnostic and remediation framework generalizes across diverse agentic environments, including code generation, web shopping, search QA, and grid planning.
- Robustness to Noise: SNR-aware filtering maintains superior learning stability even in highly stochastic environments with up to 50% noise injection.
About the Speaker(s)
- Zihan (Zenus) Wang: Speaker presenting on RAGEN-2 and reasoning collapse in agentic RL.
Co-authors: Chi Gui, Xing Jin, Qineng Wang, Licheng Liu, Kangrui Wang, Shiqi Chen, Linjie Li, Zhengyuan Yang, Pingyue Zhang, Yiping Lu, Jiajun Wu, Li Fei-Fei, Lijuan Wang, Yejin Choi, Manling Li.
Reviews
→ Top-rated talks at International Conference on Machine Learning 2026
All talks from International Conference on Machine Learning 2026