stat.MLMay 22, 2025

Repulsive Ensembles for Bayesian Inference in Physics-informed Neural Networks

Authors: Philipp Pilar, Markus Heinonen, Niklas Wahlström

Organizations: Department of Information Technology Uppsala University, Uppsala, Sweden · Department of Computer Science Aalto University, Espoo, Finland

Abstract

Physics-informed neural networks (PINNs) have proven an effective tool for solving differential equations, in particular when considering the inverse problem. When inferring solutions and parameters of the differential equation from data, uncertainty estimates are preferable to point estimates, as they give an idea about the accuracy of the solution. In this work, we consider the inverse problem for a selection of basic differential equations and employ repulsive ensembles of PINNs (RE-PINN) to obtain such estimates. The repulsion is implemented by adding a particular repulsive term to the loss function, which has the property that the ensemble predictions correspond to the true Bayesian posterior in the limit of infinite ensemble members. Where available, we compare the ensemble predictions to Monte Carlo baselines. Whereas the standard ensemble tends to collapse to maximum-a-posteriori solutions, the repulsive ensemble produces significantly more accurate uncertainty estimates and exhibits higher sample diversity. The experimental results demonstrate that RE-PINN can accurately infer the Bayesian posterior in low-dimensional problems, establishing repulsive ensembles as a promising framework for uncertainty quantification in PINNs.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Uncertainty Quantification in PINNs for Turbulent Flows: Bayesian Inference and Repulsive Ensembles

    Apr 18, 2026Khemraj Shukla, Zongren Zou, Theo Kaeufer +2Uncertainty QuantificationDeep Ensembles

  2. Functional-prior-based approaches to Bayesian PDE-constrained inversion using physics-informed neural networks

    May 8, 2026Ryoichiro Agata, Tomohisa OkazakiBayesian Inverse ProblemsPhysics-Informed ML