IT lexicon › AI & ML › Self-consistency

Self-consistency

AI & ML På svenska → Updated: 2026-11-13

A technique that runs the same question several times with random variation (sampling), gets several independent reasoning chains, and picks the answer most chains land on. "Vote by majority" over the model's own attempts — it raises accuracy on reasoning tasks.

Idea: a single chain-of-thought run can take a wrong path by chance. Self-consistency generates N different solution paths (with temperature > 0 for variation) and takes the majority vote among the final answers. The intuition: there are many ways to reason to a correct answer, but wrong paths tend to scatter in different directions → the correct answer becomes the most common. Win: noticeably better accuracy on math and logic compared with a single chain. Price: N times as expensive (several generations) — a classic compute-vs-accuracy trade-off, an early form of "inference-time scaling". It builds on chain-of-thought. Related to chain-of-thought and tree-of-thoughts.

← Back to the lexicon