Adaptive Uncertainty Quantification for Generative AI
Jungeum Kim, Sean O'Hagan, Veronika Rockova
TL;DR
The paper addresses predictive uncertainty for black-box models trained on unavailable data by developing Conformal Tree, a locally adaptive conformal prediction framework. It combines self-grouping of conformity scores via robust, add-one-in dyadic regression trees with leaf-wise conformal calibration to produce adaptive prediction bands while preserving a near-nominal coverage. Theoretical results quantify the trade-off via a small loss term $\delta(n,m)$ and show conditional coverage $\ge 1-\alpha-\delta(n,m)$ and marginal coverage near $1-\alpha$, with practical extensions to full conformal and forest variants. Empirically, Conformal Tree yields substantial local tightening on simulated data and two LLM-based tasks (legislator state prediction and skin-disease diagnoses) while maintaining coverage, illustrating its practical impact for reliable, locally aware uncertainty quantification in generative AI contexts.
Abstract
This work is concerned with conformal prediction in contemporary applications (including generative AI) where a black-box model has been trained on data that are not accessible to the user. Mirroring split-conformal inference, we design a wrapper around a black-box algorithm which calibrates conformity scores. This calibration is local and proceeds in two stages by first adaptively partitioning the predictor space into groups and then calibrating sectionally group by group. Adaptive partitioning (self-grouping) is achieved by fitting a robust regression tree to the conformity scores on the calibration set. This new tree variant is designed in such a way that adding a single new observation does not change the tree fit with overwhelmingly large probability. This add-one-in robustness property allows us to conclude a finite sample group-conditional coverage guarantee, a refinement of the marginal guarantee. In addition, unlike traditional split-conformal inference, adaptive splitting and within-group calibration yields adaptive bands which can stretch and shrink locally. We demonstrate benefits of local tightening on several simulated as well as real examples using non-parametric regression. Finally, we consider two contemporary classification applications for obtaining uncertainty quantification around GPT-4o predictions. We conformalize skin disease diagnoses based on self-reported symptoms as well as predicted states of U.S. legislators based on summaries of their ideology. We demonstrate substantial local tightening of the uncertainty sets while attaining similar marginal coverage.
