PreprintCited by 2,314Topic ModelingNatural Language Processing TechniquesSpeech and dialogue systems

The DOI matches its DataCite record; 47 of the 53 references it cites were found in a registry or an index; 12 of the 22 sources its claims cite were checked for support.

Self-Refine: Iterative Refinement with Self-Feedback

Open access

Abstract

Like humans, large language models (LLMs) do not always generate the best output on their first try. Motivated by how humans refine their written text, we introduce Self-Refine, an approach for improving initial outputs from LLMs through iterative feedback and refinement. The main idea is to generate an initial output using an LLMs; then, the same LLMs provides feedback for its output and uses it to refine itself, iteratively. Self-Refine does not require any supervised training data, additional training, or reinforcement learning, and instead uses a single LLM as the generator, refiner, and feedback provider. We evaluate Self-Refine across 7 diverse tasks, ranging from dialog response generation to mathematical reasoning, using state-of-the-art (GPT-3.5, ChatGPT, and GPT-4) LLMs. Across all evaluated tasks, outputs generated with Self-Refine are preferred by humans and automatic metrics over those generated with the same LLM using conventional one-step generation, improving by ~20% absolute on average in task performance. Our work demonstrates that even state-of-the-art LLMs like GPT-4 can be further improved at test time using our simple, standalone approach.

Overview

AI snapshot

Written from the paper’s full text.

TL;DR

SELF-REFINE improves large language model outputs by iteratively generating self-feedback and refining the same model’s output without supervised training, additional training, or reinforcement learning. Across 7 diverse tasks, it improves over one-step generation by ∼20% absolute on average, with especially large gains on preference-based tasks.

Key findings

  • SELF-REFINE consistently improved GPT-3.5, ChatGPT, and GPT-4 across all evaluated tasks. Examples include GPT-4 Dialogue Response Generation improving from 25.4 to 74.6 (+49.2), GPT-4 Code Optimization from 27.3 to 36.0 (+8.7), and GPT-4 Constrained Generation from 15.0 to 45.0 (+30.0).
  • Feedback quality matters: in Code Optimization, SELF-REFINE feedback scored 27.5 vs. 26.0 for generic feedback and 24.8 for no feedback; in Sentiment Reversal, 43.2 vs. 31.2 vs. 0; in Acronym Generation, 56.4 vs. 54.0 vs. 48.0.
  • Iterative refinement generally improves outputs, with diminishing returns: Code Optimization rose from 22.0 at y0 to 28.8 at y3; Sentiment Reversal from 33.9 to 36.8; Constrained Generation from 29.0 to 49.7.
  • Math Reasoning gains were modest: GPT-3.5 64.1 to 64.1 (0), ChatGPT 74.8 to 75.0 (+0.2), GPT-4 92.9 to 93.1 (+0.2). With oracle feedback, GPT-3 improved by 4.8% and GPT-4 by 0.7%.

Methods

  • SELF-REFINE alternates between FEEDBACK and REFINE using the same model M: initial output y0 = M(pgen ∥ x); feedback fbt = M(pfb ∥ x ∥ yt); refinement yt+1 = M(prefine ∥ x ∥ y0 ∥ fb0 ∥ … ∥ yt ∥ fbt). It iterates until a stopping condition or up to a maximum of 4 iterations, using few-shot prompts and no supervised training, additional training, or reinforcement learning.
  • Evaluation covered 7 tasks: Dialogue Response Generation, Code Optimization, Code Readability Improvement, Math Reasoning, Sentiment Reversal, Acronym Generation, and Constrained Generation (CommonGen-Hard). Base LLMs were GPT-3.5 (text-davinci-003), ChatGPT (gpt-3.5-turbo), GPT-4, and CODEX for code tasks. Metrics included task-specific metrics, human preference, and GPT-4 preference.
  • Analysis included ablations on feedback quality and iteration count, comparison against generating multiple outputs, testing Vicuna-13B, and a qualitative error analysis of 70 samples for Code Optimization and Math Reasoning.

Limitations

  • Stated: the base models need sufficient few-shot modeling or instruction-following abilities to provide feedback and refine in-context; Vicuna-13B struggled to generate feedback in the required format and often failed to refine properly.
  • Stated: experiments used non-open-sourced models (GPT-3.5, ChatGPT, GPT-4, CODEX), whose pretraining corpus, sizes, and biases are not fully described, and which are not free to use; datasets were exclusively English; the approach does not explicitly guard against bad actors steering models toward toxic or harmful text.
  • Evident from the text: human A/B evaluations were conducted by the authors, and GPT-4 was used as a proxy for human preference with reported correlations of 82% for Sentiment Reversal, 68% for Acronym Generation, and 71% for Dialogue Response Generation. The paper also notes Math Reasoning gains are limited by the model’s inability to accurately identify errors, with ChatGPT feedback being “everything looks good” for 94% of instances.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

DataCite · 10.48550/arxiv.2303.17651

Cites

47 of 53 references verified0 citation errors · 6 not checkable

Statistics

Nothing to recompute.

Verification

Claims the paper makes

70 Own result · 25 Own interpretation · 9 No basis given · 7 Partly supported · 5 Own method · 4 Supported · 4 Sources not found · accuracy not yet measured

Show all 66 claims

  • Probably not a substantial claim. 25
  • It may state two separate claims as one. 35
  • The quote only partly states this claim. 5
58 of 58
  • The paper relies on this without support.

    Large language models often fall short in addressing intricate requirements.

    “Although large language models (LLMs) can generate coherent outputs, they often fall short in addressing intricate requirements.”
  • The paper relies on this without support.

    Math errors can be nuanced and sometimes limited to a single line or incorrect operation.

    “In math, errors can be nuanced and sometimes limited to a single line or incorrect operation.”
  • The paper relies on this without support.

    GPT-4 is capable of assessing and providing reasoning for complex tasks.

    “In light of the impressive achievements of GPT-4 in assessing and providing reasoning for complex tasks, we leverage its abilities for evaluation in SELF-REFINE.”
  • The paper relies on this without support.

    Code readability may significantly affect the usability, upgradability, and ease of maintenance of an entire codebase.

    “though not related to the execution results of the code, code readability may significantly affect the usability, upgradability, and ease of maintenance of an entire codebase.”
  • The paper relies on this without support.

    Acronym generation requires an iterative refinement process to create concise and memorable representations of complex terms or phrases, involving tradeoffs between length, ease of pronunciation, and relevance.

    “Acronym generation requires an iterative refinement process to create concise and memorable representations of complex terms or phrases, involving tradeoffs between length, ease of pronunciation, and relevance, and thus serves as a natural testbed for our approach.”
  • The paper relies on this without support.

    Automated metrics may not provide an accurate assessment of text generation tasks.

    “However, we acknowledge that automated metrics may not provide an accurate assessment of text generation tasks and rely on human evaluation instead.”
  • The paper relies on this without support.

    Open-domain dialogue response generation is a complex task that requires a system to generate human-like responses to a wide range of topics.

    “Open-domain dialogue response generation is a complex task that requires a system to generate human-like responses to a wide range of topics.”
  • The paper relies on this without support.

    text-davinci-003 is capable of generating human-like responses of great quality for a wide range of dialogue contexts, making GPT-3.5 a strong baseline.

    “text-davinci-003 is capable of generating human-like responses of great quality for a wide range of dialogue contexts and hence GPT-3.5 is a strong baseline.”
  • The paper relies on this without support.

    Acronym generation requires an iterative refinement process to achieve a concise and memorable representation of a complex term or phrase.

    “Like in email writing, acronym generation also requires an iterative refinement process to achieve a concise and memorable representation of a complex term or phrase.”
  • The paper relies on this without support.

    Acronyms often involve tradeoffs between length, ease of pronunciation, and relevance to the original term or phrase.

    “Acronyms often involve tradeoffs between length, ease of pronunciation, and relevance to the original term or phrase.”
  • The paper relies on this without support.

    Some acronym quality criteria are difficult to quantify and are a matter of human preference.

    “Some of these criteria are difficult to quantify, and are a matter of human preference.”
  • The paper relies on this without support.

    Modern LLMs have superior instruction following capabilities.

    “As with other modules, we leverage the superior instruction following capabilities of modern LLMs to instead provide a few demonstrations of each task.”
  • The paper relies on this without support.

    Initial outputs from language models may not always meet the desired level of quality, coherence, or sensibility.

    “Given that initial outputs from language models may not always meet the desired level of quality, coherence, or sensibility”
13 of 13

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

9 of 9

Citations

Cites

Show all 52 references

Research works printed but not linked: 3

  1. Sanjoy Dasgupta, Daniel Hsu, Stefanos Poulis, and Xiaojin Zhu. 2019. Teaching a black-box learner. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 1547-1555. PMLR.
  2. William Saunders, Catherine Yeh, Jeff Wu, Steven Bills, Long Ouyang, Jonathan Ward, and Jan Leike. 2022a. Self-critiquing models for assisting human evaluators.
  3. Timo Schick, Jane Dwivedi-Yu, Zhengbao Jiang, Fabio Petroni, Patrick Lewis, Gautier Izacard, Qingfei You, Christoforos Nalmpantis, Edouard Grave, and Sebastian Riedel. 2022a. Peer: A collaborative language model. · DOI · Paper page

Cited by

Sorted by citations

Items 501–600 of 778

Metadata

Authors
Madaan, A., Tandon, N., Gupta, P., Hallinan, S., Gao, L., Wiegreffe, S., Alon, U., Dziri, N., Prabhumoye, S., Yang, Y., Gupta, S., Majumder, B. P., Hermann, K., Welleck, S., Yazdanbakhsh, A., & Clark, P.
Venue
arXiv
Publisher
arXiv
Published
2023
Pages
46534-46594
ISSN
1049-5258 (ISSN-L)
OpenAlex
W7133236450
Cited by
2,314
References
52
Citations by year
2026: 1329 · 2025: 460 · 2024: 338 · 2023: 186
FWCI
260.57
Type
conference paper
Language
en
Open access
Locations
  • neural information processing systems (publishedVersion)
  • arXiv (Cornell University) (submittedVersion, cc-by)
  • arXiv (Cornell University) (cc-by)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
  • Physical Sciences › Computer Science › Artificial Intelligence › Speech and dialogue systems
Keywords
iterative refinement, self-feedback, large language models, mathematical reasoning

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

A language model drew the claims from the paper on 2026-10-07, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).

A second model labelled each claim on 2026-10-07 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).

Cited sources are checked with a language model’s help (gpt-6-sol).

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review