Techniques

The Self-Correction Pattern

Jay Banlasan

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:

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:

Want this built for your business?

Get a free assessment of where AI operations can replace overhead in your company.

Get Your Free Assessment

Related posts