Skip to content
ML Academy

LLMs, GenAI, RAG, agents, evaluation · insight-0511

Use majority voting over sampled answers for verifiable reasoning tasks, and price it

Evidence type
empirical finding
Difficulty
medium
Roles
Applied AI, ML engineer
Industries
aviation

Summary: situation, action, reason, boundary

  1. Situation

    An LLM computes refund amounts from multi-step fare rules and is wrong on a noticeable share of eval cases with a single chain-of-thought answer.

  2. Action

    Sample several reasoning paths at moderate temperature, extract each final answer, take the majority, and send low-agreement cases to a deterministic calculator or human review.

  3. Reason

    Self-consistency improved accuracy over greedy chain-of-thought on arithmetic and commonsense benchmarks, because different paths that reach the same answer are more often correct.

  4. Boundary

    Tasks with a short, comparable final answer such as a number, label or option.

Symptom or risk

Single-sample reasoning errors reach customers as wrong refund amounts.

Exceptions

Open-ended text has no clean majority; where a deterministic calculator exists, compute the answer instead.

Trade-offs

Cost and latency grow with the number of samples.

Pitfalls

Treating high agreement as proof; shared misconceptions produce consistent wrong answers.

Lessons and concepts

Claims and their sources