2000 character limit reached
Graph-based Confidence Calibration for Large Language Models (2411.02454v2)
Published 3 Nov 2024 in cs.CL, cs.AI, cs.IR, and cs.LG
Abstract: Reliable confidence estimation is essential for enhancing the trustworthiness of 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.