[2405.20974] SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationales
Abstract:Large language models (LLMs) often generate inaccurate or fabricated information and generally fail to indicate their confidence, which limits their broader applications. Previous work elicits confidence from LLMs by direct or self-consistency prompting, or constructing specific datasets for supervised finetuning. The prompting-based approaches have inferior performance, and the training-based approaches are limited to binary or inaccurate group-level confidence estimates. In this work, we present the advanced SaySelf, a training framework that teaches LLMs to express more accurate fine-grained confidence estimates. In addition, beyond the confidence scores, SaySelf initiates the process of directing LLMs to produce self-reflective rationales that clearly identify gaps in their parametric knowledge and explain their uncertainty. This is achieved by using an LLM to automatically summarize the uncertainties in specific knowledge via natural language. The summarization is based on the analysis of the inconsistency in multiple sampled reasoning chains, and the resulting data is utilized for supervised fine-tuning. Moreover, we utilize reinforcement learning with a meticulously crafted reward function to calibrate the confidence estimates, motivating LLMs to deliver accurate, high-confidence predictions and to penalize overconfidence in erroneous outputs. Experimental results in both in-distribution and out-of-distribution datasets demonstrate the effectiveness of SaySelf in reducing the confidence calibration error and maintaining the task performance. We show that the generated self-reflective rationales are reasonable and can further contribute to the calibration. The code is made public at this https URL.
[2405.20974] SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationales Skip to main content arXiv is now an independent nonprofit! Learn more × Search arXiv Press Enter to search · Advanced search --> Computer Science > Computation and Language arXiv:2405.20974 (cs) [Submitted on 31 May 2024 ( v1 ), last revised 4 Oct 2024 (this version, v3)] Title: SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationales Authors: Tianyang Xu , Shujin Wu , Shizhe Diao , Xiaoze Liu , Xingyao Wang , Yangyi Chen , Jing Gao View a PDF of the paper titled SaySelf:
Explore this link on the map →related reading
- [2405.20974] SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationalesarxiv.org
- Modifying LLM Beliefs with Synthetic Document Finetuningalignment.anthropic.com
- How confessions can keep language models honest | OpenAIopenai.com
- Position: It's Time to Optimize for Self-Consistencytime-for-consistency.github.io
- Cycles of Thought: Measuring LLM Confidence through Stable Explanationsarxiv.org
- Discovering Language Model Behaviors with Model-Written Evaluations — LessWronglesswrong.com
- [2602.02639] A Positive Case for Faithfulness: LLM Self-Explanations Help Predict Model Behaviorarxiv.org
- confessions_paper.pdfcdn.openai.com
- [2602.02639] A Positive Case for Faithfulness: LLM Self-Explanations Help Predict Model Behaviorarxiv.org
- Self-Adapting Language Modelsarxiv.org
- [2501.11120] Tell me about yourself: LLMs are aware of their learned behaviorsarxiv.org
- [2310.11511] Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectionarxiv.org