Conformal Alignment: Knowing When to Trust Foundation Models with Guarantees

Yu Gui, Ying Jin, Zhimei Ren
5/16/2024
stat.MLcs.AIcs.LG

No official code found. Best implementation: yugjerry/conformal-alignment (11 stars, last commit 2025-06-04).

Abstract

Before deploying outputs from foundation models in high-stakes tasks, it is imperative to ensure that they align with human values. For instance, in radiology report generation, reports generated by a vision-language model must align with human evaluations before their use in medical decision-making. This paper presents Conformal Alignment, a general framework for identifying units whose outputs meet a user-specified alignment criterion. It is guaranteed that on average, a prescribed fraction of selected units indeed meet the alignment criterion, regardless of the foundation model or the data distribution. Given any pre-trained model and new units with model-generated outputs, Conformal Alignment leverages a set of reference data with ground-truth alignment status to train an alignment predictor. It then selects new units whose predicted alignment scores surpass a data-dependent threshold, certifying their corresponding outputs as trustworthy. Through applications to question answering and radiology report generation, we demonstrate that our method is able to accurately identify units with trustworthy outputs via lightweight training over a moderate amount of reference data. En route, we investigate the informativeness of various features in alignment prediction and combine them with standard models to construct the alignment predictor.

View on arXivView PDF

Code Implementations(1)

113Shell, PythonMay 15, 20241 years ago

Similar Papers

Cite this paper

@article{gui2024conformal,
  title  = {Conformal Alignment: Knowing When to Trust Foundation Models with Guarantees},
  author = {Yu Gui and Ying Jin and Zhimei Ren},
  year   = {2024},
  eprint = {2405.10301},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.10301},
  url    = {http://arxiv.org/abs/2405.10301v3},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.10301.svg)](https://codeofpaper.com/paper/2405.10301)

Discussion