Bridging Internal Probability and Self-Consistency for Effective and Efficient LLM Reasoning

Zhi Zhou, Tan Yuhao, Zenan Li, Yuan Yao, Lan-Zhe Guo, Xiaoxing Ma, Yu-Feng LiarXiv 2025 · DOI

TL;DR

This paper introduces Reasoning-Pruning Perplexity Consistency (RPC), a novel method that bridges the gap between perplexity-based and self-consistency-based LLM reasoning. RPC significantly improves reasoning performance, sample efficiency, and confidence reliability by combining LLM's internal probabilities with a pruning strategy for low-probability reasoning paths, addressing limitations of existing methods.

What Problem Does This Paper Address?

Large Language Models (LLMs) show impressive reasoning capabilities, but single-shot inference often leads to unreliable results, especially for complex tasks. To improve this, researchers have explored methods that generate multiple reasoning paths. Two prominent approaches are:

  1. Perplexity-based methods: These use the LLM's internal probability (perplexity) to estimate the confidence of a reasoning path. While this offers fast convergence, it suffers from high "model error," meaning the confidence scores aren't always accurate enough to distinguish correct answers.
  2. Self-consistency methods: These generate multiple reasoning paths and rely on a consistency function to determine the answer's confidence. This approach generally yields lower model error but struggles with high "estimation error" due to slow convergence, requiring many samples and thus being computationally expensive.

The core problem is the trade-off between these two approaches: perplexity methods are fast but inaccurate in confidence, while self-consistency is more accurate but slow and costly. The authors aim to develop a method that achieves both fast estimation error reduction and low model error simultaneously.

Methods

The paper proposes a new method called Reasoning-Pruning Perplexity Consistency (RPC), which combines two key components:

  1. Perplexity Consistency (PC): This component integrates the LLM's internal probability (like perplexity methods) with the self-consistency framework. It leverages the exponential convergence rate of perplexity for estimation error reduction while aiming to maintain low model error by incorporating a consistency function.
  2. Reasoning Pruning (RP): This module addresses a limitation of PC where the estimation error convergence can degenerate to a linear rate when LLM probabilities are low. RP automatically identifies and filters out low-probability reasoning paths. This is achieved by modeling the probability distribution of reasoning paths using a mixture of Weibull distributions to distinguish high and low probability regions, and then removing paths falling into the low probability region.

RPC aims to achieve the best of both worlds: rapid estimation error reduction through PC and mitigation of model error and convergence degeneration through RP.

Datasets

The authors evaluated their proposed methods on several benchmark datasets:

  • Mathematical Reasoning:
    • MATH
    • MathOdyssey
    • OlympiadBench
    • AIME
  • Code Generation:
    • HumanEval
    • MBPP
    • APPS

Key Insights and Ideas

  • Fundamental Trade-off: There's an inherent trade-off in LLM reasoning between estimation error (how well confidence estimates converge with more samples) and model error (how accurate the confidence scores are intrinsically). Perplexity methods excel at estimation error but fail on model error, while self-consistency does the opposite.
  • The Power of Combining: By integrating LLM's internal probabilities (perplexity) with a consistency function, Perplexity Consistency (PC) can achieve faster estimation error reduction.
  • Low Probability Degeneration: PC's performance can degrade when LLM probabilities are very low. Reasoning Pruning (RP) is introduced to specifically address this by filtering out these low-probability paths, preventing the degeneration of estimation error reduction.
  • Theoretical Guarantees: The paper provides theoretical analysis and proofs showing that RPC can achieve exponential estimation error convergence and significantly reduce model error.
  • Efficiency Gains: RPC significantly reduces the number of samples required to achieve comparable performance to standard self-consistency methods, leading to substantial cost savings.

Key Results

  • Efficiency: RPC reduces the sampling budget by at least 50% on average across mathematical reasoning datasets while achieving comparable or better performance than self-consistency.
  • Efficacy: RPC outperforms existing methods (PPL, SC) by an average of 1.29% on accuracy across datasets.
  • Reliability: RPC provides more reliable confidence estimations, as evidenced by lower Expected Calibration Error (ECE) values and improved accuracy compared to PPL and SC.
  • Generalization: The effectiveness of RPC extends beyond mathematical reasoning to code generation tasks.
  • Model Scale Robustness: RPC demonstrates consistent outperformance across different LLM model scales and architectures.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that this is an initial step in improving confidence estimation for self-consistency.
  • The theoretical analysis and empirical results are primarily focused on mathematical and code generation tasks.
  • Future Work:
    • Enhance Perplexity Consistency by incorporating additional probability metrics from LLM outputs.
  • Extend Reasoning Pruning with more sophisticated strategies, such as analyzing the probability distribution of candidate answers.
  • The authors believe their approach and theoretical analysis can guide future research in this promising direction.

Summary updated

BibTeX
@misc{zhou2025bridging,
  author = {Zhi Zhou and Tan Yuhao and Zenan Li and Yuan Yao and Lan-Zhe Guo and Xiaoxing Ma and Yu-Feng Li},
  title = {{Bridging Internal Probability and Self-Consistency for Effective and Efficient LLM Reasoning}},
  year = {2025},
  eprint = {2502.00511},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.00511},
}
Figure