Home Tools Glossary Self-Consistency
Technique

Self-Consistency

Self-Consistency Decoding

/self kuhn-sis-tuhn-see/

An advanced decoding strategy that samples multiple diverse reasoning paths and selects the most consistent final answer.

In plain English
Instead of asking an AI a hard question once, self-consistency asks the AI to solve the problem five different ways in parallel. It then checks which answer appears most frequently, just like a committee voting on the best solution.
Real-world example
Solving complex multi-step physics equations by generating multiple reasoning chains and taking the majority consensus.
Technical definition
Self-consistency replaces traditional greedy decoding by sampling a diverse set of reasoning paths from an LLM using non-zero temperature settings. It aggregates the final answers across these sampled paths via marginalization or majority voting. This ensemble technique significantly boosts reasoning accuracy in arithmetic and symbolic tasks.