Conformal Tail Risk Control for Large Language Model Alignment
Catherine Yu-Chi Chen, Jingyan Shen, Zhun Deng, Lihua Lei
TL;DR
The paper tackles tail-risk in large language model outputs by aligning human disutility with machine scores through distortion risk measures. It introduces a light calibration framework that treats the human risk as a black-box target and uses a univariate threshold $\hat{\lambda}$, selected via a conformal upper confidence bound, to control $R_\psi(F_{r_{\hat{\lambda}}})$ without retraining the model. The core contributions include establishing PAC-style guarantees for distortion-risk control via L-statistics, deriving asymptotic normality with consistent variance estimators, and proposing practical deployment strategies with finite-sample confidence. Empirical results on toxicity tasks show the proposed method (CDRC-L) achieves risk control with less conservatism and lower deployment costs than DKW- and Berk-Jones-based baselines, particularly as human-machine misalignment improves, underscoring its practical value for safe LLM deployment.
Abstract
Recent developments in large language models (LLMs) have led to their widespread usage for various tasks. The prevalence of LLMs in society implores the assurance on the reliability of their performance. In particular, risk-sensitive applications demand meticulous attention to unexpectedly poor outcomes, i.e., tail events, for instance, toxic answers, humiliating language, and offensive outputs. Due to the costly nature of acquiring human annotations, general-purpose scoring models have been created to automate the process of quantifying these tail events. This phenomenon introduces potential human-machine misalignment between the respective scoring mechanisms. In this work, we present a lightweight calibration framework for blackbox models that ensures the alignment of humans and machines with provable guarantees. Our framework provides a rigorous approach to controlling any distortion risk measure that is characterized by a weighted average of quantiles of the loss incurred by the LLM with high confidence. The theoretical foundation of our method relies on the connection between conformal risk control and a traditional family of statistics, i.e., L-statistics. To demonstrate the utility of our framework, we conduct comprehensive experiments that address the issue of human-machine misalignment.
