COPU: Conformal Prediction for Uncertainty Quantification in Natural Language Generation
Wang, Sean, Jiang, Yicheng, Tang, Yuxin, Cheng, Lu, Chen, Hanjie
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Feb-18-2025
- Country:
- Africa
- Asia
- China > Beijing
- Beijing (0.04)
- Middle East
- Bahrain (0.04)
- UAE > Abu Dhabi Emirate
- Abu Dhabi (0.04)
- China > Beijing
- Europe
- Austria > Vienna (0.14)
- France (0.04)
- Germany (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Portugal > Lisbon
- Lisbon (0.04)
- Spain > Valencian Community
- Valencia Province > Valencia (0.04)
- United Kingdom > England (0.04)
- North America
- Canada
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- Nunavut
- Baffin Island (0.04)
- Iqaluit (0.04)
- British Columbia > Metro Vancouver Regional District
- Mexico (0.04)
- United States
- Florida > Miami-Dade County
- Miami (0.04)
- Illinois > Cook County
- Chicago (0.04)
- New York > New York County
- New York City (0.04)
- Tennessee (0.04)
- Texas (0.04)
- Washington > King County
- Seattle (0.04)
- Florida > Miami-Dade County
- Canada
- Oceania
- New Zealand (0.04)
- Palau (0.04)
- Genre:
- Research Report (0.64)
- Industry:
- Automobiles & Trucks > Manufacturer (0.46)
- Government (0.68)
- Leisure & Entertainment (1.00)
- Technology: