Module 2 · Reasoning techniques
Self-critique and cross-verification
5 min read
Asking the model to reread and correct its own answer is an appealing idea: a human who proofreads often finds their mistakes. Another idea is to ask the same question several times and keep the majority answer. These two techniques — self-critique and self-consistency — are widely cited. This lesson measures them, and the result calls for caution: the most reliable verification is rarely the model checking itself.
Two techniques
| Technique | Principle | Cost |
|---|---|---|
| Self-critique | The model rereads its solution, looks for errors, corrects | One more call, with the solution as input |
| Self-consistency | k sampled reasonings (temperature > 0), majority vote on the answer | k calls instead of one |
Quill's self-critique:
VERIFY = """Voici un problème et une solution proposée.
<probleme>
{question}
</probleme>
<solution>
{solution}
</solution>
Vérifie chaque calcul de la solution, un par un. Si tu trouves une erreur, refais le calcul correctement.
Termine par la réponse finale sur la dernière ligne, sous la forme « Réponse : N »."""
(Here is a problem and a proposed solution; check each calculation one by one, redo it correctly if you find an error, and end with the final answer.) Self-consistency:
def self_consistency(problems: list[MathProblem], k: int = 5, temperature: float = 0.7) -> list[int | None]:
"""k raisonnements échantillonnés par problème, vote majoritaire sur la réponse finale."""
votes: list[list[int | None]] = [[] for _ in problems]
for round_ in range(k):
gens = ask(problems, COT, max_new_tokens=400, temperature=temperature, seed=round_)
for v, g in zip(votes, gens):
v.append(extract_answer(g.text))
The results
On the same 100 problems as lesson 2.1, starting from chain-of-thought (60%):
| Technique | Accuracy | Calls per problem |
|---|---|---|
| Chain-of-thought (reference) | 0.60 | 1 |
| + self-critique | 0.60 — 0 fixed, 0 broken | 2 |
| Self-consistency, 5 reasonings at temperature 0.7 | 0.69 | 5 |
| Structured reasoning (lesson 2.1), for comparison | 0.73 | 1 |
Self-critique changes nothing. Not a single answer fixed, not a single one degraded: the model "checks" and copies its conclusion. A model that did not see its error while writing does not see it any better when rereading the same reasoning — it shares all of its biases. Published work points the same way: without an external signal (a test, a tool, a source), self-correction by models improves reasoning little, and can even degrade it when the model "fixes" a right answer.
Self-consistency helps: +9 points. Sampled reasonings go wrong in different ways, whereas good reasonings converge on the same answer; the vote filters out part of the errors. But it costs five times more… and does worse than a simple structured reasoning (73%) that costs a single call. Improve the prompt first, multiply calls later.
What really verifies: an external signal
Effective verification relies on something the model does not control:
| Signal | Example |
|---|---|
| Code | Redo the calculation in Python from the extracted values (lesson 2.3) |
| Tests | Run the generated code against unit tests |
| A schema | Validate the output (lesson 4.1) and send the precise error back to the model |
| A source | Require a quote from the document, then check that the quote really exists |
| Another model | Have a more capable, or different, model judge (cross-verification) |
Cross-verification — a second model, or the same model with a different role and information — works better than self-critique because it breaks the symmetry: the verifier did not write the answer, did not follow the same path, and can receive targeted instructions ("check that every amount cited appears in the document"). With Claude, a common pattern is to generate with a fast model and have a more capable model verify the uncertain cases.
When self-critique still helps
It is not useless everywhere. It helps on explicit criteria that can be checked by reading: "does the answer exceed 100 words?", "does every claim cite a source?", "does the tone follow the charter?". The model is better at checking a clear rule than at finding a calculation error in its own reasoning. And it helps large models more than small ones: to be measured, as always, on your task.
Key takeaways
- Self-critique without an external signal fixed nothing here: 0 fixed, 0 broken.
- Self-consistency (5 votes) gains 9 points for five times the cost — less than a better single-call prompt.
- Effective verification relies on an external signal: code, tests, schema, source, another model.
- Cross-verification breaks the symmetry between author and verifier.
- Self-critique remains useful for explicit rules (length, citations, tone), to be measured.
Practice
- Run
examples/02_reasoning.pyand compare, for the wrong problems, the solution and its "verification": what does the model do? - Replace self-critique with verification by code: extract the operations as JSON and redo them in Python.
- Measure self-consistency with 3, 5 and 9 votes: where does the gain plateau?