TL;DR
Reinforcement Learning with Verifiable Reward (RLVR) significantly boosts an LLM's single-attempt accuracy but frequently degrades its multi-attempt diversity (Pass@k) and causes catastrophic forgetting. This paper reveals that the culprit is the standard mode-seeking reverse-KL divergence, and solves it by introducing Diversity-Preserving Hybrid RL (DPH-RL). By leveraging mass-covering f-divergences (like forward-KL and JS-divergence) as a rehearsal mechanism, DPH-RL successfully maintains broad solution coverage and prevents policy collapse without requiring an online reference model.
What Problem Does This Paper Address?
When fine-tuning Large Language Models (LLMs) using Reinforcement Learning with Verifiable Reward (RLVR)—such as checking math answers or executing generated code—a frustrating paradox emerges. While the model becomes highly proficient at generating a correct answer on its very first try ($\text{Pass@1}$), its performance when allowed multiple attempts ($\text{Pass@k}$) often stagnates or drops below the baseline model.
This phenomenon, known as diversity collapse or catastrophic forgetting, occurs because the model overfits to a narrow subset of familiar solution paths, losing its broader reasoning capabilities and failing to generalize out-of-domain. The authors identify a major blind spot in current RLVR methods: the near-universal reliance on reverse-KL divergence to constrain policy updates. Reverse-KL is inherently mode-seeking, meaning it actively forces the model's output distribution to converge onto a single high-probability peak, erasing alternative valid solution styles.
Methods
The authors introduce Diversity-Preserving Hybrid RL (DPH-RL), reframing the divergence term from a restrictive constraint into an active diversity-preserving tool.
The framework operates in two main phases:
- Pre-Sampling & Dataset Partitioning: Before online training begins, the training dataset $D$ is split based on the base model's initial capabilities. Queries that the model already answers correctly across multiple attempts are routed to a "near-perfect" dataset ($D_{pef}$), while failed or inconsistent queries go to an "exploration" dataset ($D_{exp}$).
- Dual-Objective Online Training:
- For challenging tasks ($D_{exp}$), the KL penalty is completely removed, giving the model maximum freedom to aggressively explore new solution paths using a standard PPO-clip objective.
- For mastered tasks ($D_{pef}$), the model minimizes a mass-covering $f$-divergence loss—either Forward-KL (DPH-F) or Jensen-Shannon divergence (DPH-JS). This acts as a "rehearsal mechanism" that anchors the model to its initial diverse knowledge base.
To maximize training efficiency, the authors implement a Generator-Based approach. Instead of running a computationally expensive online reference model during RL training, they pre-sample responses from the initial policy, allowing the divergence terms to be computed efficiently over a static dataset.
Datasets
The framework was evaluated across complex reasoning tasks using the following benchmarks:
- SQL Generation: BIRD (used for in-domain training and testing) and Spider (used for cross-domain evaluation).
- Mathematical Reasoning: Seven distinct datasets including AIME24, AIME25, AMC23, Math500, OlympiadBench, Minerva, and College Math.
- Models Tested: Llama-3.1-8B-Instruct, Qwen2.5-Math-7B, and OmniSQL-32B.
Key Insights and Ideas
- Mass-Covering vs. Mode-Seeking: Unlike reverse-KL, forward-KL and JS-divergences are mass-covering. They heavily penalize the model if it assigns a near-zero probability to any valid solution path present in the reference policy, naturally forcing the model to maintain multiple solution styles.
- Divergence as an Anchor Dataset: DPH-RL effectively turns the divergence term into a continuous review session. By forcing the model to rehearse its original diverse solutions on mastered tasks, it mirrors human learning patterns and stops sequential neural network forgetting in its tracks.
- Symmetric Regularization: DPH-JS introduces a symmetric regularized rehearsal via dual-sided sampling. It anchors the model to the valid reference distribution while simultaneously regulating self-generated exploration, preventing the policy from drifting into unstable regions.
Key Results
- Mitigating Diversity Collapse: On the BIRD SQL dataset, DPH-JS achieved a $\text{Pass@8}$ score $4.3\%$ higher than standard GRPO and $3.3\%$ higher than DAPO, while simultaneously improving greedy accuracy.
- Robust Out-of-Domain Generalization: When evaluated on cross-domain SQL tasks (Spider), standard methods suffered severe performance drops. DPH-F maintained strong generalization, outperforming DAPO's $\text{Pass@16}$ score by $9.0\%$.
- Massive Sampling Scaling: As the number of evaluation samples ($k$) scales up to 256, standard GRPO and DAPO baselines quickly saturate and plateau. DPH-RL variants scale significantly better, maintaining a clear performance advantage.
Limitations and Future Work
- Base Model Dependency: DPH-RL's dataset partitioning relies entirely on the initial capabilities of the base model. If the base model is exceptionally weak and cannot generate any correct solutions for highly complex datasets, the exploration subset ($D_{exp}$) will dominate, reducing the effectiveness of the mass-covering rehearsal mechanism.
- Future Directions: The authors aim to explore methods that can mitigate estimation biases and learn effectively even when the initial reference data is highly imperfect.
Summary updated