Recursive criticism and improvement (RCI) is a prompting technique in which a language model produces an answer, critiques that answer and then rewrites it based on the critique, repeating the cycle until the output is acceptable or a round limit is reached. In prompting, it belongs to the family of self-correction methods that use the model itself as both author and reviewer, without changing any model weights.
RCI was introduced in research on language model agents that operate computer interfaces, where it raised success rates on web and desktop automation tasks. The same pattern also applies to reasoning, writing and code generation, and it is closely related to Self-refine and Chain-of-verification.
How recursive criticism and improvement works
RCI works as a three-step loop driven by fixed prompts. First, the model generates an initial output for the task. Second, a critique prompt asks it to review that output and list problems. Third, an improvement prompt asks it to produce a new output that resolves the listed problems. The new output can enter the loop again.
The critique prompt is deliberately generic, for example a request to review the previous answer and find problems with it. This task-agnostic wording is a defining feature: the same pair of prompts can be reused across domains, and no hand-written rubric or external verifier is strictly required.
The table below describes the stages of one RCI round.
| Stage | Prompt intent | Output |
|---|---|---|
| Initial generation | Solve the task | Draft answer or plan |
| Criticism | Find problems in the draft | List of errors and gaps |
| Improvement | Fix the listed problems | Revised answer |
| Stopping check | Decide whether to continue | Accept or start a new round |
RCI in computer control agents
In its original setting, RCI guided a language model agent that had to complete tasks in a browser through actions such as clicking and typing. The authors applied the critique step at several levels, which they described as task grounding, state grounding and agent grounding.
- Task grounding checks whether the generated plan actually addresses the instruction.
- State grounding checks whether the next action fits the current screen or page state.
- Agent grounding checks whether the action is formatted so that the agent can execute it.
On a benchmark of simple web interface tasks, this approach reached high success rates with only a few demonstrations per task, compared with earlier methods that needed large amounts of training data. The result showed that structured self-review can substitute for part of the supervision that agents usually require.
Grounding matters because agent errors are expensive and often irreversible: a wrong click can submit a form or delete data. Running the critique before each action, rather than only after the task ends, lets the agent catch a faulty step early, while the page state still allows correction. The trade-off is more model calls per task, which raises latency and cost in long workflows with many steps.
How RCI compares with related prompting techniques
RCI sits among several techniques that ask a model to check or refine its own work, and the differences lie in what is checked and how feedback is produced. Self-refine uses a very similar feedback-then-refine loop, while Chain-of-verification generates targeted verification questions and answers them independently before writing the final response.
The following comparison shows where each technique fits.
| Technique | Feedback source | Typical focus | Key difference |
|---|---|---|---|
| RCI | Same model, generic critique | Agents and reasoning | Reusable critique prompt |
| Self-refine | Same model, task feedback | Writing and code | Feedback often task-specific |
| Chain-of-verification | Verification questions | Factual accuracy | Checks claims one by one |
| Self-consistency | Majority vote over samples | Reasoning answers | No critique, only voting |
| Iterative prompting | Human user | General tasks | A person writes the critique |
RCI can be combined with zero-shot chain-of-thought: the model reasons step by step in the first draft, and the critique round then inspects that reasoning. This combination tends to help on multi-step arithmetic and logic problems, where errors in intermediate steps are visible to a careful reviewer.
Practical guidance for using RCI
RCI is most effective when the task has checkable quality criteria that the model can recognize once its draft is in front of it, such as format rules, constraints in the instruction or internal consistency. It is less useful when the model lacks the knowledge needed to notice its own errors.
The decision table below summarizes when the technique pays off.
| Situation | Recommendation | Reason |
|---|---|---|
| Strict output format or schema | Use one or two rounds | Format errors are easy to spot |
| Multi-step plan for an agent | Critique each plan before acting | Prevents costly wrong actions |
| Factual question without sources | Prefer external verification | Self-critique cannot add facts |
| Answer already correct in most cases | Limit or skip rounds | Revisions may introduce errors |
In practice, two or three rounds usually capture most of the benefit, and each extra round adds latency and token cost. A clear stopping rule, such as stopping when the critique finds no problems, keeps the loop bounded and predictable.
Limitations and failure modes of RCI
The central limitation is that intrinsic self-correction is unreliable when there is no external signal. Studies of reasoning benchmarks have shown that asking a model to criticize a correct answer can lead it to change a right answer into a wrong one, because the critique prompt implies that problems exist.
- Sycophantic revision: the model invents problems to satisfy the critique request.
- Shared blind spots: the same model that made an error often fails to detect it.
- Cost growth: every round multiplies tokens and response time.
- Oscillation: answers can alternate between versions without converging.
These risks shrink when RCI is paired with tool feedback, such as code execution results, test outcomes or environment observations, because the critique then rests on evidence rather than on the model’s own judgment alone.
A non-technical view
Think of a writer who finishes a draft, rereads it with a critical eye and makes a list of mistakes. Then the writer fixes them. Sometimes this happens two or three times.
Recursive criticism and improvement asks an AI model to do the same. It writes, reviews and rewrites its own answer. This often catches format slips and planning errors. It does not give the model new knowledge, so outside checks are still valuable.
A concrete example
An operations team uses a language model agent to fill in supplier forms in an internal web portal. In early tests, the agent often typed dates in the wrong format and skipped a required checkbox, so about one form in five was rejected by the portal.
The team adds an RCI step before each submission. The agent first drafts the full sequence of actions, then answers a critique prompt asking what could fail, and finally produces a corrected plan. With two critique rounds per form, the agent now catches most date and checkbox errors itself, and rejections fall noticeably. Each form takes a few seconds longer, which the team accepts because failed submissions previously required manual follow-up.