Saved in:
Bibliographic Details
Main Authors: Yang, Adam, Chen, Chen, Pitas, Konstantinos
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.13907
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916288458129408
author Yang, Adam
Chen, Chen
Pitas, Konstantinos
author_facet Yang, Adam
Chen, Chen
Pitas, Konstantinos
contents State-of-the-art large language models are sometimes distributed as open-source software but are also increasingly provided as a closed-source service. These closed-source large-language models typically see the widest usage by the public, however, they often do not provide an estimate of their uncertainty when responding to queries. As even the best models are prone to ``hallucinating" false information with high confidence, a lack of a reliable estimate of uncertainty limits the applicability of these models in critical settings. We explore estimating the uncertainty of closed-source LLMs via multiple rephrasings of an original base query. Specifically, we ask the model, multiple rephrased questions, and use the similarity of the answers as an estimate of uncertainty. We diverge from previous work in i) providing rules for rephrasing that are simple to memorize and use in practice ii) proposing a theoretical framework for why multiple rephrased queries obtain calibrated uncertainty estimates. Our method demonstrates significant improvements in the calibration of uncertainty estimates compared to the baseline and provides intuition as to how query strategies should be designed for optimal test calibration.
format Preprint
id arxiv_https___arxiv_org_abs_2405_13907
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Just rephrase it! Uncertainty estimation in closed-source language models via multiple rephrased queries
Yang, Adam
Chen, Chen
Pitas, Konstantinos
Computation and Language
Artificial Intelligence
State-of-the-art large language models are sometimes distributed as open-source software but are also increasingly provided as a closed-source service. These closed-source large-language models typically see the widest usage by the public, however, they often do not provide an estimate of their uncertainty when responding to queries. As even the best models are prone to ``hallucinating" false information with high confidence, a lack of a reliable estimate of uncertainty limits the applicability of these models in critical settings. We explore estimating the uncertainty of closed-source LLMs via multiple rephrasings of an original base query. Specifically, we ask the model, multiple rephrased questions, and use the similarity of the answers as an estimate of uncertainty. We diverge from previous work in i) providing rules for rephrasing that are simple to memorize and use in practice ii) proposing a theoretical framework for why multiple rephrased queries obtain calibrated uncertainty estimates. Our method demonstrates significant improvements in the calibration of uncertainty estimates compared to the baseline and provides intuition as to how query strategies should be designed for optimal test calibration.
title Just rephrase it! Uncertainty estimation in closed-source language models via multiple rephrased queries
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2405.13907