TLDR: A new research paper introduces Group Relative Segment Penalization (GRSP), a method to prevent Large Reasoning Models (LRMs) from ‘overthinking’ and generating excessively long, costly reasoning paths. Unlike previous token-level penalties that often hurt accuracy, GRSP supervises reasoning at the segment (step) level, using a length-aware weighting mechanism that penalizes shorter segments more. This approach significantly improves token efficiency and stabilizes training without compromising accuracy, especially for complex tasks, and scales effectively across different model sizes.
Large Reasoning Models (LRMs) have become incredibly powerful in solving complex problems, especially when enhanced by Reinforcement Learning from Verifier Reward (RLVR). These models often generate a detailed thought process, or ‘reasoning trajectory,’ before providing a final answer. While this exploration and self-reflection can lead to accurate solutions, it frequently results in a phenomenon called ‘overthinking.’ This means the models produce excessively long and sometimes meandering reasoning sequences, which significantly increases computational costs.
Previous attempts to address this issue typically involved penalizing models based on the total number of tokens generated. While this did reduce the length of responses, it often came at the cost of accuracy. The problem, researchers found, was in the granularity of this supervision. Penalizing individual tokens is too simplistic; it’s hard for a model to know which specific tokens are redundant without harming the overall coherence of its thought process.
Introducing Group Relative Segment Penalization (GRSP)
A new research paper, “Mitigating Overthinking through Reasoning Shaping,” proposes a novel approach called Group Relative Segment Penalization (GRSP). This method shifts the focus from individual tokens to ‘reasoning segments’ or steps. The authors argue that humans find it much easier to identify a redundant step in a thought process than an individual word, as each step usually represents a coherent piece of thought. This insight forms the foundation of GRSP.
GRSP works by regularizing reasoning at this segment level. Observations showed a strong positive correlation between the number of reasoning segments and total token consumption. By controlling the number of segments, the method indirectly reduces token usage.
How GRSP Shapes Reasoning
A key innovation in GRSP is its length-aware weighting mechanism. After segmenting the reasoning process, these segments are grouped into clusters based on their length. The model then applies penalties to the segment counts within each cluster. Interestingly, GRSP assigns *decreasing* weights for longer segments, meaning shorter segments are penalized more heavily. This might seem counter-intuitive for reducing overall length, but experiments showed it encourages deeper, more thorough reasoning within each segment, ultimately leading to fewer total steps and a more efficient, accurate solution.
This ‘Reasoning Shaping’ helps stabilize the RL training process. Traditional length penalties can destabilize training, causing accuracy to drop as the model tries too hard to shorten responses. GRSP, with its nuanced segment-level penalty, allows for a more stable balance between conciseness and performance.
Also Read:
- Balancing Efficiency and Accuracy in Large AI Models with PAC Reasoning
- The Locality Dial: Bridging Interpretability and Performance in LLMs
Experimental Successes
Extensive experiments demonstrated GRSP’s effectiveness. It achieved superior token efficiency without significantly compromising accuracy, especially when tackling more challenging problems that typically induce longer reasoning. The method also proved scalable, showing benefits across different model sizes, with larger models being able to leverage reasoning compression even more effectively.
The researchers also explored different ways to identify these reasoning segments. While a keyword-based matching method was used by default for its efficiency, another strategy based on token log-probabilities (identifying local minima in confidence scores as segment boundaries) also performed strongly, sometimes even surpassing the keyword-based approach.
This work highlights the critical role of supervision granularity in optimizing Large Reasoning Models. By moving beyond token-level penalties to a more semantically meaningful segment-level approach, GRSP offers a promising path to developing more efficient and stable LRMs without sacrificing their powerful problem-solving capabilities. You can read the full research paper here: Mitigating Overthinking through Reasoning Shaping.


