Flow-Based Conformal Predictive Distributions

Trevor HarrisNeurIPS 2026

TL;DR

Conformal prediction gives ironclad statistical guarantees for uncertainty quantification, but in high dimensions, its outputs are abstract mathematical sets that you cannot easily visualize or sample from. This paper discovers that any smooth error metric naturally acts like a gravitational field, pulling initial guesses directly onto the boundary of these uncertainty sets via a deterministic flow. By mixing these boundary-seeking flows across different confidence levels, you get a training-free, calibrated probability distribution capable of generating realistic weather maps, fluid simulations, and extreme hurricane trajectories.

What Problem Does This Paper Address?

Imagine asking a weather model for tomorrow's forecast. Standard conformal prediction wraps that black-box model in a rigorous statistical guarantee: given a miscoverage tolerance $\alpha$ (say, 5%), it outputs a "prediction set" guaranteed to contain the true outcome 95% of the time, with zero assumptions about the underlying data distribution.

When predicting a single number, that set is just an interval—easy to read and use. What happens when your output is a 2D precipitation field, a fluid simulation, or a hurricane track?

Figure 1: What do prediction sets look like for CFD simulations? Precipitation patterns? Tropical Cyclones? How can we take implicitly defined sets and make them useful in these spaces?

In high-dimensional spaces, conformal sets are defined implicitly as all possible outputs $y$ whose "nonconformity score" (a measure of prediction error, $S(x,y)$) falls below a calibrated threshold $\tau_\alpha$. You can plug in a candidate weather map to check if it belongs in the set, but you cannot generate maps from the set, visualize its boundaries, or compute downstream expectations. Existing workarounds rely on training heavy generative models or computing Optimal Transport maps, which scale poorly with dimension and require extra training data.

Methods

The author introduces a constructive, training-free bridge from implicit sets to sampleable distributions using ordinary differential equations (ODEs).

  1. Nonconformity Flows: Suppose you pick a starting point $y_0$ in the output space. If your nonconformity score $S$ is differentiable, you can take its gradient with respect to $y$. The author defines a continuous dynamical system governed by a "score controller" that pushes $y(t)$ along the gradient lines of $S$. If a point's score is higher than the target threshold $\tau_\alpha$, the flow pushes it inward; if lower, it pushes it outward. Once $S(y(t)) = \tau_\alpha$, velocity drops to zero and motion stops. Choosing the minimum-norm vector field eliminates tangential wandering, sending trajectories straight to the set boundary exponentially fast.
Nonconformity flow converging to a target boundary
  1. Conformal Predictive Distributions (CPDs): Sampling a single boundary only gives you one confidence contour. To build a full probability distribution—generalizing inverse-CDF sampling to high dimensions—the algorithm first samples a confidence level $\alpha$ (e.g., uniformly from $(0,1)$), picks an initial state $y_0$ from a base distribution (specifically, resampling past calibration responses), and runs the flow to push $y_0$ onto the $\tau_\alpha$ boundary. Every empirical conformal set becomes an exact quantile region of the resulting CPD.

Datasets

No new benchmarks are introduced, though the paper evaluates across synthetic and real-world scientific datasets:

  • Synthetic Benchmarks: Isotropic Gaussians, anisotropic Student-$t$ ($df=3$), 2D Gaussian Processes (GP), 2D elliptic PDE inverse problems, and Navier-Stokes fluid approximations.
  • Real-World Spatiotemporal Data: North American precipitation field downscaling and global climate model temperature debiasing (used as non-exchangeable stress tests due to temporal correlations), plus HURDAT2 (Atlantic hurricane trajectories from 1851–2025).

Key Insights and Ideas

  • Uncertainty sampling without generative training: You don't need to train a diffusion model or normalizing flow to sample complex uncertainty sets; the gradient of the nonconformity score is your transport engine, and the convergence rate can be tuned analytically to hit $\varepsilon$-tolerance in fixed time.
  • Calibration data preserves manifold structure: Because CPDs are valid regardless of where the flow starts, initializing trajectories with real calibration responses acts as an inductive bias. The flow nudges real data just enough to match the target error score, preserving fine-scale spatial textures that neural ensembles wash out.
  • Controllable rare-event simulation: Instead of sampling $\alpha$ uniformly between 0 and 1, you can restrict $\alpha \in (0.0, 0.1)$ to selectively sample the extreme 10% tail of the distribution. Paired with a physics-informed score (penalizing implausible wind speeds, velocities, and curvatures), CPDs generate realistic worst-case hurricane bifurcations that naive $\ell_2$ scores miss completely.

Key Results

  • Fast, diverse convergence: Using just 20 forward Euler steps, smooth scores consistently hit the $10^{-6}$ target error tolerance across dimensions while maintaining a spectral entropy ratio $\ge 1$ (meaning samples don't collapse into a low-dimensional subspace).
  • Superior spatial fidelity: Across five structured regression tasks, CPDs match or beat baselines like Deep Ensembles, MC Dropout, and Conditional Flow Matching on Energy Score while drastically cutting Log Spectral Distance (LSD) and local MMD. On Elliptic PDEs, CPD-L achieves an Energy Score of 0.067 and MMD of 0.006, compared to 0.118 and 0.044 for Deep Ensembles, and 0.113 and 0.040 for Conditional Flow Matching.
  • Preserving high frequencies: On 2D GP regression, neural baselines either oversmooth or inject high-frequency noise (drizzle), whereas CPD-G matches the true spatial power spectrum even when the underlying base predictor fails to capture it.

Limitations and Future Work

  • Requires smooth scores: Non-differentiable or jagged scores like $\ell_1$ or $k$-Nearest Neighbors ($k$NN) can cause the ODE solver to stall or fail to converge.
  • Incomplete boundary exploration: Because flows travel directly to the nearest boundary point without tangential motion, they don't explore the entire conformal level set—sticking instead near the calibration data manifold.
  • Exchangeability assumptions: Theoretical coverage guarantees rely on exchangeable data, which real-world time series (like climate records) violate.
  • Future directions: Adding exact tangent diffusion to explore level sets more thoroughly, extending theoretical guarantees to non-exchangeable time series, and coupling nonconformity flows with learned normalizing flows.

Summary updated

Abstract

Conformal prediction provides a distribution-free framework for uncertainty quantification via prediction sets with exact finite-sample coverage. In low dimensions these sets are easy to interpret, but in high-dimensional or structured output spaces they are difficult to represent and use, which can limit their ability to integrate with downstream tasks such as sampling and probabilistic forecasting. We show that any sufficiently regular differentiable nonconformity score induces a deterministic flow on the output space whose trajectories converge to the boundary of the corresponding conformal prediction set. This leads to a computationally efficient, training-free method for sampling conformal boundaries in arbitrary dimensions. Mixing across confidence levels yields conformal predictive distributions whose quantile regions coincide with the empirical conformal prediction sets. We provide an approximation bound decomposing CPD predictive error into score-induced distortion, base-measure quality, and gradient flow-induced distortion. We evaluate the approach on PDE inverse problems, precipitation downscaling, climate model debiasing, and hurricane trajectory forecasting.
BibTeX
@inproceedings{harris2026flow,
  author = {Trevor Harris},
  title = {{Flow-Based Conformal Predictive Distributions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=NLkjvjTgni},
}

Loading related content...

Figure