Learning to Hint for Reinforcement Learning
Organizations: University of California, San Diego · Snowflake AI Research
Abstract
Group Relative Policy Optimization (GRPO) is widely used for reinforcement learning with verifiable rewards, but it often suffers from advantage collapse: when all rollouts in a group receive the same reward, the group yields zero relative advantage and thus no learning signal. For example, if a question is too hard for the reasoner, all sampled rollouts can be incorrect and receive zero reward. Recent work addresses this issue by adding hints or auxiliary scaffolds to such hard questions so that the reasoner produces mixed outcomes and recovers a non-zero update. However, existing hints are usually fixed rather than adapted to the current reasoner, and a hint that creates learning signal under the hinted input does not necessarily improve the no-hint policy used at test time. To this end, we propose Hint Learning for Reinforcement Learning (HiLL), a framework that jointly trains a hinter policy and a reasoner policy during RL. For each hard question, the hinter generates hints online conditioned on the current reasoner's incorrect rollout, allowing hint generation to adapt to the reasoner's evolving errors. We further introduce hint reliance, which measures how strongly correct hinted trajectories depend on the hint. We derive a transferability result showing that lower hint reliance implies stronger transfer from hinted success to no-hint success, and we use this result to define a transfer-weighted reward for training the hinter. Therefore, HiLL favors hints that not only recover informative GRPO groups, but also produce signals that are more likely to improve the original no-hint policy. Experiments across multiple benchmarks show that HiLL consistently outperforms GRPO and prior hint-based baselines, demonstrating the value of adaptive and transfer-aware hint learning for RL. The code is available at https://github.com/Andree-9/HiLL.
Figures & tables
| Method | In-distribution | Out-of-distribution | |||||||
| AIME24 / 25 | AMC23 | MATH-500 | Minerva | Olympiad | Avg. | GPQA | MMLU-Pro | Avg. | |
| Llama-3.2-3B-Instruct | |||||||||
| Base | 6.5 / 0.6 | 22.8 | 44.7 | 17.8 | 14.2 | 17.8 | 17.9 | 27.0 | 22.5 |
| GRPO | 6.7 / 0.8 | 29.5 | 52.1 | 20.5 | 21.8 | 21.9 | 26.3 | 39.8 | 33.1 |
| LUFFY | 4.4 / 0.4 | 18.6 | 38.9 | 14.3 | 11.9 | 14.7 | 16.0 | 26.7 | 21.4 |
| Scaf-GRPO | 7.7 / 2.3 | 28.8 | 51.7 | 19.4 | 19.5 | 21.5 | 24.1 | 38.0 | 31.0 |
| Question (excerpt) | Hint from HiLL | Hint from HiLL |
|---|---|---|
| A line segment of length 1 moves on the -axis. Point is connected to by a line, and point is connected to by a line. Find the equation of the trajectory of the intersection point . | Consider expressing the intersection in terms of a parameter , then eliminate it to reveal the hidden trajectory. (18 words, hinted pass rate 0.13) | Let and for a real parameter . Write the equation of line , where , and the equation of line , where , both in terms of . Find the coordinates of their intersection point as a function of .… (108 words, hinted pass rate 0.38) |
| In trapezoid , , , , the non-parallel sides are 10 and 14, and , are both acute. Find the length of the shorter diagonal. | The shorter diagonal emerges from a triangle where 14, 12, and 10 form a critical configuration, with the angle between them yielding a result just above 25. (27 words, hinted pass rate 0.13) | Draw a line from point to side , intersecting at point . This creates triangle with , , and . Use the Law of Cosines in triangle to find . Then apply the same angle in … (97 words, hinted pass rate 0.50) |
Reinforcement Learning
Reinforcement learning studies how agents learn sequential decisions from rewards and interaction, balancing exploration, performance, safety, and adaptation.
See all 1,717 papers