Self-correction in language models
Self-correction is a language model’s attempt to find and fix errors in its own output. The model either critiques and revises a draft unaided, or revises in response to outside feedback such as test results, tool output or a verifier’s verdict. The main finding is that correction without outside feedback often fails on reasoning tasks and can lower accuracy, while reliable external feedback makes it work (Huang et al., 2023b; Kamoi et al., 2024; Gou et al., 2023). Researchers dispute whether unaided critique helps on writing and planning tasks. They also dispute whether a second pass gains by revising the draft or by solving the problem again, and whether correction loops beat simple voting at equal cost.
Correcting without outside feedback Strong evidence: many studies agree on this
On reasoning tasks, intrinsic self-correction, in which a model reviews its own answer with nothing but its own judgement to go on, tends to lower accuracy. In one study, GPT-4’s score on GSM8K, a set of grade-school maths problems, fell from 95.5 to 91.5 after one round of self-correction and to 89.0 after two. GPT-3.5’s score on a common-sense question set fell from 75.8 to 38.1 (Huang et al., 2023b). Another team found GPT-4 Turbo’s GSM8K accuracy fell by 1.5% after self-correction (Yang et al., 2024b). The CRITIC study likewise found that self-correction without external feedback gives modest improvements or even worse performance (Gou et al., 2023).
The failure lies more in finding errors than in fixing them. Models struggle to locate logical mistakes in reasoning steps, even in objective, unambiguous cases. Yet when told where the mistake is, they can correct it, which improved results on five tasks (Tyen et al., 2023). A small classifier trained on out-of-domain data found the mistakes better than prompting a large model (Tyen et al., 2023).
A critical survey of the field found no prior work showing successful self-correction with feedback from prompted models, except in tasks exceptionally suited to it (Kamoi et al., 2024). The same survey reports that large-scale fine-tuning, further training of the model, enables self-correction (Kamoi et al., 2024).
Tasks where critique alone helps Contested: studies disagree on this
Some studies report that a model’s own critique improves text where no test can check the answer. In Self-Refine, the same model generates, critiques and refines its output, with no external tools. Across seven tasks, humans and automatic metrics preferred the result, with about 20% average absolute improvement over a single generation (Madaan et al., 2023). Larger models can use their own critiques to refine summaries into better ones (Saunders et al., 2022). A summary-refinement loop built on ChatGPT, evaluated on three datasets, drew a human evaluation that found a risk of over-correction (Zhang et al., 2023f).
Structured self-checking also helps with factual text. In chain-of-verification, the model drafts an answer, plans verification questions, answers them independently of the draft, then writes a final response. This reduced hallucinations, statements not supported by facts, in list questions, closed-book question answering and long-form text (Dhuliawala et al., 2023).
Planning is disputed directly. One team found that self-critique by GPT-4 collapsed performance on reasoning and planning tasks (Stechly et al., 2024). Another found that intrinsic self-critique, with no external verifier, gave significant gains on Blocksworld planning problems, with similar gains on two other planning domains (Bohnet et al., 2025).
Self-refinement drift Weak evidence: few or small studies support this
Repeated self-refinement can raise the model’s own scores without raising quality as people judge it. In essay editing, the evaluating model’s ratings rose over rounds while quality as judged by human users stayed flat or fell (Pan et al., 2024b). Self-refinement also amplifies self-bias, a model’s tendency to favour its own output; larger models and external feedback with accurate assessment significantly reduce it (Xu et al., 2024a).
Correcting with external feedback Strong evidence: many studies agree on this
Self-correction works when the model receives a reliable signal from outside itself. The critical survey found that self-correction works well in tasks that can use reliable external feedback (Kamoi et al., 2024). In CRITIC, a model checks its output with tools such as a search engine or a code interpreter, then revises. This consistently improved results on question answering, program synthesis and toxicity reduction (Gou et al., 2023).
A sound verifier gives the same benefit on reasoning and planning tasks. On these tasks, checking with a sound external verifier, one that only accepts correct answers, gave significant gains. Merely re-prompting with its verdict kept most of the benefit of more involved critique setups (Stechly et al., 2024). Designs that hand the checking to a separate agent are covered in Verifier and fixer agents.
In code, running the program supplies that signal. Pass@1 is the share of problems solved by the first program submitted. On the CodeContests benchmark, a model’s self-critique raised it from 7.88% to 8.36%, while critique given unit-test results reached 11.76% (Xie et al., 2025). Self-debugging improved accuracy by up to 12% where unit tests existed, and by 2-3% where they did not (Chen et al., 2023d).
A strong checker can make self-correction work even for small models. Small models showed notable gains when a strong GPT-4-based verifier decided when to correct, but limited gains when their own weak verifier decided (Zhang et al., 2024i).
Grounding is only as good as its signal
A correction loop driven by tests inherits the tests’ flaws. Tests written by a language model can be invalid, and they mislead refinement loops that rely on test results, degrading the agent’s performance (Taherkhani et al., 2024).
Weak tests also let wrong code count as fixed. On SWE-bench Verified, a benchmark of real software issues, weak tests let 7.8% of patches count as correct although they fail the developers’ own test suite. This inflated tools’ resolution rates by 6.4 points on average (Wang et al., 2025b). Strengthened tests rejected 19.71% of patches that had passed the original ones, lowering the top agent’s score from 78.80% to 62.20% (Yu et al., 2026e). How agents come to pass tests without doing the task is the subject of Reward hacking in coding agents.
Feedback quality as the limit
Feedback quality may limit how well a model repairs its work. The authors of a study of code self-repair hypothesize that it is bottlenecked by the model’s ability to give feedback on its own code. Feedback from a stronger model gave substantially larger gains (Olausson et al., 2023). Replacing GPT-4’s own explanation of why code failed with a human programmer’s raised the share of repaired programs passing tests by a factor of 1.58 (Olausson et al., 2023).
Specific feedback helps more than generic feedback, which helps more than none. In Self-Refine’s ablation on three tasks, replacing targeted feedback with generic feedback dropped the sentiment task’s score from 43.2 to 31.2, and that task failed without feedback (Madaan et al., 2023). In self-debugging, models gained more from rich feedback than from a one-line correct-or-wrong message. Without unit tests, that bare message did not notably help, because the model could not tell correct queries from wrong ones (Chen et al., 2023d).
More feedback is not always better feedback. In one code-repair benchmark, mixed feedback gave the highest repair success (63.6%), close to expert-style guidance (62.9%) and ahead of test results (57.9%). Another model-written type was least effective (48.8%) (Dai et al., 2025). Its authors suggest that long, mixed feedback may dilute the critical information (Dai et al., 2025). In a text-to-SQL study, no feedback strategy clearly dominated, though adding feedback improved the quality of the model’s reflection in 61% of cases on average (Butler et al., 2025).
Verifier findings versus self-revision Weak evidence: few or small studies support this
In clinical recommendations, revising with a verifier’s full findings did not reduce omissions beyond revising with no feedback at all. In a paired evaluation of three models on 176 cases, self-revision alone lowered the omission rate from 8.1% to 7.1% (Basu et al., 2026). Revision with the full findings omitted 2.2 percentage points more than self-revision. One model drove the excess: in 94 of 264 revisions it replaced clinical content with status phrases (Basu et al., 2026).
Set apart that model’s failures, and feedback and self-revision did about the same. Without those revisions the gap was 0.8 points. Its 95% confidence interval, the range of values compatible with the data, ran from -0.1 to 1.8, which includes no difference (Basu et al., 2026). Calibrated alerts did no better than self-revision either (Basu et al., 2026).
The findings did help where the verifier could check a statement. Both ways of delivering the full findings lowered commission errors, mostly citations to guidelines that do not exist, whereas self-revision and alerts did not (Basu et al., 2026).
The study’s design shows why the comparison matters. An evaluation that compares revision with feedback against the first response alone credits the feedback with the effect of revising at all (Basu et al., 2026). The authors note that their results do not show verification is useless when the verifier holds information the model lacks, such as the patient’s record. They work for the company that developed the verifier, and the analysis plan was not registered (Basu et al., 2026).
Revisions that break correct work Strong evidence: many studies agree on this
Revision can turn right answers wrong. Asked to self-correct on GSM8K, GPT-3.5 was more likely to change a correct answer to an incorrect one than the reverse (Huang et al., 2023b). In iterative code refinement, critics flagged flaws that did not exist in correct code, and the model then introduced bugs into valid solutions (Borges & Rios, 2026). In retrieval-augmented question answering, revision repaired 9.32 to 13.42% of drafts and corrupted 3.05 to 3.33%. A policy trained to decide when to revise still applied 38-46% of the harmful revisions (Kashani Motlagh et al., 2026).
Code fixes also tend to change more than they need to. Over-editing, rewriting code beyond what a bug fix requires, is widespread even in strong models, and a high pass rate can coexist with unnecessarily large edits (Zhu et al., 2026e). Models modify more lines than human fixes do and sometimes write entirely new solutions (Stoica et al., 2026). In a study of regression repair, over-repair, removing or restructuring correct code when a small change was enough, accounted for 11.86% of 59 sampled failures of the best setup (Ho et al., 2025).
Revision or re-solving Weak evidence: few or small studies support this
Part of what looks like a model fixing a draft may be the model solving the problem again. On knowledge multiple-choice tasks, most second-pass gains in two-model pipelines are consistent with the stronger model re-solving. Sending the question straight to the stronger model can beat having it revise a weak draft (Ning et al., 2026).
A fresh answer also beat revision in other settings. In retrieval-augmented question answering, choosing between the draft and a fresh answer written without it beat a trained revision policy. The margin was about two points for one model and four for another, and adding the revision as a third option gave no significant gain (Kashani Motlagh et al., 2026). In programming exercises, models solved more problems when generating from scratch than when patching buggy submissions (Stoica et al., 2026).
Code generation is a partial exception. There, a two-stage process stayed useful because even drafts with no useful content gave the second model a structure to fill, while weak draft content could be harmful (Ning et al., 2026).
Resampling alone can match feedback. In a preregistered, placebo-controlled study with small code models, feedback combining code with facts from executed tests recovered 18 more fixes than retrying with the bare code. The gain came from comparison with executable counterexamples rather than from self-critique, and blind resampling, simply generating again, tied with that feedback at 26 fixes each (Iscan, 2026).
Cost at equal budget
Once the extra computation is counted, correction loops often gain little over simpler ways of spending it. When the cost of carrying out repair is taken into account, self-repair gains in code generation are often modest, vary a lot between data subsets, and are sometimes absent (Olausson et al., 2023).
At matched compute, self-consistency, sampling several answers and keeping the most common one, frequently outperforms more elaborate reasoning strategies. In the same evaluation, multi-agent debate and a self-reflection method called Reflexion can get worse as more compute is used (Wang et al., 2024f). The comparison of debate with voting is treated in Multi-agent debate.
Further reading
- Huang et al. (2023b): the study that showed intrinsic self-correction lowering accuracy on reasoning benchmarks, including answers changed from right to wrong.
- Kamoi et al. (2024): a critical survey of when self-correction works, separating prompted critique, external feedback and fine-tuning.
- Madaan et al. (2023): Self-Refine, the main case for critique-and-revise without external tools, with an ablation of feedback detail.
- Olausson et al. (2023): code self-repair measured against its cost, and the evidence that feedback quality limits it.
- Ning et al. (2026): a decomposition of second-pass gains into revising the draft versus solving again.
- Basu et al. (2026): a paired clinical evaluation comparing revision with a verifier’s findings against self-revision.
First published .
Known gaps
What this article cannot tell you yet.
- The article does not cover how the amount of feedback detail given to a revising model changes how much correct work it breaks or over-edits.
- The article gives few comparisons of self-correction with simple voting or resampling at equal cost.
- The article reports no replication of the revision-versus-re-solving decomposition, and none applies it to code review.
- The only study of verifier feedback versus self-revision covers clinical recommendations and was run by the verifier’s developers.
References
- Solid source
- Rated highly trustworthy by the research, and every passage taken from it was found in it.
- Weak source
- Rated low, or a passage taken from it was not found in it.
- Medium trust
- Rated medium by the research.
- Not checked
- Rated high, but its passages could not all be checked against it.
Show all 31 references
- Basu, S., Patel, S., Sheth, P., Morgan, J., & Batniji, R. (2026). Verification feedback and self-revision for omissions in clinical recommendations by large language models: A paired evaluation. Artificial Intelligence in Health. https://article.accscience.com/journal/AIH/online_first/aih026370137/article_aih0263701371_ad00d2.pdf Medium trust Peer-reviewed, read in full.
- Bohnet, B., Kamienny, P., Sedghi, H., Gorur, D., Awasthi, P., Parisi, A., et al. (2025). Enhancing LLM planning capabilities through intrinsic self-critique. arXiv preprint 2512.24103. https://arxiv.org/html/2512.24103 Medium trust Preprint, abstract only.
- Borges, L. T., & Rios, R. (2026). One step forward, two steps back: Regression errors and cost inefficiencies in LLM iterative refinement for code generation. ICLR 2026 Workshop: I Can't Believe It's Not Better. https://iclr.cc/virtual/2026/10014641 Medium trust Peer-reviewed, abstract only.
- Butler, J., Kozodoi, N., Afolabi, Z., Tyacke, B., & Baimuratov, G. (2025). Finding the sweet spot: Trading quality, cost, and speed during inference-time LLM reflection. arXiv preprint 2510.20653. https://arxiv.org/html/2510.20653v1 Medium trust Preprint, read in large part.
- Chen, X., Lin, M., Schärli, N., & Zhou, D. (2023d). Teaching large language models to self-debug. ICLR 2024. https://arxiv.org/abs/2304.05128 Medium trust Preprint, read in large part.
- Dai, D., Liu, M., Li, A., Cao, J., Wang, Y., Wang, C., et al. (2025). FeedbackEval: A benchmark for evaluating large language models in feedback-driven code repair tasks. arXiv:2504.06939. https://arxiv.org/abs/2504.06939 Medium trust Preprint, read in large part.
- Dhuliawala, S., Komeili, M., Xu, J., Raileanu, R., Li, X., Celikyilmaz, A., et al. (2023). Chain-of-verification reduces hallucination in large language models. Findings of ACL 2024. https://arxiv.org/html/2309.11495v2 Medium trust Preprint, abstract only.
- Gou, Z., Shao, Z., Gong, Y., Shen, Y., Yang, Y., Duan, N., et al. (2023). CRITIC: Large language models can self-correct with tool-interactive critiquing. ICLR 2024 (arXiv:2305.11738). https://arxiv.org/html/2305.11738 Medium trust Peer-reviewed, read in large part.
- Ho, A., Le-Cong, T., Le, B., & Rizkallah, C. (2025). From empirical evaluation to context-aware enhancement: Repairing regression errors with LLMs. ACM Transactions on Software Engineering and Methodology (arXiv:2506.13182). https://arxiv.org/abs/2506.13182 Medium trust Peer-reviewed, read in large part.
- Huang, J., Chen, X., Mishra, S., Zheng, H. S., Yu, A. W., Song, X., et al. (2023b). Large language models cannot self-correct reasoning yet. ICLR 2024 (arXiv:2310.01798). https://arxiv.org/html/2310.01798v1 Medium trust Peer-reviewed, read in large part.
- Iscan, M. (2026). Falsification, not exposure: An internally preregistered placebo-controlled decomposition of self-repair feedback in frozen small code models. arXiv:2606.31511. https://arxiv.org/abs/2606.31511 Medium trust Preprint, abstract only.
- Kamoi, R., Zhang, Y., Zhang, N., Han, J., & Zhang, R. (2024). When can LLMs actually correct their own mistakes? A critical survey of self-correction of LLMs. Transactions of the Association for Computational Linguistics, arXiv 2406.01297. https://arxiv.org/html/2406.01297 Medium trust Peer-reviewed, abstract only.
- Madaan, A., Tandon, N., Gupta, P., Hallinan, S., Gao, L., Wiegreffe, S., et al. (2023). Self-Refine: Iterative refinement with self-feedback. NeurIPS 2023, arXiv 2303.17651. https://arxiv.org/html/2303.17651 Medium trust Preprint, read in large part.
- Kashani Motlagh, N., Anderson, T., Gwinnup, J., & Erdmann, G. (2026). Return or revise? Learning when revision helps retrieval-augmented QA. arXiv preprint 2609.30087. https://arxiv.org/html/2609.30087 Medium trust Preprint, read in large part.
- Ning, J., Li, X., & Yu, C. (2026). Revision or re-solving? Decomposing second-pass gains in Multi-LLM pipelines. arXiv:2604.01029. https://arxiv.org/abs/2604.01029 Medium trust Preprint, read in large part.
- Olausson, T. X., Inala, J. P., Wang, C., Gao, J., & Solar-Lezama, A. (2023). Is self-repair a silver bullet for code generation? arXiv:2306.09896. https://arxiv.org/abs/2306.09896 Medium trust Peer-reviewed, read in large part.
- Pan, J., He, H., Bowman, S. R., & Feng, S. (2024b). Spontaneous reward hacking in iterative self-refinement. arXiv preprint 2407.04549. https://arxiv.org/abs/2407.04549 Medium trust Preprint, abstract only.
- Saunders, W., Yeh, C., Wu, J., Bills, S., Ouyang, L., Ward, J., et al. (2022). Self-critiquing models for assisting human evaluators. arXiv preprint 2206.05802. https://arxiv.org/abs/2206.05802 Medium trust Preprint, abstract only.
- Stechly, K., Valmeekam, K., & Kambhampati, S. (2024). On the self-verification limitations of large language models on reasoning and planning tasks. arXiv:2402.08115. https://arxiv.org/abs/2402.08115 Medium trust Preprint, abstract only.
- Stoica, A. S., Rebedea, T., & Mihaescu, M. C. (2026). Large language models for programming: Actually fixing or reimplementing incorrect code? arXiv:2609.29410. https://arxiv.org/abs/2609.29410 Medium trust Preprint, abstract only.
- Taherkhani, H., Shin, J., Tahir, M. A., Misu, M. R. H., Gattani, V. S., & Hemmati, H. (2024). Toward automated validation of language model synthesized test cases using semantic entropy. arXiv:2411.08254. https://arxiv.org/abs/2411.08254 Medium trust Preprint, abstract only.
- Tyen, G., Mansoor, H., Cărbune, V., Chen, P., & Mak, T. (2023). LLMs cannot find reasoning errors, but can correct them given the error location. Findings of ACL 2024. https://arxiv.org/abs/2311.08516 Medium trust Peer-reviewed, abstract only.
- Wang, J., Jain, S., Zhang, D., Ray, B., Kumar, V., & Athiwaratkun, B. (2024f). Reasoning in token economies: Budget-aware evaluation of LLM reasoning strategies. EMNLP 2024. https://arxiv.org/abs/2406.06461 Medium trust Preprint, abstract only.
- Wang, Y., Pradel, M., & Liu, Z. (2025b). Are 'solved issues' in SWE-bench really solved correctly? An empirical study. arXiv:2503.15223. https://arxiv.org/html/2503.15223v2 Medium trust Peer-reviewed, read in large part.
- Xie, Z., Chen, J., Chen, L., Mao, W., Xu, J., & Kong, L. (2025). Teaching language models to critique via reinforcement learning. arXiv:2502.03492. https://arxiv.org/abs/2502.03492 Solid source Preprint, read in large part.
- Xu, W., Zhu, G., Zhao, X., Pan, L., Li, L., & Wang, W. Y. (2024a). Pride and prejudice: LLM amplifies self-bias in self-refinement. arXiv preprint 2402.11436. https://arxiv.org/abs/2402.11436 Medium trust Preprint, abstract only.
- Yang, Z., Zhang, Y., Wang, Y., Xu, Z., Lin, J., & Sui, Z. (2024b). Confidence v.s. critique: A decomposition of self-correction capability for LLMs. arXiv preprint 2412.19513. https://arxiv.org/html/2412.19513v1 Medium trust Preprint, read in large part.
- Yu, B., Cao, Y., Zhang, Y., Lin, L., Xu, J., Zhong, Z., et al. (2026e). SWE-ABS: Adversarial benchmark strengthening exposes inflated success rates on test-based benchmark. arXiv preprint 2603.00520. https://arxiv.org/abs/2603.00520 Medium trust Preprint, abstract only.
- Zhang, H., Liu, X., & Zhang, J. (2023f). SummIt: Iterative text summarization via ChatGPT. Findings of EMNLP 2023. https://arxiv.org/abs/2305.14835 Medium trust Preprint, abstract only.
- Zhang, Y., Khalifa, M., Logeswaran, L., Kim, J., Lee, M., Lee, H., et al. (2024i). Small language models need strong verifiers to self-correct reasoning. Findings of ACL 2024. https://arxiv.org/abs/2404.17140 Medium trust Preprint, abstract only.
- Zhu, T., Lim, W. H., & Kan, M. (2026e). When models edit too much: On the fidelity of minimal code edits. EMNLP 2026. https://arxiv.org/abs/2609.04061 Medium trust Peer-reviewed, abstract only.