The prompt that generates multiple independent reasoning paths and aggregates to the most consistent answer, reducing errors from stochastic generation.
Solve the following problem. Show your reasoning step by step, then state your final answer clearly.
Important: Approach this problem independently. Do not look at any previous attempts.
Problem: {{PROBLEM}}
Reasoning:
Final Answer:Samples N independent reasoning chains for the same problem, then aggregates them using majority vote (or a second aggregation call) to arrive at the most reliable answer. Reduces the impact of any single incorrect reasoning path.
You are given {{N}} independent solutions to the same problem. Your job is to identify the most consistent answer.
{{SOLUTION_1}}
---
{{SOLUTION_2}}
---
{{SOLUTION_3}}
Instructions:
1. List the final answer from each solution.
2. Identify which answer appears most frequently.
3. If there is a tie, pick the answer supported by the most rigorous reasoning.
Final Answer: [The most consistent answer]
Confidence: [HIGH if majority agree, MEDIUM if split, LOW if all differ]
"Do not look at any previous attempts" — Prevents the model from anchoring to its own prior output when run in a multi-turn context. Forces true independence between paths.
Temperature > 0 for Phase 1 — Diversity in reasoning paths is the mechanism. Running at temperature 0 produces near-identical paths and defeats the purpose.
Explicit aggregation in Phase 2 — Naive string matching on "Final Answer:" is fragile. A second LLM call handles paraphrased answers (e.g., "42" vs "forty-two") better than regex.
Confidence field — Surfaces when the model is genuinely uncertain (all paths differ), enabling your application to escalate to a human reviewer.
| Variant | When to use |
|---|---|
| N=3 (fast) | Balanced cost/accuracy tradeoff for most tasks |
| N=5 (high confidence) | Critical decisions — medical, legal, financial |
| Single-prompt simulation | Budget-constrained — ask the model to "generate 3 different approaches, then pick the best" in one call |