When Reasoning Meets Its Laws

Junyu Zhang, Yifan Sun, Tianang Leng, Jingyan Shen, Liu Ziyin, Paul Pu Liang, Huan Zhang · DOI

Abstract

Large Reasoning Models (LRMs) often struggle with inefficient compute allocation, leading to overthinking simple tasks or underthinking complex ones. This paper introduces the Laws of Reasoning (LoRe), a theoretical framework defining how model compute and accuracy should scale with problem complexity. By enforcing these laws—specifically monotonicity and compositionality—through a novel fine-tuning method called SFT-Compo, the authors demonstrate that models can achieve more logical compute allocation and significantly improved performance across diverse mathematical and scientific benchmarks.

Introduction: The Compute Allocation Problem

With the rise of Chain-of-Thought (CoT) models like OpenAI o1 and DeepSeek-R1, the "thinking-then-answering" paradigm has become the standard for complex problem-solving. However, these models often exhibit inefficient compute allocation. A model might generate excessive reasoning for a trivial addition but insufficient tokens for a complex calculus problem. This inconsistency stems from training data that lacks formal constraints on reasoning length relative to task difficulty.

As illustrated in Figure 1, when independent questions are combined, current models fail to maintain the expected additive compute and multiplicative accuracy. This "underthinking" or "overthinking" directly harms their overall accuracy and efficiency.

The Laws of Reasoning (LoRe)

To address these inefficiencies, the authors propose two fundamental laws that formalize the relationship between a model's "thinking" budget and the difficulty of the task:

  1. Compute Law: The amount of reasoning compute (number of tokens generated) should scale linearly with the complexity of the question.
  2. Accuracy Law: The probability of obtaining the correct answer should decay exponentially as complexity increases.

Since absolute complexity is difficult to measure, the paper operationalizes these laws through two testable properties: Monotonicity (harder questions require more compute and yield lower accuracy) and Compositionality (for independent questions, the total compute should be the sum of individual computes, and total accuracy should be the product of individual accuracies).

Methods: Measuring and Enforcing the Laws

The authors introduce LoRe-Bench, a two-part benchmark:

  • LoRe-Mono: Tests monotonicity using variants of seed questions with strictly increasing complexity (e.g., iterative matrix operations).
  • LoRe-Compo: Tests compositionality using triplets of independent questions to observe how models handle combined tasks.

Evaluation revealed that while models generally follow monotonicity, they frequently violate compositionality. To rectify this, the authors developed SFT-Compo. This supervised fine-tuning approach uses "law-abiding" data where the reasoning paths for combined independent questions (A+B) are specifically selected to match the sum of the individual paths for A and B. By training on this data, models internalize the principle of compositional reasoning.

Key Results and Insights

The study reveals several critical findings:

  • Compositionality is the Weak Link: Most LRMs naturally follow monotonicity but struggle significantly with compositional reasoning.
  • Law-Abiding Models are Smarter: Training models to be compositional in their compute allocation (via SFT-Compo) yields substantial gains in general reasoning. For the DeepSeek-R1-8B model, SFT-Compo yielded a +5.0% average gain across benchmarks like MATH500, AIME, and OlympiadBench, outperforming standard SFT baselines.
  • Synergistic Improvements: Improving compute compositionality implicitly enhances accuracy compositionality and compute monotonicity, suggesting these laws are deeply interconnected.

Conclusion

By formalizing the relationship between compute, complexity, and accuracy, the Laws of Reasoning provide a roadmap for building more efficient and capable LRMs. While limitations exist regarding benchmark size and the definition of independence, this work proves that optimal compute allocation is deeply tied to fundamental reasoning capability. Future work will focus on expanding the diversity of benchmarks and exploring dynamic inference-time strategies to ensure models always "think" just enough to solve the problem at hand.

Summary updated

BibTeX
@inproceedings{zhang2026when,
  author = {Junyu Zhang and Yifan Sun and Tianang Leng and Jingyan Shen and Liu Ziyin and Paul Pu Liang and Huan Zhang},
  title = {{When Reasoning Meets Its Laws}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=6ha7HGdygP},
}
Figure