Introduction
Large Language Models (LLMs) frequently encounter logical inconsistencies or "hallucinations" when performing complex reasoning tasks. To mitigate this, Self-Consistency (SC) has become a standard technique: the model generates multiple reasoning paths, and the final answer is determined by a majority vote. While effective, SC is computationally expensive, often requiring 40 to 100 paths per query. This paper addresses the inherent inefficiency of SC by introducing Dynamic Voting, a method that stops generation once a reliable consensus is reached.
Methodology: Dynamic Voting
Dynamic Voting is inspired by "early exiting" strategies in neural network architectures. Instead of generating a fixed number of paths, the system iteratively samples reasoning paths and evaluates whether a sufficient level of confidence has been achieved to terminate the process early.
The authors propose two primary strategies:
- Confidence-based Dynamic Voting (CDV): A fixed consistency threshold ($t_c$) is set. If the majority vote proportion exceeds this threshold in any given round, the process exits.
- Percentage-based Dynamic Voting (PDV): Optimized for batch processing, this method ranks questions by internal consistency and exits the top $t_p\%$ most confident instances in each round.
Experimental Evaluation
The framework was tested across five diverse reasoning benchmarks: arithmetic (GSM8K, SVAMP), commonsense (CSQA, StrategyQA), and symbolic reasoning (LetterConcat). Evaluations spanned few-shot and zero-shot settings using models including GPT-3.5-Turbo, GPT-4, and LLaMA-7B.
Key Results and Efficiency
The core finding is that early unanimity is a highly reliable indicator of correctness. For many "easy" problems, the model reaches a correct consensus almost immediately, rendering additional computation redundant.
Across all datasets, Dynamic Voting achieved accuracy comparable to standard SC while utilizing less than 45% of the total reasoning paths. Under strict compute constraints (25% of the SC budget), Dynamic Voting outperformed SC by an average of 1.6% in few-shot and 4.7% in zero-shot settings. For high-cost models like GPT-4, this translates to a cost reduction of approximately 40% for the same target accuracy.
Discussion and Limitations
While Dynamic Voting significantly improves efficiency, it is susceptible to "confident errors"—instances where the model consistently generates the same incorrect reasoning path due to fundamental knowledge gaps. Additionally, CDV requires tuning the consistency threshold, and PDV is primarily suited for batch rather than real-time single-query applications.
Conclusion
Dynamic Voting offers a practical path toward more sustainable LLM deployment. By intelligently "tilting" resources away from simple queries toward harder problems, it maintains high reasoning performance while slashing computational overhead. Future research will focus on more sophisticated stopping criteria and extending these techniques to broader natural language generation tasks.
Summary updated