NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Calibrated Physics-Informed Uncertainty Quantification

Vignesh Gopakumar, Ander Gray, Lorenzo Zanisi, Timothy Nunn, Daniel Giles, Matt Kusner, Stanislas Pamela, Marc Peter Deisenroth

Abstract

Neural networks have revolutionized the simulation of complex physical systems by providing speedups of several orders of magnitude compared to traditional numerical solvers. However, these "Neural PDE" surrogates often produce physically inconsistent results with high confidence, limiting their utility in safety-critical applications. We present CP-PRE, a novel framework that integrates Conformal Prediction (CP) with Physics Residual Errors (PRE). By utilizing the underlying partial differential equations (PDEs) as a nonconformity metric, CP-PRE generates mathematically rigorous uncertainty bounds without requiring expensive ground-truth calibration data. Our results across fluid dynamics and nuclear fusion simulations demonstrate that CP-PRE maintains target coverage guarantees even in out-of-distribution scenarios, offering a computationally efficient path toward reliable AI-driven physics modeling.

Introduction

Simulating physical phenomena—ranging from climate patterns to plasma stability in fusion reactors—traditionally involves solving complex Partial Differential Equations (PDEs). While numerical solvers provide high accuracy, their computational cost is often prohibitive for real-time applications or large-scale parameter sweeps. Neural PDEs, such as Fourier Neural Operators, have emerged as a high-speed alternative.

Despite their speed, these models suffer from a lack of robust Uncertainty Quantification (UQ). Traditional UQ methods like Bayesian Neural Networks or Monte Carlo Dropout often lack statistical guarantees and fail to account for the physical laws governing the system. Conformal Prediction (CP) offers a potential solution by providing distribution-free coverage guarantees; however, standard CP requires large volumes of labeled ground-truth data for calibration. In many scientific domains, generating this data is as computationally expensive as the simulation itself. CP-PRE addresses this bottleneck by leveraging the physics of the problem to calibrate uncertainty in a data-free manner.

Methodology: Physics Residuals as Nonconformity Scores

The core innovation of CP-PRE lies in the definition of the nonconformity score. In standard Conformal Prediction, the score typically measures the residual between a model's prediction and a ground-truth label. CP-PRE replaces this with the Physics Residual Error (PRE).

When a Neural PDE predicts a state, that prediction can be substituted back into the governing PDE. If the prediction is physically accurate, the residual should be zero. Any deviation from zero serves as a measure of the model's "nonconformity" with the laws of physics. Because the target residual is always known (zero), this method eliminates the need for labeled calibration data.

Computational Efficiency via Convolutions

Calculating spatio-temporal gradients for PDE residuals is traditionally memory-intensive when using standard Automatic Differentiation. To ensure the framework remains performant, the authors implement finite-difference stencils as 3D convolutional kernels. This approach leverages optimized GPU operations, achieving a 1000x speedup over traditional CPU-based gradient calculations.

Marginal vs. Joint Calibration

The framework supports two distinct modes of uncertainty quantification:

  1. Marginal CP: Provides localized, cell-by-cell error bars, useful for identifying specific regions in a simulation (e.g., turbulence zones) where the model is struggling.
  2. Joint CP: Provides domain-wide bounds. This allows for an "accept/reject" pipeline where a simulation rollout can be automatically discarded and routed to a traditional solver if the global physics violation exceeds a predefined threshold.

Experimental Validation

The authors evaluated CP-PRE across a hierarchy of physical systems:

  • Canonical PDEs: 1D Advection and Burgers' equations, and 2D Wave and Navier-Stokes equations.
  • Magnetohydrodynamics (MHD): Ideal MHD simulations relevant to astrophysics.
  • Nuclear Fusion Applications: High-fidelity modeling of plasma blob evolution (using JOREK code data) and magnetic equilibrium (Grad-Shafranov equation).

Key Results and Discussion

Rigorous Coverage Guarantees

CP-PRE successfully met target coverage levels (e.g., 90% or 95%) across all tested scenarios. Crucially, while Bayesian methods like MC Dropout and Deep Ensembles saw their coverage drop significantly (sometimes to 30-40%) when faced with out-of-distribution data, CP-PRE remained calibrated. This demonstrates that physical consistency is a more robust proxy for uncertainty than data variance alone.

Computational Advantages

By removing the need for ground-truth calibration data, CP-PRE offers massive time savings. In Navier-Stokes benchmarks, the calibration and evaluation phase for CP-PRE took only 134 seconds, compared to over 20,000 seconds for standard data-driven conformal methods—a nearly 150x improvement in workflow efficiency.

Limitations and Future Directions

While CP-PRE provides a rigorous framework for UQ, several challenges remain. Currently, the uncertainty bounds exist in the residual space (the degree of physics violation) rather than the physical space (e.g., velocity or pressure units). Mapping these residuals back to physical units is a non-trivial task that may require integral transforms. Additionally, the current implementation relies on regular grids for convolutional gradient estimation; extending this to the unstructured meshes common in industrial engineering will require the integration of Graph Neural Networks. Finally, the accuracy of the UQ is inherently linked to the resolution of the finite-difference stencils used, introducing a minor bottleneck based on grid discretization.

Conclusion

CP-PRE represents a significant step toward making Neural PDEs viable for high-stakes scientific discovery. By treating the laws of physics as the ultimate ground truth, the framework provides a mathematically sound and computationally efficient method for ensuring that AI surrogates remain grounded in reality.

Summary updated

BibTeX
@inproceedings{gopakumar2025calibrated,
  author = {Vignesh Gopakumar and Ander Gray and Lorenzo Zanisi and Timothy Nunn and Daniel Giles and Matt Kusner and Stanislas Pamela and Marc Peter Deisenroth},
  title = {{Calibrated Physics-Informed Uncertainty Quantification}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=Z2uLBBck2X},
}
Figure