Confidence v.s. Critique: A Decomposition of Self-Correction Capability for LLMs

Zhe Yang, Yichang Zhang, Yudong Wang, Ziyao Xu, Junyang Lin +1 more
12/27/2024
cs.CL

No official code found. Best implementation: Zhe-Young/SelfCorrectDecompose (8 stars, last commit 2024-12-16).

Abstract

Large Language Models (LLMs) can correct their self-generated responses, but a decline in accuracy after self-correction is also witnessed. To have a deeper understanding of self-correction, we endeavor to decompose, evaluate, and analyze the self-correction behaviors of LLMs. By enumerating and analyzing answer correctness before and after self-correction, we decompose the self-correction capability into confidence (being confident to correct answers) and critique (turning wrong answers to correct) capabilities, and propose two metrics from a probabilistic perspective to measure these 2 capabilities, along with another metric for overall self-correction capability evaluation. Based on our decomposition and evaluation metrics, we conduct extensive experiments and draw some empirical conclusions. For example, we find different models can exhibit distinct behaviors: some models are confident while others are more critical. We also find the trade-off between the two capabilities (i.e. improving one can lead to a decline in the other) when manipulating model self-correction behavior by prompts or in-context learning. Further, we find a simple yet efficient strategy to improve self-correction capability by transforming Supervision Fine-Tuning (SFT) data format, and our strategy outperforms vanilla SFT in both capabilities and achieves much higher accuracy after self-correction. Our code will be publicly available on GitHub.

View on arXivView PDF

Code Implementations(1)

Code for paper "Confidence v.s. Critique: A Decomposition of Self-Correction Capability for LLMs"

81Dec 16, 20241 years ago

Similar Papers

Cite this paper

@article{yang2024confidence,
  title  = {Confidence v.s. Critique: A Decomposition of Self-Correction Capability for LLMs},
  author = {Zhe Yang and Yichang Zhang and Yudong Wang and Ziyao Xu and Junyang Lin and Zhifang Sui},
  year   = {2024},
  eprint = {2412.19513},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.19513v1}
}

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

Discussion