Uncertainty-Aware Diagnostics for Physics-Informed Machine Learning

Mara Daniels, Liam Hodgkinson, Michael W. Mahoney

TL;DR

The Physics-Informed Log Evidence (PILE) score provides a single, uncertainty-aware metric to solve the "multi-objective bottleneck" in physics-informed machine learning. By leveraging Gaussian Process theory, PILE allows researchers to automatically tune hyperparameters and select the best model architectures—even before any data is collected—bypassing the ambiguous trade-offs between data accuracy and physical consistency.

The Multi-Objective Ambiguity in PIML

Physics-Informed Machine Learning (PIML), such as Physics-Informed Neural Networks (PINNs), usually trains models by minimizing a combined loss function: one part for fitting observed data and another for satisfying physical laws (like differential equations).

This creates a major headache: multi-objective ambiguity. How much should you weight the physics loss versus the data loss? If the weights are off, the model might look like it’s performing well on training metrics while failing catastrophically in reality—a phenomenon known as a "failure mode." Furthermore, most PIML models lack a principled way to quantify uncertainty, making it hard to know if a prediction is a lucky guess or a robust physical inference.

Introducing the PILE Score

The authors move away from standard neural networks and work within the framework of Physics-Informed Kernel Learning (PIKL), which uses Gaussian Processes (GPs). Their primary contribution is the Physics-Informed Log Evidence (PILE) score.

  1. The PILE Score: Based on the concept of "Bayes free energy" (negative log-marginal likelihood), PILE is a single scalar value that represents how likely the observed data and physical constraints are, given a specific model. Lower is better.
  2. Hyperparameter Optimization: Instead of manually "grid searching" for the best weights or kernel bandwidths, researchers can simply minimize the PILE score.
  3. The Fredholm Connection: The paper proves a fascinating theoretical link: as the number of physics constraints goes to infinity, the PILE score converges to the Fredholm determinant of an integral operator. This allows for "data-free" diagnostics, where one can evaluate if a specific kernel (the "architecture") is mathematically well-suited to a specific partial differential equation (PDE) before even acquiring experimental data.

Key Insights and Results

The paper evaluates the PILE score on classic synthetic benchmarks, including the 2D Poisson Equation and the 1D Convection Equation, to test PIML robustness.

  • Bypassing the Pareto Front: In traditional PIML, you often have to choose a point on a "Pareto front" (balancing data vs. physics). PILE collapses this into a single objective, providing a "selection principle" that naturally balances the two based on statistical evidence.
  • Optimal Smoothing and Regularization: In the Poisson experiments, PILE successfully identified the "Goldilocks" zone for kernel bandwidth, data regularization, and physics regularization. Minimizing the PILE score closely aligns with minimizing the actual relative error, preventing both undersmoothing and oversmoothing.
PILE score optimization across hyperparameters
  • Architecture Selection Without Data: By calculating the Fredholm determinant, researchers can identify that an anisotropic kernel is superior to a standard RBF kernel for convection problems a priori.
  • Solving the Convection Failure: For the convection PDE, standard kernels failed to find a good fit. By optimizing the PILE score over a family of anisotropic kernels, the authors automatically identified a "well-adapted" kernel that yielded excellent predictive accuracy where previous methods struggled.
  • Detecting "All-Zero" Failures: PIML models often fail by converging to a trivial "all-zero" solution that technically satisfies the physics but ignores the data. The PILE score diverges in these scenarios, acting as a "smoke detector" for model misspecification.

Limitations and Future Work

  • Kernel Limitation: The current PILE framework is built on Gaussian Processes (PIKL). While mathematically elegant, GPs scale cubically $\mathcal{O}(N^3)$ with the number of points, making them more computationally expensive than neural networks for very large datasets.
  • Extension to Neural Networks: The authors acknowledge that extending PILE to PINNs is the next big step. They suggest using the Interpolating Information Criterion (IIC) or Neural Tangent Kernels (NTK) as a bridge to apply these uncertainty-aware diagnostics to deep learning architectures.
  • Nonlinear Operators: While the paper focuses on linear differential operators, the authors outline a path for nonlinear PDEs using Fréchet derivatives to linearize the operators during the diagnostic phase.

Summary updated

BibTeX
@inproceedings{daniels2026uncertainty,
  author = {Mara Daniels and Liam Hodgkinson and Michael W. Mahoney},
  title = {{Uncertainty-Aware Diagnostics for Physics-Informed Machine Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=7PORoDlSS4},
}
Figure