Preprint
Large Language Models

Training Language Models to Reason Efficiently

Daman Arora, Andrea Zanette
February 6, 2025Neural Information Processing Systems255 citations

255

Citations

27

Influential Citations

Neural Information Processing Systems

Venue

2025

Year

Abstract

Scaling model size and training data has led to great advances in the performance of Large Language Models (LLMs). However, the diminishing returns of this approach necessitate alternative methods to improve model capabilities, particularly in tasks requiring advanced reasoning. Large reasoning models, which leverage long chain-of-thoughts, bring unprecedented breakthroughs in problem-solving capabilities but at a substantial deployment cost associated to longer generations. Reducing inference costs is crucial for the economic feasibility, user experience, and environmental sustainability of these models. In this work, we propose to train large reasoning models to reason efficiently. More precisely, we use reinforcement learning (RL) to train reasoning models to dynamically allocate inference-time compute based on task complexity. Our method incentivizes models to minimize unnecessary computational overhead while maintaining accuracy, thereby achieving substantial efficiency gains. It enables the derivation of a family of reasoning models with varying efficiency levels, controlled via a single hyperparameter. Experiments on two open-weight large reasoning models demonstrate significant reductions in inference cost while preserving most of the accuracy.

Analysis

Why This Paper Matters

Large reasoning models that generate long chain-of-thoughts have achieved remarkable problem-solving capabilities but at a high inference cost. This cost hinders economic feasibility, user experience, and environmental sustainability. The paper tackles this critical issue by training models to reason efficiently, dynamically adjusting compute based on task complexity. This is a significant step toward making advanced reasoning models practical for widespread use.

Traditional scaling of model size and data yields diminishing returns, so alternative methods are needed. By focusing on inference-time compute allocation, this work opens a new axis for improving efficiency without sacrificing much accuracy. The ability to control efficiency via a single hyperparameter is particularly valuable, allowing deployment teams to tailor models to their specific latency and cost constraints.

Technical Contributions

  • Reinforcement Learning for Efficiency: The core innovation is using RL to train models to decide how much compute to use per reasoning step, rather than always generating long chains. The reward function balances accuracy and efficiency, encouraging the model to skip unnecessary steps.
  • Dynamic Compute Allocation: The model learns to allocate more compute to hard problems and less to easy ones, mimicking human-like adaptive reasoning.
  • Single-Hyperparameter Control: A single hyperparameter adjusts the trade-off between accuracy and efficiency, enabling a family of models from the same training run. This is practical for deployment scenarios with varying requirements.
  • Applicability to Open-Weight Models: The method is validated on two open-weight large reasoning models, showing it is not limited to proprietary systems.

Results

The paper reports significant reductions in inference cost on two open-weight large reasoning models while preserving most of the accuracy. Although exact numbers are not provided in the abstract, the claim of 'substantial efficiency gains' suggests a meaningful improvement. The ability to maintain accuracy while cutting compute is the key result, as it directly addresses the deployment bottleneck.

Significance

This work has broad implications for the AI field. By making reasoning models more efficient, it lowers the barrier to entry for organizations with limited computational resources. It also contributes to environmental sustainability by reducing energy consumption. The method's flexibility via a single hyperparameter could become a standard feature in future reasoning models. Moreover, it encourages further research into efficiency-aware training, potentially leading to models that are both powerful and economical.