Large Language Models have Intrinsic Self-Correction Ability

Dancheng Liu, Amir Nassereldine, Ziming Yang, Chenhui Xu, Yuting Hu +6 more
6/21/2024
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) have attracted significant attention for their exceptional abilities in various natural language processing tasks, but they suffer from hallucinations that will cause performance degradation. One promising solution to improve the LLMs' performance is to ask LLMs to revise their answer after generation, a technique known as self-correction. Among the two types of self-correction, intrinsic self-correction is considered a promising direction because it does not utilize external knowledge. However, recent works doubt the validity of LLM's ability to conduct intrinsic self-correction. In this paper, we present a novel perspective on the intrinsic self-correction capabilities of LLMs through theoretical analyses and empirical experiments. In addition, we identify two critical factors for successful self-correction: zero temperature and fair prompts. Leveraging these factors, we demonstrate that intrinsic self-correction ability is exhibited across multiple existing LLMs. Our findings offer insights into the fundamental theories underlying the self-correction behavior of LLMs and remark on the importance of unbiased prompts and zero temperature settings in harnessing their full potential.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2024large,
  title  = {Large Language Models have Intrinsic Self-Correction Ability},
  author = {Dancheng Liu and Amir Nassereldine and Ziming Yang and Chenhui Xu and Yuting Hu and Jiajie Li and Utkarsh Kumar and Changjae Lee and Ruiyang Qin and Yiyu Shi and Jinjun Xiong},
  year   = {2024},
  eprint = {2406.15673},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.15673v2}
}

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/2406.15673.svg)](https://codeofpaper.com/paper/2406.15673)

Discussion