Variational Inference Using Material Point Method
Yongchao Huang
TL;DR
This work introduces MPM-ParVI, a gradient-based, physics-guided sampling method that casts variational inference as the deformation of an interacting particle system via the Material Point Method. By representing the target density with a score field and applying it as an external force on a background grid, the method deterministically evolves particles to approximate $p(\mathbf{x})$ through a structured P2G–G2P cycle with PIC or APIC transfers. The approach integrates continuum mechanics with probabilistic inference, enabling automatic mass/momentum conservation, multi-modality handling, and efficient simulation of large deformations, while remaining easy to implement and parallelizable. However, it faces scalability challenges in high dimensions due to the intrinsic grid-based representation and requires further theoretical grounding and empirical validation. Overall, MPM-ParVI broadens the spectrum of physics-based ParVI methods, offering a novel, deterministic pathway for Bayesian inference and score-based generative modelling that leverages the strengths of MPM for complex densities and geometric configurations.
Abstract
A new gradient-based particle sampling method, MPM-ParVI, based on material point method (MPM), is proposed for variational inference. MPM-ParVI simulates the deformation of a deformable body (e.g. a solid or fluid) under external effects driven by the target density; transient or steady configuration of the deformable body approximates the target density. The continuum material is modelled as an interacting particle system (IPS) using MPM, each particle carries full physical properties, interacts and evolves following conservation dynamics. This easy-to-implement ParVI method offers deterministic sampling and inference for a class of probabilistic models such as those encountered in Bayesian inference (e.g. intractable densities) and generative modelling (e.g. score-based).
