paper-with-me

Papers

Generating with Confidence: Uncertainty Quantification for Black-box Large Language Models

2023-05-30 · Zhen Lin, Shubhendu Trivedi, Jimeng Sun

Large language models (LLMs) specializing in natural language generation (NLG) have recently started exhibiting promising capabilities across a variety of domains. However, gauging the trustworthiness of responses generated by LLMs remains an open challenge, with limited research on uncertainty quantification (UQ) for NLG. Furthermore, existing literature typically assumes white-box access to language models, which is becoming unrealistic either due to the closed-source nature of the latest LLMs or computational constraints. In this work, we investigate UQ in NLG for *black-box* LLMs. We first differentiate *uncertainty* vs *confidence*: the former refers to the ``dispersion'' of the potential predictions for a fixed input, and the latter refers to the confidence on a particular prediction/generation. We then propose and compare several confidence/uncertainty measures, applying them to *selective NLG* where unreliable results could either be ignored or yielded for further assessment. Experiments were carried out with several popular LLMs on question-answering datasets (for evaluation purposes). Results reveal that a simple measure for the semantic dispersion can be a reliable predictor of the quality of LLM responses, providing valuable insights for practitioners on uncertainty management when adopting LLMs. The code to replicate our experiments is available at https://github.com/zlin7/UQ-NLG.

📄 PDF Abstract BibTeX arXiv:2305.19187

Code (2)

zlin7/uq-nlg 공식 구현 pytorch
iinemo/lm-polygraph pytorch

Tasks

ManagementQuestion AnsweringText GenerationUncertainty Quantification

Similar Papers 제목 키워드 기반

SIMBA UQ: Similarity-Based Aggregation for Uncertainty Quantification in Large Language Models

2025-10-10 · Debarun Bhattacharjya, Balaji Ganesan, Junkyu Lee, Radu Marinescu 외 arxiv

When does a large language model (LLM) know what it does not know? Uncertainty quantification (UQ) provides measures of uncertainty, such as an estimate of the confidence in an LLM's generated output, and is therefore in…

Question Answering

Uncertainty Quantification for Rule-Based Models

2022-11-03 · Yusik Kim

Rule-based classification models described in the language of logic directly predict boolean values, rather than modeling a probability and translating it into a prediction as done in statistical models. The vast majorit…

Uncertainty Quantification

Uncertainty Quantification for Local Model Explanations Without Model Access

2023-01-13 · Surin Ahn, Justin Grana, Yafet Tamene, Kristian Holsheimer

We present a model-agnostic algorithm for generating post-hoc explanations and uncertainty intervals for a machine learning model when only a static sample of inputs and outputs from the model is available, rather than d…

modelregressionUncertainty Quantification

Conformalized-DeepONet: A Distribution-Free Framework for Uncertainty Quantification in Deep Operator Networks

2024-02-23 · Christian Moya, Amirhossein Mollaali, Zecheng Zhang, Lu Lu 외

In this paper, we adopt conformal prediction, a distribution-free uncertainty quantification (UQ) framework, to obtain confidence prediction intervals with coverage guarantees for Deep Operator Network (DeepONet) regress…

Conformal PredictionPredictionPrediction Intervalsregression+1

Old Rules in a New Game: Mapping Uncertainty Quantification to Quantum Machine Learning

2025-07-20 · Maximilian Wendlinger, Kilian Tscharke, Pascal Debus arxiv

One of the key obstacles in traditional deep learning is the reduction in model transparency caused by increasingly intricate model functions, which can lead to problems such as overfitting and excessive confidence in pr…

Quantum Machine Learning