TL;DR
Standard reinforcement learning (RL) methods like PPO and GRPO struggle with complex LLM reasoning tasks because sparse outcome rewards cause models to exploit familiar, repetitive chains-of-thought rather than explore new solutions. The authors propose i-MENTOR, a lightweight, curiosity-driven intrinsic exploration framework that rewards novel, unsuccessful reasoning trajectories at the sequence level. By integrating exploration rewards directly after advantage estimation, i-MENTOR achieves substantial reasoning gains—including a 22.2% relative improvement on AIME 2024—with virtually no training overhead and zero inference cost.
What Problem Does This Paper Address?
Reinforcement Learning with Verifiable Rewards (RLVR)—popularized by frameworks like DeepSeek-R1—has significantly boosted LLM reasoning. However, mainstream algorithms like Proximal Policy Optimization (PPO) and Group Relative Policy Optimization (GRPO) face two critical hurdles:
- Reward Sparsity: On difficult problems, the model frequently fails, receiving all-zero outcome rewards. With no gradient signal to distinguish promising intermediate reasoning steps from complete dead-ends, learning stalls.
- Exploitation Bias: In GRPO, trajectories that reach the same final answer receive identical advantage scores regardless of reasoning quality or novelty. Models quickly fall into degenerate, repetitive loops (e.g., trying the same arithmetic pattern repeatedly) instead of exploring diverse strategies.
Traditional RL curiosity techniques like Random Network Distillation (RND) encourage exploration by rewarding unfamiliar states. However, applying them directly to LLMs causes severe computational bottlenecks, biases models toward unnaturally long responses (since longer sequences accumulate more token-level bonuses), and destabilizes GRPO’s advantage normalization.
Methods
To overcome these obstacles, the authors introduce i-MENTOR (Intrinsic Motivation guidEd exploratioN meThOd foR LLM Reasoning), which features three complementary mechanisms:
- Trajectory-Aware Exploration Rewards: Instead of computing token-by-token curiosity bonuses (which causes length bias and $O(|o|)$ complexity), i-MENTOR computes a single intrinsic reward over the complete question-and-response sequence $(q, o)$ using a lightweight target/predictor network pair (3-layer MLPs). This drops computational complexity to $O(1)$ per sequence.
- Error-Conditioned Reward Allocation: Uniform exploration bonuses can destabilize already-correct reasoning paths. i-MENTOR selectively grants exploration bonuses only to incorrect trajectories ($I_{a \neq o}$). This focuses exploration where the model is struggling while keeping correct solutions stable.
- Advantage-Preserving Integration: In GRPO, mixing intrinsic exploration rewards directly into outcome rewards before group normalization can invert advantages (turning positive rewards negative and inadvertently penalizing good solutions). i-MENTOR injects the normalized intrinsic reward directly into the calculated advantage: $$\hat{A}_{\text{new}} = \hat{A}_{\text{old}} + R^*(q, o)$$ This guarantees that exploration signals guide policy updates without distorting baseline policy-gradient statistics.
Datasets
The authors evaluated i-MENTOR on four public benchmarks:
- GSM8K: 8.5K grade-school math word problems.
- Countdown-34 & Countdown-4: Mathematical puzzle tasks requiring arithmetic combinations of 3–4 numbers (Countdown-4 being strictly harder due to fixed four-number combinations).
- AIME 2024: A high-difficulty American Invitational Mathematics Examination benchmark evaluated under multi-generation sampling (Pass@$k$ and Avg@$k$).
Key Insights and Ideas
- Exploration Matters Most on Hard Problems: i-MENTOR’s gains scaled directly with task difficulty: Countdown-4 (+22.39%) > Countdown-34 (+6.27%) > GSM8K (+2.09%). Because pre-trained LLMs already possess strong foundational knowledge, exploration is not needed for easy tasks; its primary value is breaking through the "all-zero reward" barrier on hard tasks.
- Longer, More Diverse Chains-of-Thought: Inspection of reasoning trajectories showed that vanilla GRPO tends to repeat simple, failed arithmetic steps. In contrast, i-MENTOR encouraged models to try alternate operators (e.g., multiplication), naturally increasing average CoT length and solution diversity.
- Synergy with Rollouts: i-MENTOR produced larger improvements under GRPO than PPO. GRPO samples multiple rollouts per prompt, allowing i-MENTOR to assign contrasting curiosity bonuses across candidate solutions and actively diversify the search pool.
Key Results
- Reasoning Accuracy (Qwen2.5-3B):
- Countdown-4: GRPO accuracy jumped from 38.72% to 47.39% (+22.39% relative).
- Countdown-34: Accuracy increased from 67.11% to 71.32% (+6.27% relative).
- GSM8K: Improved from 80.82% to 82.51% (+2.09% relative).
- AIME 2024: Pass@1 increased from 0.3000 to 0.3667 (+22.23%), and Pass@32 rose from 0.3333 to 0.4000 (+20.01%).
- Generalization & Compatibility:
- Applying i-MENTOR to DeepSeek-7B on GSM8K raised accuracy from 65.35% to 66.41%.
- In out-of-distribution evaluation (trained on Countdown-4, tested on Countdown-34), i-MENTOR outperformed GRPO by 15.08%.
- Integrating i-MENTOR with DAPO improved accuracy on Countdown-4 from 46.91% to 49.24%.
- Computational Cost: Because predictor/target networks are small linear projections, training overhead was minimal (e.g., 13.03h vs. 11.69h on Countdown-4 with GRPO), with zero overhead at test time.
Limitations and Future Work
- Single Evaluation Metric for Exploration: Currently, sequence novelty relies strictly on continuous Euclidean prediction errors from lightweight RND networks.
- Future Work: The authors propose incorporating richer, multi-faceted reward functions that evaluate qualitative differences across reasoning paths, enabling multi-angle exploration over complex hypothesis spaces.
Summary updated