Factual Confidence of LLMs: on Reliability and Robustness of Current Estimators

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Mahaut, Matéo, Aina, Laura, Czarnowska, Paula, Hardalov, Momchil, Müller, Thomas, Màrquez, Lluís
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929606896910336
author Mahaut, Matéo
Aina, Laura
Czarnowska, Paula
Hardalov, Momchil
Müller, Thomas
Màrquez, Lluís
author_facet Mahaut, Matéo
Aina, Laura
Czarnowska, Paula
Hardalov, Momchil
Müller, Thomas
Màrquez, Lluís
contents Large Language Models (LLMs) tend to be unreliable in the factuality of their answers. To address this problem, NLP researchers have proposed a range of techniques to estimate LLM's confidence over facts. However, due to the lack of a systematic comparison, it is not clear how the different methods compare to one another. To fill this gap, we present a survey and empirical comparison of estimators of factual confidence. We define an experimental framework allowing for fair comparison, covering both fact-verification and question answering. Our experiments across a series of LLMs indicate that trained hidden-state probes provide the most reliable confidence estimates, albeit at the expense of requiring access to weights and training data. We also conduct a deeper assessment of factual confidence by measuring the consistency of model behavior under meaning-preserving variations in the input. We find that the confidence of LLMs is often unstable across semantically equivalent inputs, suggesting that there is much room for improvement of the stability of models' parametric knowledge. Our code is available at (https://github.com/amazon-science/factual-confidence-of-llms).
format Preprint
id arxiv_https___arxiv_org_abs_2406_13415
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Factual Confidence of LLMs: on Reliability and Robustness of Current Estimators
Mahaut, Matéo
Aina, Laura
Czarnowska, Paula
Hardalov, Momchil
Müller, Thomas
Màrquez, Lluís
Computation and Language
Machine Learning
Large Language Models (LLMs) tend to be unreliable in the factuality of their answers. To address this problem, NLP researchers have proposed a range of techniques to estimate LLM's confidence over facts. However, due to the lack of a systematic comparison, it is not clear how the different methods compare to one another. To fill this gap, we present a survey and empirical comparison of estimators of factual confidence. We define an experimental framework allowing for fair comparison, covering both fact-verification and question answering. Our experiments across a series of LLMs indicate that trained hidden-state probes provide the most reliable confidence estimates, albeit at the expense of requiring access to weights and training data. We also conduct a deeper assessment of factual confidence by measuring the consistency of model behavior under meaning-preserving variations in the input. We find that the confidence of LLMs is often unstable across semantically equivalent inputs, suggesting that there is much room for improvement of the stability of models' parametric knowledge. Our code is available at (https://github.com/amazon-science/factual-confidence-of-llms).
title Factual Confidence of LLMs: on Reliability and Robustness of Current Estimators
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2406.13415