Guaranteed Prediction Sets for Functional Surrogate Models

Ander Gray, Vignesh Gopakumar, Sylvain Rousseau, Sebastien Destercke

Abstract

We propose a method for obtaining statistically guaranteed prediction sets for functional machine learning methods: surrogate models which map between function spaces, motivated by the need to build reliable PDE emulators. The method constructs nested prediction sets on a low-dimensional representation (an SVD) of the surrogate model's error, and then maps these sets to the prediction space using set-propagation techniques. This results in prediction sets for functional surrogate models with conformal prediction coverage guarantees. We use zonotopes as basis of the set construction, which allow an exact linear propagation and are closed under Cartesian products, making them well-suited to this high-dimensional problem. The method is model agnostic and can thus be applied to complex Sci-ML models, including Neural Operators, but also in simpler settings. We also introduce a technique to capture the truncation error of the SVD, preserving the guarantees of the method.

Introduction

Scientific Machine Learning (Sci-ML) has seen significant success in utilizing neural networks to emulate Partial Differential Equations (PDEs). Models such as Fourier Neural Operators (FNOs) and DeepONets can map inputs directly to complex function spaces, offering a computationally efficient alternative to traditional numerical solvers. However, a critical barrier to their deployment in safety-critical applications is the lack of quantitative reliability guarantees. While probabilistic methods provide uncertainty estimates, they often lack rigorous statistical backing.

This work addresses the challenge of generating statistically guaranteed prediction sets for high-dimensional, function-valued outputs. Standard conformal prediction methods, which offer such guarantees, typically struggle with the high dimensionality and complex correlations inherent in functional data. We propose a novel, model-agnostic pipeline that leverages the geometric properties of zonotopes to construct efficient and mathematically sound prediction sets.

Methodology: The Zonotope Pipeline

The proposed approach constructs multivariate prediction sets by directly parameterizing nested sets on calibration data, rather than relying on traditional non-conformity scores. The pipeline consists of several key stages:

  1. Error Analysis: Prediction errors are calculated using a pre-trained model on a held-out calibration dataset.
  2. Dimensionality Reduction: Singular Value Decomposition (SVD) projects these high-dimensional errors into a lower-dimensional latent space.
  3. Zonotope Construction: In the latent space, errors are enclosed within a family of nested zonotopes—a specific class of convex polytopes. These sets are centered at a point of high data-depth (e.g., Mahalanobis depth) to ensure they contract toward the densest error regions.
  4. Handling Truncation Error: To maintain strict guarantees despite SVD truncation, the discarded dimensions are bounded by a box. Since the Cartesian product of a zonotope and a box is itself a zonotope, these errors are seamlessly integrated.
  5. Conformal Calibration and Projection: The zonotope size is calibrated using inductive conformal prediction to achieve a target $1-\alpha$ coverage. The final set is projected back to the original high-dimensional space via exact linear transformation.
The proposed pipeline for constructing guaranteed prediction sets, involving SVD, latent space set construction, and final calibration.
Nested zonotopes centered at different points $p_z$, demonstrating how the choice of center affects the geometry of the prediction sets.

Experimental Evaluation

The method was evaluated on several high-dimensional PDE benchmarks, including Burgers', Wave, and Navier-Stokes equations, using FNO and DeepONet architectures. It was also benchmarked against standard multivariate datasets including Bias, Music, and Indoor datasets.

Key Results

  • Statistical Validity: The method consistently achieved the target empirical coverage (e.g., ~88-91% for a 90% target) across all tested models and datasets, confirming the mathematical soundness of the approach.
  • Efficiency and Tightness: Compared to baseline "modulation" methods, the zonotope approach produced significantly tighter prediction sets. For instance, on the Burgers' equation benchmark, the set volume was reduced by an order of magnitude compared to the baseline.
  • Scalability: The pipeline is highly efficient; calibrating sets for a 1024-dimensional output takes approximately 75 seconds on a standard laptop, while generating a guaranteed prediction set for a new input takes just 0.02 seconds.

Conclusion

By utilizing zonotopes as the primary geometric tool, we provide a robust framework for functional conformal prediction. The closure of zonotopes under linear transformations and Cartesian products allows for exact handling of projection and truncation errors, preserving statistical guarantees in high-dimensional spaces. Future work will explore analytical expressions for zonotope membership to further accelerate calibration and investigate methods for achieving conditional coverage.

Summary updated

BibTeX
@inproceedings{gray2025guaranteed,
  author = {Ander Gray and Vignesh Gopakumar and Sylvain Rousseau and Sebastien Destercke},
  title = {{Guaranteed Prediction Sets for Functional Surrogate Models}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2025},
  url = {https://openreview.net/forum?id=TMg1JYoR4u},
}
Figure