Dynamic Self-Consistency: Leveraging Reasoning Paths for Efficient LLM Sampling

Guangya Wan, Yuqi Wu, Jie Chen, Sheng Li · DOI

Introduction

Self-Consistency (SC) has emerged as a powerful technique for enhancing the reasoning capabilities of Large Language Models (LLMs). By sampling multiple "Chain-of-Thought" (CoT) paths and performing a majority vote on the final answers, SC significantly improves performance on complex tasks. However, standard SC is inherently inefficient; it treats all reasoning paths as equally valid and often requires a large, fixed number of samples (e.g., 40) to reach peak accuracy. This "brute force" approach leads to high computational costs and latency.

To address these inefficiencies, we present Reasoning-Aware Self-Consistency (RASC). RASC shifts the focus from simple answer frequency to the quality of the underlying reasoning process, enabling dynamic early stopping and more reliable answer selection.

The RASC Framework

RASC introduces a multi-stage pipeline that evaluates generated samples in real-time. Unlike standard SC, which waits for all samples to be generated before voting, RASC assesses each reasoning path as it is produced.

Overview of the RASC framework compared to standard Self-Consistency.

The framework consists of three core components:

  1. Feature Extraction and Scoring: For every sample, RASC extracts lightweight features. These include answer-level features (consistency with previous outputs) and reasoning-level features (path length, number of steps, and logical coherence). A critical feature identified is "Error-Admitting"—instances where the model explicitly acknowledges a mistake during its reasoning, which serves as a strong negative signal for correctness.
  2. Dynamic Early Stopping: These features are processed by a lightweight classifier to generate a "sufficiency score." RASC maintains a buffer of high-quality samples and terminates the sampling process once a sufficient threshold of quality is met, rather than exhausting a fixed budget.
  3. Weighted Majority Voting: Instead of a simple count, final answers are determined by a weighted vote based on the sufficiency scores. This ensures that logically sound reasoning paths have a greater influence on the final output than potentially hallucinated ones.

Experimental Results and Efficiency

RASC was evaluated across 10 diverse datasets covering mathematical, commonsense, and symbolic reasoning. The results demonstrate that RASC achieves a significant reduction in computational overhead without sacrificing accuracy.

Trade-off between average correctness and the number of generated samples across different thresholds (T) and buffer sizes (N).

Key findings include:

  • Efficiency Gains: RASC reduces sample usage by approximately 70% on average compared to standard SC. In practical terms, tests with GPT-4 showed a reduction in inference time from nearly 400 seconds to just 47 seconds per question.
  • Robustness: The method maintains high accuracy (e.g., 91% on benchmark tasks) while using a fraction of the resources. As shown in the performance plots, RASC allows for a tunable trade-off between speed and correctness by adjusting the quality threshold (T).
  • Improved Rationale Faithfulness: Beyond efficiency, RASC improves the quality of model explanations. By selecting the rationale associated with the highest sufficiency score, the framework provides explanations that human evaluators rated significantly higher for clarity and faithfulness (4.7/5 vs. 4.0/5 for standard SC).

Conclusion

Reasoning-Aware Self-Consistency represents a significant step toward more efficient and transparent LLM deployment. By treating the reasoning path as a valuable signal rather than a byproduct, RASC enables models to "know when they know," drastically reducing the cost of high-performance reasoning. Future work will focus on automating feature discovery to further generalize the framework across specialized domains.

Summary updated

BibTeX
@inproceedings{wan2025dynamic,
  author = {Guangya Wan and Yuqi Wu and Jie Chen and Sheng Li},
  title = {{Dynamic Self-Consistency: Leveraging Reasoning Paths for Efficient LLM Sampling}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.naacl-long.184},
}
Figure