Variational Inference Using a Differentiable Multigrid Linear Solver

📅 2026-08-01
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the computational challenge of gradient evaluation in high-dimensional forward models arising in PDE-constrained inverse problems by introducing a Differentiable Multigrid Solver (DMGS). For the first time, DMGS enables compatibility between exact adjoint operations and automatic differentiation frameworks. The method explicitly derives the full multigrid hierarchy’s adjoint operators for steady-state diffusion-absorption problems and integrates them into JAX, efficiently supporting both Jacobian-vector and vector-Jacobian products. Applied to a 3D tissue diffuse radiative transfer inverse problem, DMGS achieves accurate reconstruction of effective radiation sources (χ² = 1.1) with reduced peak memory usage and controllable backward-pass overhead, while demonstrating strong generalization across 32 validation cases.
📝 Abstract
Gradient-based Bayesian inference methods require efficient access to Jacobian and adjoint-Jacobian operators of high-dimensional forward models. While multigrid solvers provide near-optimal complexity for elliptic partial differential equations, they are rarely available in forms compatible with automatic differentiation (AD). We develop a differentiable multigrid solver for steady-state diffusion-absorption problems and derive its adjoint operations analytically through the full multigrid hierarchy. The resulting solver, DMGS, is implemented in C++ and interfaced with JAX to provide efficient Jacobian-vector and vector-Jacobian products for variational inference in the NIFTy framework. We validate the approach on a 3D inverse problem involving diffuse radiative transfer in tissue, reconstructing an effective radiative source from Monte Carlo-simulated data. The reconstruction reproduces the data at a reduced chi-squared of 1.1 and generalizes to 32 independent validation datasets. Benchmarks against a JAX-native multigrid implementation show comparable runtimes and consistently lower peak memory for the hand-derived adjoint, with modest reverse-mode overhead. These results establish differentiable multigrid solvers as practical building blocks for variational inference in PDE-constrained problems.
Problem

Research questions and friction points this paper is trying to address.

variational inference
multigrid solver
automatic differentiation
PDE-constrained inverse problems
adjoint operations
Innovation

Methods, ideas, or system contributions that make the work stand out.

differentiable multigrid
variational inference
adjoint solver
automatic differentiation
PDE-constrained inverse problems
💼 Related Jobs
No related jobs found.
A
Andrés Ramírez
Universität Innsbruck, Institut für Astro- und Teilchenphysik, Technikerstr. 25/8, 6020 Innsbruck, Austria
P
Philipp Haim
Institute of Biological and Medical Imaging, Institute of Computational Biology, and Institute of AI for Health, Bioengineering Center and Computational Health Center, Helmholtz Zentrum München, D-85764 Neuherberg, Germany; Chair of Biological Imaging, Central Institute for Translational Cancer Research (TranslaTUM), School of Medicine and Health & School of Computation, Information and Technology, Technical University of Munich, Munich, Germany
D
David Föger
Universität Innsbruck, Institut für Informatik, Technikerstr. 21 a, 6020 Innsbruck, Austria
T
Torsten A. Enßlin
Max Planck Institute for Astrophysics, Karl-Schwarzschild-Straße 1, 85748 Garching bei München, Germany; Ludwig Maximilian University of Munich, Geschwister-Scholl-Platz 1, 80539 München, Germany; Deutsches Zentrum für Astrophysik, Postplatz 1, 02826 Görlitz, Germany; Excellence cluster ORIGINS, Boltzmannstr. 2, 85748 Garching, Germany
P
Philipp Frank
Max Planck Institute for Astrophysics, Karl-Schwarzschild-Straße 1, 85748 Garching bei München, Germany
Philipp Gschwandtner
Philipp Gschwandtner
University of Innsbruck
high performance computingperformance analysisauto-tuningmulti-objective optimizationenergy optimization
Dominik Jüstel
Dominik Jüstel
Helmholtz Munich, IBMI, ICB & AIH, and Technical University of Munich, CBI
optoacoustic imagingX-ray diffraction imagingharmonic analysisartificial intelligence
P
Philipp Mertsch
Institute for Theoretical Particle Physics and Cosmology, RWTH Aachen University, Sommerfeldstr. 16, 52074 Aachen, Germany
V
Vo Hong Minh Phan
Sorbonne Université, Observatoire de Paris, PSL Research University, LERMA, CNRS UMR 8112, 75005 Paris, France
L
Laurin Söding
Institute for Theoretical Particle Physics and Cosmology, RWTH Aachen University, Sommerfeldstr. 16, 52074 Aachen, Germany; Max Planck Institute for Astrophysics, Karl-Schwarzschild-Straße 1, 85748 Garching bei München, Germany
H
Hanieh Zandinejad
Max Planck Institute for Astrophysics, Karl-Schwarzschild-Straße 1, 85748 Garching bei München, Germany; Ludwig Maximilian University of Munich, Geschwister-Scholl-Platz 1, 80539 München, Germany
R
Ralf Kissmann
Universität Innsbruck, Institut für Astro- und Teilchenphysik, Technikerstr. 25/8, 6020 Innsbruck, Austria