The Self-Correction Pattern
Jay Banlasan
The AI Systems Guy
tl;dr
Have AI review and fix its own output before you see it, catching errors that a single pass misses.
AI makes mistakes on the first try. Everyone knows this. The common response is to manually review everything. The smarter response is to have the AI review its own work before it reaches you.
The self correction pattern for ai prompts adds a review step where the AI evaluates its output against specific criteria and fixes issues before delivering the final version. It is like having a built-in editor.
How Self-Correction Works
The pattern has two phases in a single prompt or in a chain:
Phase 1: Generate. The AI produces the initial output as normal.
Phase 2: Review and revise. The AI then evaluates its own output against explicit criteria and rewrites any sections that fail.
You can do this in one prompt: "Write [content]. Then review your output for [criteria]. Fix any issues and deliver the revised version only."
Or in two prompts: First prompt generates. Second prompt receives the output and reviews it.
The Review Criteria
Generic "review this for quality" does not work. You need specific, checkable criteria:
- "Check every factual claim. If you are not confident in a claim, remove it or flag it."
- "Verify that every paragraph adds new information. Remove redundant paragraphs."
- "Ensure the reading level is Grade 6 or below. Simplify any sentence a 12-year-old would struggle with."
- "Check that the keyword [X] appears in the first paragraph and in at least one heading."
- "Verify no sentence starts with the same word as the previous sentence."
- "Remove any phrases that sound like AI: 'it is important to note,' 'in the realm of,' 'leverage,' 'utilize.'"
The more specific the criteria, the more effective the self-correction.
Where This Pattern Shines
Content generation. First pass often includes filler, redundancy, and generic language. Self-correction catches and removes these.
Data analysis. First pass might include unsupported conclusions. Self-correction forces the AI to verify each claim against the data provided.
Code generation. First pass might have syntax errors or logical bugs. Self-correction step asks the AI to trace through the code mentally and fix issues.
Email drafting. First pass might be too long or miss the point. Self-correction checks: "Does this email have one clear ask? Is it under 150 words? Would you read this if it landed in your inbox?"
The Diminishing Returns
One review pass catches 60 to 70% of issues. A second pass catches another 15 to 20%. A third pass catches diminishing returns. Two review passes is the sweet spot for most business tasks.
More than two passes starts to over-polish. The AI smooths out personality and edge in pursuit of "perfection." One or two rounds of self-correction, then human review for the final 10%.
Implementation Cost
Self-correction roughly doubles your token usage because the AI processes the content twice. For most business tasks, the improvement in quality more than justifies the extra cost. A $0.02 prompt that produces publishable content beats a $0.01 prompt that needs 15 minutes of human editing.
Build These Systems
Ready to implement? These step-by-step tutorials show you exactly how:
- How to Build an AI Review Response Generator - Generate professional review responses using AI for Google and Yelp.
- How to Create Automated Negative Review Escalation - Escalate negative reviews instantly to the right team for fast response.
- How to Build a Customer Self-Service Portal - Create a portal where customers resolve common issues without contacting support.
Want this built for your business?
Get a free assessment of where AI operations can replace overhead in your company.
Get Your Free Assessment