Enhancing Confidence Expression in Large Language Models Through Learning from Past Experience

Haixia Han, Tingyun Li, Shisong Chen, Jie Shi, Chengyu Du +3 more
4/16/2024
cs.CL

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

Large Language Models (LLMs) have exhibited remarkable performance across various downstream tasks, but they may generate inaccurate or false information with a confident tone. One of the possible solutions is to empower the LLM confidence expression capability, in which the confidence expressed can be well-aligned with the true probability of the generated answer being correct. However, leveraging the intrinsic ability of LLMs or the signals from the output logits of answers proves challenging in accurately capturing the response uncertainty in LLMs. Therefore, drawing inspiration from cognitive diagnostics, we propose a method of Learning from Past experience (LePe) to enhance the capability for confidence expression. Specifically, we first identify three key problems: (1) How to capture the inherent confidence of the LLM? (2) How to teach the LLM to express confidence? (3) How to evaluate the confidence expression of the LLM? Then we devise three stages in LePe to deal with these problems. Besides, to accurately capture the confidence of an LLM when constructing the training data, we design a complete pipeline including question preparation and answer sampling. We also conduct experiments using the Llama family of LLMs to verify the effectiveness of our proposed method on four datasets.

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. 5 weaker matches are hidden by default — 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{han2024enhancing,
  title  = {Enhancing Confidence Expression in Large Language Models Through Learning from Past Experience},
  author = {Haixia Han and Tingyun Li and Shisong Chen and Jie Shi and Chengyu Du and Yanghua Xiao and Jiaqing Liang and Xin Lin},
  year   = {2024},
  eprint = {2404.10315},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.10315v1}
}

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

Discussion