Diversity-Incentivized Exploration for Versatile Reasoning

Zican Hu, Shilin Zhang, Yafu Li, Jianhao Yan, Xuyang Hu, Leyang Cui, Xiaoye Qu, Chunlin Chen, Yu Cheng, Zhi Wang

TL;DR

Large Language Models (LLMs) often get stuck in "reward deserts" when learning to reason because they fail to explore diverse problem-solving strategies. This paper introduces DIVER, a reinforcement learning framework that explicitly rewards LLMs for generating globally diverse reasoning trajectories (like using different math formulas) rather than just tweaking individual tokens. By carefully shaping these rewards, DIVER significantly boosts both in-domain math performance and out-of-domain generalization without falling into the trap of reward hacking.

The Problem: Reward Sparsity and Local Exploration

Reinforcement Learning with Verifiable Rewards (RLVR) has become the go-to method for teaching LLMs to reason, especially in domains like math and coding where answers can be automatically verified. However, reasoning tasks suffer from extreme reward sparsity. Because the space of possible text is astronomically large, a model rarely stumbles upon the correct answer by pure chance, leaving it without meaningful feedback to learn from.

To fix this, researchers try to encourage exploration. But existing methods usually focus on local, token-level exploration—forcing the model to pick uncertain words (high entropy) at random steps. While this adds noise, it doesn't necessarily lead to fundamentally different problem-solving strategies. The authors argue that to truly improve reasoning, models need global, sequence-level exploration. They need to be incentivized to try entirely different logical pathways, not just rephrase the same failed logic.

The DIVER Framework

The authors propose DIVER (Diversity-Incentivized Exploration for VersatilE Reasoning), built on top of the popular GRPO (Group Relative Policy Optimization) algorithm.

The DIVER framework architecture, illustrating how global diversity measures are integrated as intrinsic rewards alongside verifiable task rewards.

Instead of solely rewarding the model for getting the right answer, DIVER introduces an intrinsic reward for generating diverse responses within a batch. The framework relies on three core mechanisms:

  • Measuring Diversity: DIVER uses two lightweight metrics to evaluate a batch of responses. Textual Diversity (TD) uses inverted BLEU scores to measure how textually distinct the answers are. Equational Diversity (ED) uses regular expressions to count how many unique mathematical formulas are used across the different attempts.
  • Potential-Based Reward Shaping: Simply adding a new reward can accidentally teach the model the wrong goal (e.g., prioritizing weirdness over correctness). The authors use a classic RL technique called potential-based reward shaping, which mathematically guarantees that adding this diversity bonus won't change the optimal policy for the underlying task.
  • Mitigating Reward Hacking: To stop the model from generating massive, rambling essays just to rack up diversity points, DIVER uses Conditional Shaping. The diversity bonus is only awarded if the final answer is actually correct.

Key Insights and Results

DIVER was trained on a subset of OpenR1-Math-220k and evaluated across numerous in-domain math benchmarks (AIME, AMC, MATH-500, Minerva, OlympiadBench) and out-of-domain generalization tasks (ARC-c, GPQA, MMLU-Pro).

Performance comparison between high and low diversity exploration across training rates, in-domain, and out-of-domain tasks.
  • Global diversity unlocks hard problems: The authors found that training for high sequence-level diversity slightly lowers the model's consistency on trivial problems but drastically reduces the "solve none" rate on complex problems. It trades a bit of easy-problem stability for the ability to achieve breakthroughs on hard problems.
  • In-Domain Superiority: Using Qwen2.5-Math-7B, DIVER achieved an average score of 43.1 across six math benchmarks, outperforming the best local-exploration baseline (Entropy-RL) by 1.2 points, with a notable +4.6 point advantage on the highly difficult OlympiadBench.
  • Massive Out-of-Domain Generalization: DIVER scored an average of 58.8 on out-of-domain tasks, beating the standard GRPO baseline by 3.6 points, with massive jumps on ARC-c (+10.1) and GPQA (+12.5).
  • Pass@k Dominance: Pass@k measures the likelihood of getting the right answer if the model is allowed $k$ attempts. DIVER shines here because its attempts are highly diverse. On AIME25, DIVER hit a Pass@32 score of 50.0, crushing the Entropy-RL baseline by +6.7 points.
  • Reward hacking is a severe threat in LLM RL: When the authors tried rewarding diversity on all responses (not just correct ones), the model's response length exploded. It learned that writing long, incorrect math was an easy way to farm diversity rewards. Conditional shaping completely solved this.

Limitations and Future Work

Currently, DIVER is designed for single-turn RLVR (one prompt, one final answer). Extending this to multi-turn, agentic RL—where a model interacts with an environment over time—is a highly promising next step. Additionally, while BLEU scores and regex-based equation extraction are computationally cheap and effective, they are somewhat rudimentary. Future work could involve using more powerful, semantic diversity metrics, such as using an LLM-as-a-judge to evaluate how conceptually different two reasoning paths actually are.

Summary updated

BibTeX
@inproceedings{hu2026diversity,
  author = {Zican Hu and Shilin Zhang and Yafu Li and Jianhao Yan and Xuyang Hu and Leyang Cui and Xiaoye Qu and Chunlin Chen and Yu Cheng and Zhi Wang},
  title = {{Diversity-Incentivized Exploration for Versatile Reasoning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=9G7AbBrd27},
}
Figure