Reconfidencing LLM Uncertainty from the Grouping Loss Perspective - Département Informatique et Réseaux
Conference Papers Year : 2024

Reconfidencing LLM Uncertainty from the Grouping Loss Perspective

Abstract

Large Language Models (LLMs), such as GPT and LLaMA, are susceptible to generating hallucinated answers in a confident tone. While previous efforts to elicit and calibrate uncertainty have shown some success, they often overlook biases towards certain groups, such as specific nationalities.

Existing calibration methods typically focus on average performance, failing to address this disparity. In our study, we demonstrate that the concept of grouping loss is an effective metric for understanding and correcting the heterogeneity in confidence levels. We introduce a novel evaluation dataset, derived from a knowledge base, specifically designed to assess the confidence scores of LLM responses across different groups. Our experimental results highlight significant variations in confidence, which are accurately captured by grouping loss. To tackle this issue, we propose a new method to calibrate the confidence scores of LLMs by considering different groups, a process we term reconfidencing. Our findings indicate that this approach effectively mitigates biases against minority groups, contributing to the development of fairer LLMs. The code is available at https: //github.com/tigerchen52/ reconfidencing_llms

Fichier principal
Vignette du fichier
Preprint_Reconfidencing_LLMs.pdf (1.14 Mo) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-04750567 , version 1 (23-10-2024)

Licence

Identifiers

Cite

Lihu Chen, Alexandre Perez-Lebel, Fabian Suchanek, Gaël Varoquaux. Reconfidencing LLM Uncertainty from the Grouping Loss Perspective. EMNLP 2024 - Conference on Empirical Methods in Natural Language Processing, Nov 2024, Miami, United States. ⟨10.48550/arXiv.2402.04957⟩. ⟨hal-04750567⟩
0 View
0 Download

Altmetric

Share

More