Self-Consistency Prompting
Ask a model a tricky arithmetic question twice and you can get two different answers. Self-consistency prompting treats that instability as information rather than noise: if one answer keeps coming back across many independent attempts, it is probably the right one.
Sample many, then voteInstead of decoding a single chain of thought greedily, you send the same chain-of-thought prompt several times with sampling switched on — a temperature above zero — so each run reasons along a different path. You then throw the reasoning away and take a majority vote over the final answers. Ten samples that land on 18 eight times give you a far better answer than one greedy pass.
Where it works, and where it does not- Strong where the answer is short and checkable — grade-school maths in GSM8K, multiple-choice questions, a number or a label to extract.
- Useless where the output is an essay or a function: there is nothing to tally, so the votes cannot be compared.
- Expensive, because the accuracy is bought by running the model k times — twenty samples cost roughly twenty times the tokens and the latency.
This was an early demonstration that reliability can be bought at inference time with compute alone, no retraining and no extra labels. It doubles as a diagnostic: a question where ten samples scatter across ten answers is one the model does not actually know, which is worth noticing before the answer reaches a user. Practical setups keep the sample count small, five to ten, and reserve it for the queries that carry weight.
Self-consistency prompting samples several independent chain-of-thought answers to the same question at a non-zero temperature, then returns the answer that appears most often. Different reasoning paths make different mistakes, and the mistakes rarely agree, so a majority vote cancels error that a single greedy decode would keep. It lifts accuracy on arithmetic and multiple-choice reasoning with no retraining, at a cost that scales linearly with the number of samples.
Ask one clever friend a hard puzzle and you get one answer. Ask ten people and go with whatever most of them say, and you will usually do better — different people slip up in different places, and their mistakes rarely agree.
Self-consistency prompting plays that trick with a single AI system. You put the same question to it several times over, let it work through the problem from scratch each time, and keep the answer that comes up most often. Whatever working it showed along the way gets thrown away; only the final tally counts. It costs more, of course, because you are paying for several attempts instead of one.