Reflection and self-correction
External signals repair; intrinsic self-correction often hurts; best-of-n hits the $b$ ceiling.
When self-correction works
Planning became reliable when something other than the model checked the plan. The same question hits every agent output: can the agent notice its mistake and fix it? The cheapest move — “review your answer and fix problems” — adds calls but no new information. Rereading with the same blind spots rarely helps; running the code does.
Key idea. Self-correction works when feedback carries information from outside the model: a failed test, an interpreter error, a validator report, an environment reward. Without that, a critique is about as error-prone as the answer, and asking the model to change its mind often turns right into wrong. When attempts are checkable, generate several and verify; the gain is capped by how often the verifier accepts a wrong one.
Self-Refine
Self-Refine (Madaan et al., 2023) uses one model as generator, critic and refiner until feedback says stop or a limit (four iterations) is hit — no training, no tools. With GPT-4 (2023), preference tasks jumped (dialogue preferred share 25.4%→74.6%; constrained concept coverage 15%→45%). Math word problems barely moved (92.9%→93.1%): visible omissions are easy to spot; a consistent slip in a chain that looks coherent is not. Preference gains were also partly judged by GPT-4 again — the evaluation caveat returns below.
Reflexion
Reflexion (Shinn et al., 2023) corrects across trials with an external score: act (ReAct trajectory ) → evaluate ( from environment, exact match, or unit tests) → reflect (a short verbal lesson) → remember (bounded episodic memory of the last lessons, typically 1–3) → retry with the memory in context. Weights never change; the reward becomes text that conditions the next trial (“verbal RL”). GPT-era models gained +22 points on ALFWorld over 12 trials and 91.0% HumanEval pass@1 versus 80.1% alone — but on MBPP Reflexion lost (77.1% vs 80.1%) because self-written tests accepted wrong programs 16.3% of the time (1.4% on HumanEval). That false-positive rate is the ceiling.
Intrinsic self-correction
Huang et al. (2024) separated oracle stopping (stop when the gold answer is reached — impossible at deploy time) from intrinsic self-correction (the model decides whether to change). With at most two “find problems” rounds, intrinsic accuracy never finished above the first answer on GSM8K/CommonSenseQA/HotpotQA; oracle columns rose. Models more often flipped correct→wrong than the reverse when they changed. On Blocksworld, GPT-4 verifying GPT-4 plans lifted 40→55/100, while VAL in the same loop reached 88/100 — the model judge accepted 38/45 invalid plans (FP≈84%). Feedback that works: execution, tools (CRITIC), the environment, sound validators, or training that rewards verified finals (SCoRe; reasoning models).
Generate and verify
If attempts are checkable, sample and keep the first accepted (else fall back to attempt 1). With success probability , true-positive rate and false-positive rate ,
As , — verifier precision — and verification helps only if . With , , , the ceiling is ~0.794 and . Sound recovers pass@; stays flat at . GPT-4’s plan-verifier rates capped near 0.437 versus . Better verifiers raise the plateau (process vs outcome reward models on MATH; SWE-bench coverage under sound tests keeps climbing with ).
Model-as-judge and next
When nothing mechanical can check, another LM grades — with unknown until measured, systematic biases (position, verbosity, self-preference), and reward hacking under best-of-. Prefer mechanical verifiers; if a judge is unavoidable, measure error rates, use a different model, swap pair order, keep modest.
Next: generator–verifier loops, routers and orchestrators can be fixed workflows or left to the model. Workflows, frameworks and protocols catalogues the patterns and the Model Context Protocol underneath the tools.
Check your understanding
The same questions as in Pulse. Answers are shared between modes.
Answers are saved on the server and tied to this browser until you sign in.