MGPBD: A Multigrid Accelerated Global XPBD Solver
Chunlei Li, Peng Yu, Tiantian Liu, Siyuan Yu, Yuting Xiao, Shuai Li, Aimin Hao, Yang Gao, Qinping Zhao
TL;DR
MGPBD tackles the instability and stagnation of XPBD in high-resolution, high-stiffness deformable simulations by introducing a dual-space UA-AMG preconditioned CG solver. The approach leverages lazy setup to reuse prolongators, and a lightweight near-kernel construction to bootstrap the multigrid hierarchy, achieving robust convergence with sparser coarse grids. Empirical results across diverse scenes show substantial convergence gains, improved numerical stability, and near-linear per-iteration time scaling with mesh resolution, outperforming XPBD and primal-space MG methods, especially at extreme stiffness. The work enables efficient, stable, high-fidelity deformable simulations and provides a practical, GPU-accelerated framework for integrating AMG into XPBD pipelines.
Abstract
We introduce a novel Unsmoothed Aggregation (UA) Algebraic Multigrid (AMG) method combined with Preconditioned Conjugate Gradient (PCG) to overcome the limitations of Extended Position-Based Dynamics (XPBD) in high-resolution and high-stiffness simulations. While XPBD excels in simulating deformable objects due to its speed and simplicity, its nonlinear Gauss-Seidel (GS) solver often struggles with low-frequency errors, leading to instability and stalling issues, especially in high-resolution, high-stiffness simulations. Our multigrid approach addresses these issues efficiently by leveraging AMG. To reduce the computational overhead of traditional AMG, where prolongator construction can consume up to two-thirds of the runtime, we propose a lazy setup strategy that reuses prolongators across iterations based on matrix structure and physical significance. Furthermore, we introduce a simplified method for constructing near-kernel components by applying a few sweeps of iterative methods to the homogeneous equation, achieving convergence rates comparable to adaptive smoothed aggregation (adaptive-SA) at a lower computational cost. Experimental results demonstrate that our method significantly improves convergence rates and numerical stability, enabling efficient and stable high-resolution simulations of deformable objects.
