On the Optimal Reasoning Length for RL-Trained Language Models
Abstract
Reinforcement learning substantially improves reasoning in large language models, but it also tends to lengthen chain-of-thought outputs and increase computational cost. Although length-control methods have been proposed, the length-accuracy relationship they induce remains unclear. We train policies with several length-control methods on multiple base models in a controlled setup and find that, across both mathematical reasoning and code generation, accuracy is non-monotonic in output length, peaking at an intermediate value. Mode accuracy, however, continues to improve with length even in settings where sample accuracy plateaus or declines, indicating that the non-monotonic length-accuracy relationship is driven by dispersion around an increasingly correct center.
Fields of Study & Subjects
Topic Modeling
Natural Language Processing Techniques
AI-based Problem Solving and Planning
Publication details
- Journal / source
- arXiv (Cornell University)
- Publication date
- 10 February 2026
- Language
- EN
- Document type
- Preprint