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

Liangming Pan,Michael Saxon,Wenda Xu,Deepak Nathani,Xinyi Wang,William Yang Wang
2023-08-30
Abstract:Large language models (LLMs) have demonstrated remarkable performance across a wide array of NLP tasks. 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. We also summarize the major applications of this strategy and conclude by discussing future directions and challenges.
Computation and Language,Artificial Intelligence,Machine Learning
What problem does this paper attempt to address?
The problem this paper attempts to address is the poor and inconsistent behavior exhibited by large language models (LLMs) when performing various natural language processing tasks, such as generating hallucinations, inaccurate reasoning, and producing harmful content. These undesirable behaviors undermine the effectiveness of LLMs, affecting their reliability and trustworthiness in practical applications. To address these issues, the paper explores a method called self-correction, which involves guiding or prompting the LLM to correct the problems in its output by itself. In particular, the researchers are interested in techniques that utilize automated feedback (generated by the LLM itself or other external systems), as these techniques can make LLM-based solutions more practical and deployable with minimal human intervention. The main contribution of the paper is to provide a comprehensive review of this emerging field, analyzing and categorizing various recent works that use these strategies, including correction methods during training, generation, and post-generation. It also summarizes the main application scenarios of these strategies and discusses future research directions and challenges. This not only helps to understand the current state of LLM self-correction techniques but also provides guidance for future research and development.