When is self-refine (LLM critiques its own draft and revises) a better choice than self-consistency (vote across N parallel samples)?
Self-refine fits evaluable artifacts (code, prose, summaries) the model can critique and rewrite; self-consistency fits discrete answers (numbers, labels) where voting across paths concentrates signal.
Think about how you improve different kinds of work. If you wrote an essay, you read it, find the rough patches, and rewrite them. That is self-refine. If you are solving a hard puzzle and you are not sure of the answer, you might solve it five times in slightly different ways and trust the answer that comes up most often. That is self-consistency. Self-refine works when there is something concrete to look at and fix. Self-consistency works when there is one right answer hiding somewhere and you want to vote on it. Math homework is closer to the puzzle. A code review is closer to the essay. Picking the wrong technique is like editing your puzzle answer or voting on essay sentences.
Detailed answer & concept explanation~5 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: artifact-shape selection rule, where each technique fails, and how the two layer in hybrid production routes.
Real products, models, and research that use this idea.
- Code-generation routes in 2025 production agents pipe linter or test output back into a self-refine critique pass before committing the final code.
- Math tutoring routes use self-consistency at N=5 to N=10 to catch arithmetic slips that single-pass CoT misses.
- Multi-step planning agents combine self-consistency over the plan-selection step with self-refine over the execution-step output, applying each technique at its native granularity.
What an interviewer would ask next. Try answering before peeking at the approach.
QWhy does self-refine often fail to catch arithmetic errors in a critique pass?
QHow would you combine both techniques in a single production pipeline?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Treating self-refine and self-consistency as interchangeable accuracy boosters instead of matching them to artifact-shape (evaluable vs discrete answer).
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.