Self-Consistency

Category: Generative AI / LLM

A decoding strategy that samples multiple reasoning paths from a language model and selects the most common final answer through majority voting.

Full Explanation

Self-consistency improves the reliability of chain-of-thought reasoning by generating multiple independent reasoning paths and aggregating their conclusions. Instead of relying on a single greedy-decoded reasoning chain, the method samples diverse reasoning paths using temperature-based sampling, then selects the most frequent final answer through majority voting. This approach is based on the intuition that correct reasoning paths are more likely to converge on the right answer, while errors in different paths are less likely to produce the same wrong answer. Self-consistency consistently improves performance on arithmetic, commonsense, and symbolic reasoning tasks beyond single-path CoT. The main trade-off is increased computational cost due to multiple inference passes. The technique requires no additional training or fine-tuning and can be applied to any model with chain-of-thought capabilities.

Related Terms

More in Generative AI / LLM

Explore More