When to reach for it
- The stochastic diversity of models should be leveraged.
- The result must be robust against individual logic errors in single runs.
/pattern/self-consistency/
The system generates multiple independent reasoning outputs for the same prompt, and then merges the results via consensus or voting for a final answer.
When to reach for it
When it backfires
The tradeoff
Significantly more robust answers against false paths, paid for by multiple inference costs.
Several samples vote; the majority answer wins.
All reasoners share the same training bias and agree on an incorrect answer. Majority voting amplifies the error.
Fix · Use diverse prompts or models for each reasoner, or add a verifier that checks against an external source.
A 2-2 split leaves the majority node without a clear winner. The system hangs or picks arbitrarily.
Fix · Use an odd number of reasoners, or define a tie-break (e.g., highest-confidence vote, or escalate to human).
Next pattern
Search patterns, frameworks, and pages.