Reproduce “ConU: Conformal Uncertainty in Large Language Models with Correctness Coverage Guarantees” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Zhiyuan Wang, Jinhao Duan, Lu Cheng, Yue Zhang, Qingni Wang, Xiaoshuang Shi, Kaidi Xu, Hengtao Shen and 1 more

Researchers developed ConU, a method to quantify uncertainty in black-box Large Language Models for open-ended text generation, using self-consistency and semantic clustering of sampled outputs. This approach integrates Conformal Prediction to provide prediction sets with statistically guaranteed correctness coverage, demonstrating superior uncertainty quantification performance and maintaining minimal set sizes across various LLMs and datasets.

Key insights

  • Semantic diversity among multiple sampled LLM outputs for a given prompt serves as an effective proxy for uncertainty in black-box scenarios.
  • Rigorous correctness coverage guarantees for open-ended NLG can be achieved by aligning the Conformal Prediction nonconformity score directly with the uncertainty of the correct answer, leveraging semantic equivalence.
  • Conformal Prediction can be successfully applied to black-box LLMs in free-form text generation tasks by combining a self-consistency-based uncertainty measure with external semantic similarity models.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.