Thinking-Based Non-Thinking: Solving the Reward Hacking Problem in Training Hybrid Reasoning Models via Reinforcement Learning
Siyuan Gan, Jiaheng Liu, Boyan Wang, Tianpei Yang, Runqing Miao, Yuyao Zhang, Fanyu Meng, Junlan Feng, Linjian Meng, Jing Huo, Yang Gao
TL;DR
This work addresses reward hacking in reinforcement-learning-based hybrid reasoning models that toggle between thinking (CoT) and non-thinking modes. The authors introduce Thinking-Based Non-Thinking (TNT), which derives a per-query non-thinking token cap from the thinking-mode solution component, avoiding the computational burden of SFT and improving detection of reward-hacking signals. TNT integrates this adaptive cap into a GRPO-based RL objective with a carefully designed reward function, achieving lower token usage while improving accuracy on five mathematical benchmarks, and showing strong generalization to larger base models and out-of-distribution tasks. The approach demonstrates that adaptive, solution-aware resource budgeting can significantly enhance efficiency and reliability in hybrid reasoning systems, offering a practical path forward for scalable reasoning with LRMs.
Abstract
Large reasoning models (LRMs) have attracted much attention due to their exceptional performance. However, their performance mainly stems from thinking, a long Chain of Thought (CoT), which significantly increase computational overhead. To address this overthinking problem, existing work focuses on using reinforcement learning (RL) to train hybrid reasoning models that automatically decide whether to engage in thinking or not based on the complexity of the query. Unfortunately, using RL will suffer the the reward hacking problem, e.g., the model engages in thinking but is judged as not doing so, resulting in incorrect rewards. To mitigate this problem, existing works either employ supervised fine-tuning (SFT), which incurs high computational costs, or enforce uniform token limits on non-thinking responses, which yields limited mitigation of the problem. In this paper, we propose Thinking-Based Non-Thinking (TNT). It does not employ SFT, and sets different maximum token usage for responses not using thinking across various queries by leveraging information from the solution component of the responses using thinking. Experiments on five mathematical benchmarks demonstrate that TNT reduces token usage by around 50% compared to DeepSeek-R1-Distill-Qwen-1.5B/7B and DeepScaleR-1.5B, while significantly improving accuracy. In fact, TNT achieves the optimal trade-off between accuracy and efficiency among all tested methods. Additionally, the probability of reward hacking problem in TNT's responses, which are classified as not using thinking, remains below 10% across all tested datasets.
