cs.LGSep 26, 2026

Efficient Message Passing for Partial Differential Equation Priors

Authors: Anna Kazachkova, Leonhard Hennicke, Rainer Schlosser, Ralf Herbrich

Organizations: Hasso Plattner Institute University of Potsdam Potsdam, Germany

Abstract

Prior information for real-world physical quantities is most elegantly expressed via partial differential equations (PDEs). In this paper, we propose a novel way to solve PDEs using probabilistic inference on a factor graph. In general, factor graphs provide a natural way to encode prior knowledge into a model as explicit factors; here, this knowledge is provided by a governing PDE, which narrows the solution space, while observed data further shape the posterior over the parameters. The approximate parameter posterior is inferred using message passing based on moment matching, without posterior sampling or global gradient-based optimization. We demonstrate our approach on the first-order advection and the second-order semi-linear Fisher-KPP equations, where it achieves predictive accuracy comparable to a standard baseline while providing structured predictive uncertainty. Moreover, the inferred posterior marginal means and uncertainty structure match more closely those obtained using Hamiltonian Monte Carlo than the evaluated mean-field variational inference baseline, while requiring up to 10x less training time in our experiments, with inference speed comparable to variational inference.

Figures & tables

Appendix figures & tables15 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Information Geometry of Message Passing

    Aug 16, 2026Mykola Lukashchuk, Kyrylo Yemets, Alex Ledbetter +1Probabilistic Graphical ModelsVariational Inference

  2. Composing Non-Conjugate Factor Graphs with Closed-Form Variational Inference

    May 28, 2026Mykola Lukashchuk, Kyrylo Yemets, Wouter M. Kouw +4Factor Graph OptimizationMixture-of-Experts Inference

  3. Amortized Variational Inference for Joint Posterior and Predictive Distributions in Bayesian Uncertainty Quantification

    May 5, 2026Nan Feng, Xun HuanUncertainty QuantificationAmortized Inference