How does self-consistency improve over single-pass Chain-of-Thought and what's the most important prerequisite for it to work?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Sample N reasoning paths at temperature > 0, take the majority vote on the final answer; without temperature there is no diversity and voting collapses.
Imagine you have a friend who is mostly right but sometimes makes silly mistakes. If you ask them the same hard question once, you might catch them on a bad guess. If you ask them five times in slightly different ways and they say the same answer four out of five times, you trust the four. Self-consistency does that with a language model. It asks the model to solve the same problem several times, lets the reasoning wander a little each run, and takes the answer that shows up most often. The trick that makes the runs differ is temperature. At temperature zero the model always says exactly the same thing, so all your runs collapse into one and the voting does nothing.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: vote over samples mechanism, temperature prerequisite, the N curve, task-fit boundary, and how reasoning models absorb the pattern.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Running self-consistency at temperature zero for reproducibility; the deterministic sampling kills diversity and the N samples collapse to one with zero voting signal.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.