Graph-based Confidence Calibration for Large Language Models

Yukun Li, Sijia Wang, Lifu Huang, Li-Ping Liu
11/3/2024
cs.CLcs.AIcs.IR

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

Abstract

Reliable confidence estimation is essential for enhancing the trustworthiness of large language models (LLMs), especially in high-stakes scenarios. Despite its importance, accurately estimating confidence in LLM responses remains a significant challenge. In this work, we propose using an auxiliary learning model to assess response correctness based on the self-consistency of multiple outputs generated by the LLM. Our method builds a consistency graph to represent the agreement among multiple responses and uses a graph neural network (GNN) to estimate the likelihood that each response is correct. Experiments demonstrate that this method has strong calibration performance on various benchmark datasets and generalizes well to out-of-domain cases.

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!

Cite this paper

@article{li2024graphbased,
  title  = {Graph-based Confidence Calibration for Large Language Models},
  author = {Yukun Li and Sijia Wang and Lifu Huang and Li-Ping Liu},
  year   = {2024},
  eprint = {2411.02454},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.02454v2}
}

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

Discussion