SelfConsistency
Sample multiple reasoning chains, select by majority
Mechanism
A variance-reduction technique where the same query is processed N times independently (with temperature > 0), producing N candidate answers. The final answer is selected by majority Aggregate (Mode). Exploits the intuition that correct reasoning paths are more likely to converge on the same answer than incorrect ones. It aggregates multiple reasoning paths via Aggregate to determine the most robust answer.
Invariants
- Aggregation: Final answer determined by plurality or weighted aggregation
- Independence: Each sample must be generated without knowledge of others
- N >= 3: Minimum samples for meaningful convergence
Failure modes
- Consistent Wrongness: All N samples converge on the same incorrect answer (systematic bias).
- Cost Explosion: N samples means N times the compute cost.
Where this came from
—
Builds on
- Aggregate references
Related
Identity
- Ref:
SelfConsistency#effe - Hash: sema:SelfConsistency#mh:SHA-256:effe7cf327304e57e69ed1961c0ea6152b7ce4fe9d57fa5bc4a94c21ee3d6cd0
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository