Abstract
Self-consistency (SC) is a robust decoding strategy that enhances the reasoning capabilities of Large Language Models (LLMs) by sampling multiple reasoning paths and selecting the most frequent answer. However, the computational cost of generating dozens of paths is significant. This paper presents Confidence-Informed Self-Consistency (CISC), a method that utilizes model self-assessment to weight reasoning paths, thereby improving voting efficiency. Our results demonstrate that CISC can match the accuracy of standard self-consistency while reducing compute requirements by over 40%. We also introduce Within-Question Discrimination (WQD) as a superior metric for evaluating the effectiveness of confidence extraction methods in voting-based decoding.
1. Introduction
Large Language Models (LLMs) have shown remarkable progress in complex reasoning tasks through Chain-of-Thought (CoT) prompting. To further improve performance, self-consistency (SC) has become a standard technique. SC involves sampling a set of diverse reasoning paths for a single query and performing a majority vote on the final answers. While effective, SC is a brute-force approach; achieving high accuracy often requires 30 to 40 samples per question, leading to high latency and significant inference costs.
This research addresses the inefficiency of standard SC by hypothesizing that not all reasoning paths are equally valid. If an LLM can accurately identify high-quality reasoning paths, we can prioritize those votes. We propose Confidence-Informed Self-Consistency (CISC), a lightweight framework that weights the majority vote based on the model's internal confidence in its own generated reasoning.
2. Methodology: Confidence-Informed Self-Consistency (CISC)
CISC is designed as a drop-in replacement for standard self-consistency, requiring minimal changes to existing pipelines. The process consists of four primary stages:
- Generation: The model samples multiple reasoning paths and candidate answers for a given prompt.
- Confidence Extraction: After generating a path, a short prompt (e.g., "Now I will rate my confidence...") is appended to the response. The model then scores its own reasoning. By utilizing prefix caching, this step adds negligible compute overhead.
- Normalization: Raw confidence scores are normalized using a softmax function. A tuned temperature parameter is applied to ensure the weights are appropriately distributed across the candidate pool.
- Aggregation: Instead of a simple majority vote, the final answer is selected via a confidence-weighted vote.
Confidence Extraction Methods
The authors explored several methods for extracting confidence, most notably Verbalized Scores (asking the model for a 0-100 integer) and P(True). The P(True) method involves prompting the model for a binary (0/1) assessment of its answer and reading the raw logit probability of the '1' (True) token.
3. Within-Question Discrimination (WQD)
A key contribution of this work is the identification of Within-Question Discrimination (WQD) as the primary driver of CISC performance. Traditional calibration metrics, such as Expected Calibration Error (ECE), measure how well a model's confidence aligns with accuracy across a broad dataset. However, for self-consistency, global calibration is less important than the model's ability to distinguish between its own correct and incorrect attempts for the same question.
The authors found that methods which appeared well-calibrated globally (like verbalized scores) often failed to provide high WQD. Conversely, the P(True) method exhibited high WQD, allowing the model to effectively identify which of its 10 or 20 attempts at a specific problem was the most likely to be correct.
4. Experimental Evaluation
CISC was evaluated across nine models from the Gemma2, Qwen2.5, and Mistral families. The benchmarks included:
- GSM8K: Grade-school mathematics.
- MATH: Advanced mathematical reasoning.
- MMLU-Pro: A robust, reasoning-focused multitask benchmark.
- Big-Bench-Hard (BBH): Challenging tasks requiring multi-step logic.
5. Results and Discussion
5.1 Efficiency and Accuracy
CISC consistently outperformed standard self-consistency across all tested models and datasets. The most significant finding was the reduction in compute: using the P(True) method, CISC reduced the number of samples required to reach a target accuracy by an average of 41% to 46%.
In a notable case study using Gemma2-9B on the MATH dataset, CISC achieved higher accuracy with only 8 samples than standard self-consistency achieved with 30 samples. This represents a nearly 4x improvement in efficiency for high-difficulty reasoning tasks.
5.2 The Superiority of P(True)
Experimental data confirmed that P(True) is the most effective confidence extraction method. It yielded the highest WQD scores and the best downstream performance. The authors also noted that applying a temperature-scaled softmax is critical; without it, the variance in confidence scales across different models can lead to sub-optimal weighting.
5.3 Qualitative Insights
Qualitative analysis of low-confidence paths revealed that the models are capable of genuine self-critique. Paths flagged with low confidence by the LLM frequently contained logical hallucinations, skipped intermediate steps, or calculation errors that were apparent to human evaluators.
6. Conclusion and Future Work
Confidence-Informed Self-Consistency (CISC) provides a highly efficient alternative to standard self-consistency, significantly lowering the barrier to deploying high-accuracy reasoning models. While the method currently relies on access to token logits (for P(True)) and benefits from KV/prefix caching, its performance gains are substantial.
Future research may explore integrating CISC into more complex reasoning structures, such as Tree of Thoughts (ToT) or Graph of Thoughts (GoT). In these scenarios, intrinsic self-assessment could be used to prune incorrect reasoning branches in real-time, further optimizing the balance between computational cost and model intelligence.
Summary updated