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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yang, Zhe, Zhang, Yichang, Wang, Yudong, Xu, Ziyao, Lin, Junyang, Sui, Zhifang
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909441860829184
author Yang, Zhe
Zhang, Yichang
Wang, Yudong
Xu, Ziyao
Lin, Junyang
Sui, Zhifang
author_facet Yang, Zhe
Zhang, Yichang
Wang, Yudong
Xu, Ziyao
Lin, Junyang
Sui, Zhifang
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2412_19513
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Confidence v.s. Critique: A Decomposition of Self-Correction Capability for LLMs
Yang, Zhe
Zhang, Yichang
Wang, Yudong
Xu, Ziyao
Lin, Junyang
Sui, Zhifang
Computation and Language
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.
title Confidence v.s. Critique: A Decomposition of Self-Correction Capability for LLMs
topic Computation and Language
url https://arxiv.org/abs/2412.19513