ConU: Conformal Uncertainty in Large Language Models with Correctness Coverage Guarantees
<|reference_start|>ConU: Conformal Uncertainty in Large Language Models with Correctness Coverage Guarantees: Uncertainty quantification (UQ) in natural language generation (NLG) tasks remains an open challenge, exacerbated by the intricate nature of the recent large language models (LLMs). This study investigates adapting conformal prediction (CP), which can convert any heuristic measure of uncertainty into rigorous theoretical guarantees by constructing prediction sets, for black-box LLMs in open-ended NLG tasks. We propose a sampling-based uncertainty measure leveraging self-consistency and develop a conformal uncertainty criterion by integrating the uncertainty condition aligned with correctness into the design of the CP algorithm. Experimental results indicate that our uncertainty measure generally surpasses prior state-of-the-art methods. Furthermore, we calibrate the prediction sets within the model's unfixed answer distribution and achieve strict control over the correctness coverage rate across 6 LLMs on 4 free-form NLG datasets, spanning general-purpose and medical domains, while the small average set size further highlights the efficiency of our method in providing trustworthy guarantees for practical open-ended NLG applications.<|reference_end|>
@article{wang2024conu:,
    title={ConU: Conformal Uncertainty in Large Language Models with Correctness
  Coverage Guarantees},
    author={Zhiyuan Wang, Jinhao Duan, Lu Cheng, Yue Zhang, Qingni Wang,
  Xiaoshuang Shi, Kaidi Xu, Hengtao Shen, Xiaofeng Zhu},
    journal={arXiv preprint arXiv:2407.00499},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.00499},
    primaryClass={cs.CL cs.AI cs.LG}
}