Logo image
On generative models for conformal prediction
Dissertation   Open access

On generative models for conformal prediction

Zhenhan Fang
University of Iowa
Doctor of Philosophy (PhD), University of Iowa
Spring 2026
DOI: 10.25820/etd.008391
pdf
dissertation_updated25.22 MBDownloadView
Open Access

Abstract

Constructing prediction regions with reliable uncertainty guarantees for multi-dimensional outputs is a fundamental challenge in machine learning and statistics. Conformal prediction pro- vides finite-sample, distribution-free coverage guarantees, but its practical performance depends critically on the choice of nonconformity score. For multi-dimensional outputs, mapping a scalar nonconformity score threshold back to a geometrically meaningful region in the output space is inherently ambiguous: existing methods either impose rigid geometric templates (rectangles, el- lipsoids) that inflate to cover complex distributions, or construct fragmented regions from unions of balls that depend heavily on sampling budgets. This dissertation develops two conformal prediction methods that leverage generative mod- els to define nonconformity scores producing geometrically faithful prediction regions. CONTRA (CONformal prediction region via normalizing flow TRAnsformation) uses conditional normalizing flows to map outputs into a latent space, where the latent norm serves as the nonconformity score. Because the flow is bijective and continuous, the resulting prediction regions are connected and smoothly bounded. A residual-based extension, ResCONTRA, equips arbitrary point predictors with geometry-aware conformal regions. TRACE (TRansport Alignment Conformal Estimation) removes the invertibility constraint by deriving nonconformity scores from transport alignment in diffusion and flow matching models. TRACE measures how well a candidate output aligns with the learned generative dynamics by averaging denoising or velocity-matching errors along transport trajectories. We prove that the Monte Carlo approximation error in TRACE scores decreases at rate O(1/√B) with the number of Monte Carlo samples B, in both the calibrated threshold and region volume, while coverage remains exact for any finite computational budget. Experiments on synthetic and real datasets demonstrate that both methods achieve valid coverage and produce compact prediction regions adapted to the geometry of the conditional distribution, consistently outperforming shape-restricted and sample-based baselines. CONTRA excels in low-dimensional settings, while TRACE provides greater flexibility and robustness as the input dimension or the complexity of the conditional distribution p(y | x) increases.
diffusion models distribution-free inference flow matching multi-dimensional outputs normalizing flow uncertainty quantification

Details

Metrics

1 Record Views
Logo image