Self-Consistency
Self-consistency generates multiple reasoning paths and aggregates the final answer by voting or confidence comparison.
Advanced Reasoning enhancement
When to use
Use it when reasoning accuracy matters and you can afford multiple samples.
Prompt example
Task: Apply Self-Consistency to the user's request. Context: describe the input, constraints, target audience, and desired format. Instruction: be explicit, keep the output structured, and state any assumptions.
Output example
Structured answer based on the requested technique. Key result: the model follows the stated task and format. Notes: validate the output before using it in production.
Best practices
- Use three to five samples for many tasks.
- Increase temperature to diversify reasoning paths.
- Aggregate final answers, not verbose reasoning text.
- Record disagreement as a confidence signal.
Common pitfalls
- Cost multiplies with sample count.
- Ambiguous questions may not converge.
- If all paths share the same misconception, voting does not fix it.