Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategies

Paper · arXiv 2308.03188 · Published August 6, 2023
Self-Refinement and Self-ConsistencyLLM Alignment

However, their efficacy is undermined by undesired and inconsistent behaviors, including hallucination, unfaithful reasoning, and toxic content. A promising approach to rectify these flaws is self-correction, where the LLM itself is prompted or guided to fix problems in its own output. Techniques leveraging automated feedback—either produced by the LLM itself or some external system—are of particular interest as they are a promising way to make LLM-based solutions more practical and deployable with minimal human feedback. This paper presents a comprehensive review of this emerging class of techniques. We analyze and taxonomize a wide array of recent work utilizing these strategies, including training-time, generation-time, and post-hoc correction.

A prevailing strategy to rectify these undesired behaviors of LLMs is learning from feedback, mirroring a typical human learning strategy where individuals actively refine their behaviors through a cycle of trial, error, and correction. Humans, when making mistakes, often gather feedback either from others or through self-reflection. Such feedback offers valuable insights into missteps and proposes potential avenues for improvement. With feedback, humans can adapt and modify their behavior accordingly, learning to correct their mistakes over time. Inspired by this natural learning mechanism, extensive research (Huang et al., 2022; Madaan et al., 2023; Gero et al., 2023; Jiang et al., 2023) has been undertaken to improve LLMs through the paradigm of learning from feedback.

To minimize the need for human intervention, another strategy is self-correcting LLMs with automated feedback, where the model (iteratively) learns from automatically generated feedback signals to understand the consequences of its actions and adapts its behaviors

The source of automated feedback can be multifaceted, spanning from the LLM itself acting as the feedback model (Madaan et al., 2023; Schick et al., 2023), a separately trained feedback model (Yang et al., 2022b; Paul et al., 2023), readily available external tools (Gou et al., 2023; Chen et al., 2023d), to external knowledge sources such as Wikipedia or the internet (Yu et al., 2023; Li et al., 2023b). Different strategies have been proposed to correct LLM with automated feedback, including self-training (Huang et al., 2022; Bai et al., 2022b), generate-then-rank (He et al., 2023; Weng et al., 2023), feedback-guided decoding (Yang et al., 2022a; Xie et al., 2023), iterative post-hoc revision (Zhang et al., 2023a; Jiang et al., 2023), etc. Recently, the incorporation of such strategies has demonstrated their effectiveness across a myriad of tasks, from question answering (Peng et al., 2023) and reasoning (Pan et al., 2023) to code generation (Zhang et al., 2023b) and toxicity detection (Lu et al., 2022).

A diagram of a model

Lines of inquiry this paper opens 24

Research framings built by reading the notes related to this paper — the questions it feeds into.

Why does self-revision fail to improve reasoning model accuracy? How can systems verify genuine wins when agents shape evaluations? Does polished AI writing create false impressions of capability? How can tool use and decomposition improve LLM performance on complex tasks? How do language models reason about pragmatics and cooperation unlike humans? What dialogue structures and memory mechanisms enable coherent multi-turn conversation? Can models learn to seek clarification when facing incomplete information? What enables conversational agents to initiate rather than only respond? How do process reward models compare to outcome-only supervision at scale? How do different question types and framings shape retrieved information? Can prompting reveal hidden model knowledge or teach genuinely new capabilities? Why do LLMs generate ideas better than they evaluate them? How do evaluation practices determine which failures stay hidden? How do failure signals improve model training compared to successes?