Internal Consistency and Self-Feedback in Large Language Models: A Survey

Xun Liang, Shichao Song, Zifan Zheng, Hanyu Wang, Qingchen Yu +6 more
7/19/2024
cs.CL

Official code: IAAR-Shanghai/ICSFSurvey (173 stars, last commit 2024-12-07).

Abstract

Large language models (LLMs) often exhibit deficient reasoning or generate hallucinations. To address these, studies prefixed with "Self-" such as Self-Consistency, Self-Improve, and Self-Refine have been initiated. They share a commonality: involving LLMs evaluating and updating themselves. Nonetheless, these efforts lack a unified perspective on summarization, as existing surveys predominantly focus on categorization. In this paper, we use a unified perspective of internal consistency, offering explanations for reasoning deficiencies and hallucinations. Internal consistency refers to the consistency in expressions among LLMs' latent, decoding, or response layers based on sampling methodologies. Then, we introduce an effective theoretical framework capable of mining internal consistency, named Self-Feedback. This framework consists of two modules: Self-Evaluation and Self-Update. The former captures internal consistency signals, while the latter leverages the signals to enhance either the model's response or the model itself. This framework has been employed in numerous studies. We systematically classify these studies by tasks and lines of work; summarize relevant evaluation methods and benchmarks; and delve into the concern, "Does Self-Feedback Really Work?" We also propose several critical viewpoints, including the "Hourglass Evolution of Internal Consistency", "Consistency Is (Almost) Correctness" hypothesis, and "The Paradox of Latent and Explicit Reasoning". The relevant resources are open-sourced at https://github.com/IAAR-Shanghai/ICSFSurvey.

View on arXivView PDF

Code Implementations(1)

Explore concepts like Self-Correct, Self-Refine, Self-Improve, Self-Contradict, Self-Play, and Self-Knowledge, alongside o1-like reasoning elevation🍓 and hallucination alleviation🍄.

1735Python, Jupyter NotebookJun 1, 20241 years ago
attention-headchain-of-thoughtdata-augmentationdecodinghallucination+12 more

Similar Papers

Cite this paper

@article{liang2024internal,
  title  = {Internal Consistency and Self-Feedback in Large Language Models: A Survey},
  author = {Xun Liang and Shichao Song and Zifan Zheng and Hanyu Wang and Qingchen Yu and Xunkai Li and Rong-Hua Li and Yi Wang and Zhonghao Wang and Feiyu Xiong and Zhiyu Li},
  year   = {2024},
  eprint = {2407.14507},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.14507v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.14507.svg)](https://codeofpaper.com/paper/2407.14507)

Discussion