ADHint: Adaptive Hints with Difficulty Priors for Reinforcement Learning

Feng Zhang, Zezhong Tan, Xinhong Ma, Ziqiang Dong, Xi Leng, Jianfei Zhao, Xin Sun, Yang Yang, Guanjun JiangarXiv 2025

TL;DR

ADHint is a novel reinforcement learning framework that successfully injects off-policy "hints" (expert reasoning prefixes) into on-policy training without causing training collapse or over-imitation. By dynamically scheduling hint ratios and modulating advantages based on sample difficulty, ADHint achieves stable training and significantly boosts the reasoning and out-of-distribution generalization capabilities of large language models.

What Problem Does This Paper Address?

Reinforcement Learning with Verifiable Rewards (RLVR)—popularized by models like DeepSeek-R1—has drastically improved the reasoning capabilities of Large Language Models (LLMs) and Multimodal LLMs (MLLMs). However, standard on-policy RLVR faces two major bottlenecks:

  1. Limited Capability Expansion: The model is fundamentally bounded by its initial parameters; it refines existing behaviors rather than learning entirely new reasoning paths.
  2. Low Sample Efficiency: On hard problems, the model rarely stumbles upon the correct answer, leading to critically sparse reward signals.

To fix this, recent methods introduce "hints"—expert-generated prefixes of reasoning trajectories—to guide the model. Unfortunately, existing hint-based methods often suffer from severe training instability. If you give the model the same proportion of hints regardless of a question's difficulty, it either memorizes superficial patterns or over-imitates the hints entirely, losing its ability to reason without a hint.

Figure 1: Baseline behavior with existing hint-based designs. “ADHint w/ annealing hint ratio” replaces our sample difficulty prior-based hint-ratio schedule (AH-SDP) with a commonly used time-varying sched- ule. “ADHint w/ standard advantages” replaces our rollout difficulty posterior-based advantage estimation (AE-RDP) with the standard estimation that pools hint- rollouts and naive-rollouts into a single GRPO group. In each subfigure, the Baseline curve matches the variant in the title, and “Baseline: Hint/Naive” reports statistics from hint- or naive-rollouts only.

Methods

The authors propose ADHint (Adaptive Hints with Difficulty Priors), which explicitly integrates difficulty into both the hint scheduling and the reward/advantage calculation to balance exploration and imitation.

                  ┌────────────────────────┐
                  │     Input Query        │
                  └───────────┬────────────┘
                              ▼
                ┌──────────────────────────┐
                │ 1. Naive Rollouts (n)    │
                └─────────────┬────────────┘
                              ▼
                ┌──────────────────────────┐
                │ Calculate Difficulty     │ ──► Low Reward = High Difficulty
                └─────────────┬────────────┘
                              ▼
                ┌──────────────────────────┐
                │ 2. Set Hint Ratio (w)    │ ──► More difficult = Longer hint prefix
                └─────────────┬────────────┘
                              ▼
                ┌──────────────────────────┐
                │ 3. Hint-Guided Rollouts  │
                └─────────────┬────────────┘
                              ▼
         ┌────────────────────┴────────────────────┐
         ▼                                         ▼
┌──────────────────────────┐              ┌──────────────────────────┐
│ Consistency-Based        │              │ Rollout Difficulty       │
│ Gradient Modulation      │              │ Posterior Advantage      │
└──────────────────────────┘              └──────────────────────────┘

ADHint consists of four core components:

  1. Adaptive Hint with Sample Difficulty Prior (AH-SDP): Instead of using a fixed or time-annealed hint ratio, ADHint first generates a few unguided ("naive") rollouts to gauge the sample's difficulty. Harder samples receive a higher hint ratio (longer expert prefixes), keeping the generation task within a moderate, stable difficulty zone.
  2. Consistency-based Gradient Modulation (CGM): To prevent the model from drifting away from its natural language style toward the off-policy hint distribution, CGM down-weights the gradients of hint tokens whose token-level entropy deviates significantly from the model's self-generated continuation.
  3. Selective Masking for Hint Preservation: If a hint-guided rollout still ends up with a negative advantage (an incorrect answer), ADHint masks the updates on the hint prefix to avoid corrupting valid expert knowledge with destructive gradient updates.
  4. Advantage Estimation with Rollout Difficulty Posterior (AE-RDP): Standard Group Relative Policy Optimization (GRPO) pools all rollouts together. Because hint rollouts are easier and longer, they naturally dominate the advantage weights. AE-RDP scales the advantages by accounting for the distinct difficulty posteriors of naive vs. hint-guided groups, ensuring unguided successes receive a stronger positive boost.

Datasets

The framework was trained and evaluated across several diverse datasets and benchmarks:

  • ViRL-Hint17k: A newly curated dataset of 17,000 multimodal reasoning queries spanning STEM, charts, documents, and spatial tasks, with hints generated by advanced Qwen3-VL models.
  • PMC-VQA: A 15,000 subset used to test cross-domain generalization in medical visual question answering.
  • NuminaMath-S: An 18.3K sample dataset used for text-only LLM math reasoning.
  • Evaluation Benchmarks: MathVista, MathVerse, We-Math, MMMU, MMMU-Pro, LogicVista, AIME24, AMC, MATH500, and Minerva.

Key Insights and Ideas

  • Difficulty is a Crucial Balancing Signal: Treating all training samples equally when providing hints destroys the delicate balance between exploration (on-policy) and imitation (off-policy).
  • The Danger of Advantage Pooling: When hint-guided rollouts and unguided rollouts are thrown into the same advantage estimation pool, the model optimizes heavily for "text-completion" (finishing the hint) rather than actual problem-solving, causing unguided performance to collapse.
  • A 20% Hint Ratio is the Sweet Spot: Through empirical analysis, the authors found that providing roughly a 20% prefix ($w_{max} = 0.2$) yields the best performance. Higher ratios over-constrain the model, while lower ratios fail to provide enough guidance.

Key Results

ADHint demonstrates robust performance gains across multiple model families (Qwen2.5-VL, Qwen3-VL, MiMo-VL, Qwen2.5-Math) and scales (3B to 32B).

Figure 2: Performance Comparison and Generalization. (a) Radar chart on Qwen2.5-VL-7B-Instruct. Each axis represents a dataset-metric pair (p@1: pass@1, a@8: avg@8), where ADHint consistently achieves the best or highly competitive performance. (b) Absolute gains over the best baselines. ADHint demonstrates robust improvements across diverse modalities, model scales, model families, and domains.
  • Multimodal Performance: On Qwen2.5-VL-7B, ADHint improved the overall average score by 2.1% (pass@1) and 2.0% (avg@8) over vanilla GRPO, significantly outperforming other hint-based methods like StepHint and HintGRPO, which suffered from training instabilities.
  • Cross-Domain Generalization: On the highly out-of-distribution Medical VQA task, ADHint achieved a 55.1% pass@1, outperforming GRPO (53.4%) and completely lapping HintGRPO, which crashed down to 20.9%.
  • Computational Efficiency: Despite running two inference passes per query (one naive, one hint-guided), ADHint only adds minimal overhead, averaging 52.8 seconds per step compared to GRPO's 41.3 seconds, while being significantly faster than complex multi-stage baselines like StepHint.

Limitations and Future Work

  • Verifiable Rewards Dependency: ADHint relies on rule-based, verifiable outcomes (e.g., math answers, multiple-choice tokens) to compute rewards. Extending this framework to open-ended tasks without clear ground-truth answers remains an open challenge.
  • Scale Evaluation: While the authors successfully validated ADHint on a 32B model in the appendix, the bulk of the evaluation focuses on models up to the 8B parameter scale. Further study is required to understand its scaling behavior on ultra-large models (e.g., 70B+).

Summary updated

BibTeX
@misc{zhang2025adhint,
  author = {Feng Zhang and Zezhong Tan and Xinhong Ma and Ziqiang Dong and Xi Leng and Jianfei Zhao and Xin Sun and Yang Yang and Guanjun Jiang},
  title = {{ADHint: Adaptive Hints with Difficulty Priors for Reinforcement Learning}},
  year = {2025},
  eprint = {2512.13095},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.13095},
}
Figure