StepHint: Multi-level Stepwise Hints Enhance Reinforcement Learning to Reason
Kaiyi Zhang, Ang Lv, Jinpeng Li, Yongbo Wang, Feng Wang, Haoyuan Hu, Rui Yan
TL;DR
StepHint introduces multi-level stepwise hints for RLVR to address near-miss rewards and exploration stagnation in LLM reasoning. It uses adaptive end-of-thinking-based partitioning to create meaningful reasoning steps from stronger-model chains, then provides multiple hint levels to guide learning while preserving exploration. The approach couples with GRPO (and with PPO variants) and includes a GRPO-specific adjustment to handle hint prefixes, achieving superior results on six math benchmarks and robust out-of-domain generalization. Empirical results show higher accuracy, improved pass@k performance, and richer training dynamics, indicating enhanced reasoning capabilities and generalization. The work suggests a scalable path to leverage external reasoning chains without sacrificing independent exploration in RLVR.
Abstract
Reinforcement learning with verifiable rewards (RLVR) is a promising approach for improving the complex reasoning abilities of large language models (LLMs). However, current RLVR methods face two significant challenges: the near-miss reward problem, where a small mistake can invalidate an otherwise correct reasoning process, greatly hindering training efficiency; and exploration stagnation, where models tend to focus on solutions within their ``comfort zone,'' lacking the motivation to explore potentially more effective alternatives. To address these challenges, we propose StepHint, a novel RLVR algorithm that utilizes multi-level stepwise hints to help models explore the solution space more effectively. StepHint generates valid reasoning chains from stronger models and partitions these chains into reasoning steps using our proposed adaptive partitioning method. The initial few steps are used as hints, and simultaneously, multiple-level hints (each comprising a different number of steps) are provided to the model. This approach directs the model's exploration toward a promising solution subspace while preserving its flexibility for independent exploration. By providing hints, StepHint mitigates the near-miss reward problem, thereby improving training efficiency. Additionally, the external reasoning pathways help the model develop better reasoning abilities, enabling it to move beyond its ``comfort zone'' and mitigate exploration stagnation. StepHint outperforms competitive RLVR enhancement methods across six mathematical benchmarks, while also demonstrating superior generalization and excelling over baselines on out-of-domain benchmarks.
