TLDR: The DLER research paper introduces a new reinforcement learning (RL) training recipe called ‘Doing Length pEnalty Right’ (DLER) that significantly improves the efficiency of reasoning language models. It argues that accuracy degradation in previous RL methods with length penalties stems from inadequate RL optimization, not the penalty design itself. DLER addresses key challenges like biased advantage estimation, entropy collapse, and sparse reward signals through batch-wise reward normalization, higher clipping thresholds, and dynamic sampling. This approach achieves state-of-the-art accuracy-efficiency trade-offs, cutting output length by over 70% while boosting accuracy and enabling superior test-time parallel scaling. The paper also presents Difficulty-Aware DLER for adaptive truncation and an update-selective merging method for scenarios with scarce training data.
Large language models (LLMs) have become incredibly powerful, especially in tasks requiring complex reasoning. Models like OpenAI-o1, DeepSeek-R1, and Qwen can generate impressive chains of thought to solve problems. However, this often comes at a cost: their outputs can be unnecessarily long, leading to higher computational expenses and slower response times. The challenge has been to maximize the ‘intelligence per token’ – essentially, getting more accurate answers with shorter responses.
A new research paper, DLER: Doing Length pEnalty Right – Incentivizing More Intelligence per Token via Reinforcement Learning, introduces a novel approach to tackle this problem. Instead of focusing on creating more sophisticated ways to penalize long outputs, the researchers revisited a very simple method: truncation, where responses exceeding a certain length are simply cut off. Their key insight is that the accuracy issues seen with simple truncation in the past weren’t due to the penalty itself, but rather to inadequate optimization techniques within the reinforcement learning (RL) process.
Unpacking the Challenges and DLER’s Solutions
The NVIDIA research team identified three main hurdles in existing RL optimization for reasoning models:
1. Large Bias in Advantage Estimation: In RL, ‘advantage estimation’ helps the model understand which actions lead to better rewards. When responses are abruptly truncated, the reward signals can become noisy and biased, making it hard for the model to learn effectively. DLER addresses this by using batch-wise reward normalization, which stabilizes the advantage estimation across an entire batch of training examples.
2. Entropy Collapse: This occurs when the model’s output becomes too predictable and narrow, limiting its ability to explore diverse reasoning paths. The researchers found that important, high-entropy ‘transitional’ tokens (like “Wait,” “Hmm,” “Alternatively”) were often being clipped during training, preventing them from contributing to learning. DLER mitigates this by using higher clipping thresholds, allowing these exploratory tokens to influence policy updates and fostering more diverse reasoning.
3. Sparse Reward Signal: Early in training, many responses might be too long and receive zero reward, leading to a sparse learning signal. Conversely, later in training, the model might overfit to easy questions, generating overly short responses and failing to utilize the full token budget. DLER introduces dynamic sampling, which filters out prompts that are either too easy (all positive rewards) or too hard (all zero rewards). This ensures a more balanced training signal, encouraging the model to better utilize its allocated length budget and gradually tackle harder problems.
The DLER Recipe and Its Impact
By combining these elements – batch-wise reward normalization, higher clipping thresholds, dynamic sampling, and simple truncation – the DLER training recipe achieves remarkable results. It significantly improves the accuracy-to-token efficiency, cutting output length by over 70% while actually surpassing the accuracy of previous baseline models. This demonstrates that the choice of RL optimization algorithm is far more critical than the complexity of the length penalty design.
Beyond single-response efficiency, DLER also enables superior test-time scaling. The models can generate multiple concise responses in parallel with higher accuracy and lower latency. For instance, DLER-R1-7B showed a 27% accuracy gain on AIME-24 within the same “thinking time” compared to the original DeepSeek-R1-7B.
Advanced DLER Variants
The paper also introduces two extensions:
Difficulty-Aware DLER (DA-DLER): This variant adaptively adjusts the truncation length based on the estimated difficulty of a question. Easier questions are encouraged to have even shorter reasoning paths, while more challenging ones are given more tokens. This further pushes the efficiency frontier, achieving additional reductions in response length.
Update-Selective Merging: For scenarios where high-quality RL training data is scarce, applying DLER can sometimes lead to minor accuracy degradation on proprietary models. To counter this, the researchers propose a weight merging strategy that combines the original baseline model with the DLER-trained model. This method recovers lost accuracy while still significantly reducing output tokens, offering a practical solution for practitioners without access to extensive proprietary datasets.
Also Read:
- Optimizing AI Reasoning for Shorter, Smarter Responses
- Enhancing Language Model Reasoning with Calibrated Sampling
Conclusion
The DLER research fundamentally shifts the perspective on improving reasoning efficiency in LLMs. It highlights that robust RL optimization techniques, even with simple length penalties like truncation, are the key to achieving state-of-the-art accuracy and efficiency. This not only makes individual responses more cost-effective but also unlocks superior test-time parallel scaling, making advanced reasoning models more practical and accessible for real-world applications.


