COPU: Conformal Prediction for Uncertainty Quantification in Natural Language Generation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Sean, Jiang, Yicheng, Tang, Yuxin, Cheng, Lu, Chen, Hanjie
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916677989433344
author Wang, Sean
Jiang, Yicheng
Tang, Yuxin
Cheng, Lu
Chen, Hanjie
author_facet Wang, Sean
Jiang, Yicheng
Tang, Yuxin
Cheng, Lu
Chen, Hanjie
contents Uncertainty Quantification (UQ) for Natural Language Generation (NLG) is crucial for assessing the performance of Large Language Models (LLMs), as it reveals confidence in predictions, identifies failure modes, and gauges output reliability. Conformal Prediction (CP), a model-agnostic method that generates prediction sets with a specified error rate, has been adopted for UQ in classification tasks, where the size of the prediction set indicates the model's uncertainty. However, when adapting CP to NLG, the sampling-based method for generating candidate outputs cannot guarantee the inclusion of the ground truth, limiting its applicability across a wide range of error rates. To address this, we propose \ourmethod, a method that explicitly adds the ground truth to the candidate outputs and uses logit scores to measure nonconformity. Our experiments with six LLMs on four NLG tasks show that \ourmethod outperforms baseline methods in calibrating error rates and empirical cover rates, offering accurate UQ across a wide range of user-specified error rates.
format Preprint
id arxiv_https___arxiv_org_abs_2502_12601
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle COPU: Conformal Prediction for Uncertainty Quantification in Natural Language Generation
Wang, Sean
Jiang, Yicheng
Tang, Yuxin
Cheng, Lu
Chen, Hanjie
Computation and Language
Uncertainty Quantification (UQ) for Natural Language Generation (NLG) is crucial for assessing the performance of Large Language Models (LLMs), as it reveals confidence in predictions, identifies failure modes, and gauges output reliability. Conformal Prediction (CP), a model-agnostic method that generates prediction sets with a specified error rate, has been adopted for UQ in classification tasks, where the size of the prediction set indicates the model's uncertainty. However, when adapting CP to NLG, the sampling-based method for generating candidate outputs cannot guarantee the inclusion of the ground truth, limiting its applicability across a wide range of error rates. To address this, we propose \ourmethod, a method that explicitly adds the ground truth to the candidate outputs and uses logit scores to measure nonconformity. Our experiments with six LLMs on four NLG tasks show that \ourmethod outperforms baseline methods in calibrating error rates and empirical cover rates, offering accurate UQ across a wide range of user-specified error rates.
title COPU: Conformal Prediction for Uncertainty Quantification in Natural Language Generation
topic Computation and Language
url https://arxiv.org/abs/2502.12601