A differentiable multigrid solver is developed for steady-state diffusion-absorption problems and derive its adjoint operations analytically through the full multigrid hierarchy, establishing differentiable multigrid solvers as practical building blocks for variational inference in PDE-constrained problems.
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.
It is shown that the forward DAE solve and its reverse-mode sensitivity can be unified in one JAX-native suite, and the DAE becomes a differentiable primitive for inference, control, and design.
A smooth artificial viscosity treatment based on smooth approximations of non-differentiable pointwise operations is introduced based on smooth approximations of non-differentiable pointwise operations to ensure robust and differentiable nonlinear solves in the presence of shocks.
Julian Andrej, Jean-Sylvain Camier, V. Dobrev et al.· 0 citations
This work proposes and compares several approaches to solve the Boltzmann equation with uncertain parameters, including multilevel Monte Carlo and multifidelity methods that employ an asymptotic-preserving-hybrid scheme for the deterministic Boltzmann model and provides practical guidelines for selection between APH-ba...
Yi-Wen Lin, Liu Liu· Multiscale Modeling & Si...· 0 citations
A solution framework with fast matrix-free operator evaluation for all ingredients, combined with multigrid solvers for the Poisson problem, and a robust mixed-precision algorithmic framework to generate accurate initial guesses for the iterative linear solvers are developed.
Ivan Prusak, Enes Mustafa Soydan, Ivan Pribec et al.· 0 citations
This work extends the Oxford Parallel library for Structured mesh solvers (OPS) domain-specific language to compute derivatives using the reverse mode of AD, and focuses on adjoint-mode AD for structured mesh stencil applications.
G. D. Balogh, J. Lotz, J. du Toit et al.· ACM Transactions on Mathemat...· 0 citations
High-dimensional sensitivity analysis and uncertainty quantification for multiscale gas dynamics, spanning the continuum to rarefied regimes, require computationally efficient and mathematically consistent gradient evaluation. This paper develops a discrete adjoint method for the unified gas-kinetic scheme (UGKS) based...
Yue Zhang, Jun Cao, Wen-Pei Long et al.· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.