Improving Quality with Reflection and Self-Critique
This lesson explains reflection patterns, which use a model's ability to recognize mistakes when asked to check its work: self-critique loops, reflection with a separate critic and the evaluation of reasoning.
Learning outcomes
After completing this lesson, you will be able to:
- Describe the roles in a self-critique loop.
- Explain why a critic with tools or more information is more effective.
- Describe chain-of-thought prompting and its evaluation.
- Decide when reflection is worth its added cost.
Self-critique loops
A model generating an answer commits to each token as it goes and cannot revise earlier text. Checking a finished draft is a different and often easier task: the whole answer is visible, and the checker can compare it with explicit criteria. Reflection uses this difference by adding a review step after generation, so that errors such as a missing section, an uncited claim or a calculation that does not add up are caught and corrected before the output is returned. The price is at least one extra model call per round, so reflection is applied where errors are costly and evaluation shows that it helps.
A self-critique loop has three roles, which may be the same model with different prompts. The generator produces a draft. The critic checks it against explicit criteria, such as every claim cited, all required sections present, no policy violations, and returns structured feedback with a pass or fail verdict. The reviser rewrites the draft to address the feedback. The loop ends when the critic passes the draft or a maximum number of iterations is reached, after which the best draft is returned or the case is escalated.
draft, _, _ = ask(task)
for attempt in range(3): # always bound the loop
critique = openai.responses.parse(model="critic", text_format=Critique,
input=f"Criteria:\n{criteria}\n\nDraft:\n{draft}").output_parsed
if critique.passed:
break
draft, _, _ = ask(f"Revise the draft to fix these issues: {critique.issues}\n\nDraft:\n{draft}")The following diagram shows the three roles and the two ways the loop ends.

A self-critique loop
Reflection with tools and stronger critics
Reflection is more effective when the critic has information the generator lacked: the retrieved sources for a citation check, a code interpreter that runs generated code against tests, or a rules engine that validates a calculation. A stronger model as critic can catch errors a smaller generator makes, keeping most of the cost on the cheaper model. Critiques that only ask "Is this correct?" without criteria tend to approve the draft.
Chain-of-thought evaluation
Chain-of-thought (CoT) prompting asks a model to reason step by step before answering, which improves accuracy on multistep problems. Chain-of-thought evaluation assesses the reasoning as well as the result: an evaluator checks each step for validity, whether the conclusion follows, and whether the steps used the provided facts. For reasoning models, the reasoning summary can be inspected in the same way. Evaluating reasoning helps find answers that are right for the wrong reasons, which are likely to fail on similar inputs.
Reflection and reasoning
When reflection pays off
A team generates regulatory filing summaries. Evaluations show that 12% omit a mandatory section. Adding a self-critique loop with a checklist of mandatory sections reduces omissions to 1% but doubles latency.
Because filings are generated in a background process and errors are costly, the latency is acceptable and the loop should be kept, capped at two iterations. For a real-time chat feature with low-cost errors, the same loop would probably not be justified.
What makes a self-critique loop reliable?
Show answer
A critic with explicit criteria and a structured verdict, extra information such as sources or tests, and a cap on the number of iterations.
Exam Tips
Remember for the exam
- Critics need explicit criteria and structured verdicts; cap the number of iterations.
- Give the critic extra information (sources, tests, rules) for stronger checks.
- Use reflection where errors are costly and evaluations show a gain.