Causal Sufficiency and Necessity Improves Chain-of-Thought Reasoning

Xiangning Yu, Zhuohan Wang, Linyi Yang, Haoxuan Li, Anjie Liu, Xiao Xue, Jun Wang, Mengyue Yang

TL;DR

This paper introduces a causal framework to optimize Chain-of-Thought (CoT) reasoning by identifying which steps are logically sufficient to reach an answer and which are strictly necessary. By pruning redundant "overthinking" and filling logical gaps using counterfactual interventions, the authors significantly reduce token usage (often by over 50%) while maintaining or even improving reasoning accuracy across mathematical and commonsense benchmarks.

The Problem with Current CoT

Chain-of-Thought (CoT) prompting has revolutionized how Large Language Models (LLMs) handle complex reasoning. However, CoT currently suffers from two main inefficiencies:

  1. Redundancy ("Overthinking"): Models often generate superfluous steps that do not actually contribute to the final answer. This wastes computation and introduces opportunities for error.
  2. Incompleteness: Models may skip critical logical leaps, leading to "hallucinated" or unsupported conclusions.

Existing methods to "prune" CoT usually rely on correlations—like attention weights or token likelihoods—which can be misleading. A step might have high attention weight but zero actual impact on the final result. This paper addresses the lack of causal rigor in determining which reasoning steps truly matter.

A Causal Optimization Framework

To tackle these inefficiencies, the authors propose a framework grounded in the Probability of Necessity and Sufficiency (PNS), a core concept from causal inference.

The Causal Optimization Framework

The optimization process works in two main stages:

  • Sufficiency (PS) Estimation: This ensures the entire reasoning chain is actually capable of producing the correct answer.
  • Necessity (PN) Estimation: For each individual step ($s_t$), the authors perform a counterfactual intervention. They replace $s_t$ with a corrupted or alternative version and use a "rollout model" to see if the final answer changes. If the model can still reach the correct answer without the original step, that step is deemed unnecessary and pruned.

The resulting "causally filtered" traces are then utilized in two primary ways:

  1. In-Context Learning (ICL): Using these lean, high-quality traces as few-shot examples in prompts for non-reasoning models.
  2. Supervised Fine-Tuning (SFT): Training models on these optimized sequences so they internalize efficient reasoning patterns natively.

Key Insights and Ideas

  • Causality > Correlation: The core insight is that we shouldn't trust a model's internal weights to tell us what is important. We must computationally intervene on the reasoning chain to see what actually breaks the logic.
  • The "Sufficient and Necessary" Ideal: The paper categorizes reasoning into three types. The goal is to move models away from "Sufficient but Unnecessary" (wasteful) and "Necessary but Insufficient" (broken) toward the "Sufficient and Necessary" ideal.
Illustration of reasoning types
  • One-Time Cost for Long-Term Gain: While the PNS estimation process is computationally expensive (requiring multiple "rollouts" per step), it is a one-time data curation cost. Once a model is fine-tuned on these traces, it generates efficient CoT naturally at inference time, saving massive amounts of compute in the long run.

Key Results

The authors evaluated their method on four diverse benchmarks: GSM-8k (grade-school math), MATH-500 (intermediate math), AIME (advanced competition math), and CommonsenseQA. The results demonstrate a rare "win-win" in AI: higher efficiency and higher accuracy.

  • Massive Token Reduction: On GSM-8k, using the optimized traces in ICL with DeepSeek-V3 reduced token usage by 67% while actually increasing accuracy from 97.6% to 99.9%.
  • Accuracy Boosts: For Llama-3.1-8B on MATH-500, accuracy jumped by 7.1 points (reaching 54.8%) when using the more concise reasoning traces.
  • Higher PNS Density: Post-optimization, the average PNS per step increased significantly across all datasets, confirming that the remaining steps in the pruned chains are much more integral to the final outcome.

Limitations and Future Work

  • Complexity Ceiling: The benefits of ICL with optimized traces diminish on extremely complex tasks like AIME, where models are often constrained by their fixed parameters and inherent capabilities rather than just prompt quality.
  • Threshold Sensitivity: The pruning process relies on a threshold ($\alpha$) to decide what is "necessary." Finding the optimal balance between conciseness and logical completeness across different domains remains a challenge.
  • Computational Overhead: The counterfactual rollout process is heavy. Future work may focus on more efficient ways to estimate PNS without exhaustive sampling.

Summary updated

BibTeX
@inproceedings{yu2025causal,
  author = {Xiangning Yu and Zhuohan Wang and Linyi Yang and Haoxuan Li and Anjie Liu and Xiao Xue and Jun Wang and Mengyue Yang},
  title = {{Causal Sufficiency and Necessity Improves Chain-of-Thought Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=6tOKqqiyWE},
}
Figure