An Efficient Multilevel Preconditioned Nonlinear Conjugate Gradient Method for Incremental Potential Contact

Yu Zhang, Xing Shen, Kemeng Huang, Wei Chen, Yin Yang, Taku Komura, Tiantian Liu, Xingang PanarXiv 2026

TL;DR

This paper introduces MAS-PNCG, a highly efficient solver for intersection-free physical simulations using Incremental Potential Contact (IPC). By combining a nonlinear conjugate gradient framework with a novel, cheaply updated hierarchical preconditioner, it eliminates the massive computational bottleneck of full Hessian matrix assembly. The result is up to a 5.66× speedup over state-of-the-art Newton-based solvers while maintaining identical penetration-free guarantees.

What Problem Does This Paper Address?

Physically-based simulation of soft bodies and cloth needs to handle collisions robustly to look realistic. The Incremental Potential Contact (IPC) framework is the gold standard because it mathematically guarantees zero interpenetration by treating contacts as barrier functions. However, IPC relies on Newton's method, which requires assembling a massive, complex matrix called the Hessian and solving a large linear system at every single iteration. This makes large-scale or highly detailed simulations painfully slow.

An alternative is the Preconditioned Nonlinear Conjugate Gradient (PNCG) method, which skips Hessian assembly entirely and only uses gradients. But PNCG has a fatal flaw: in stiff, contact-rich scenes, simple preconditioners (like Jacobi) fail to capture global coupling, causing the solver to stall. Advanced hierarchical preconditioners like Multilevel Additive Schwarz (MAS) can fix this, but they are too expensive to rebuild from scratch at every iteration as contacts rapidly activate and deactivate.

Methods

The authors present MAS-PNCG, which unlocks the power of MAS for nonlinear conjugate gradients through three key innovations:

  1. Sparse-Input Woodbury Updates: Instead of rebuilding the entire MAS hierarchy when contacts change, they freeze the coarse levels and incrementally update the fine-level (Level-0) subdomain inverses. Since contact changes are spatially sparse and primarily rank-1 along the contact normal, they use the Woodbury matrix identity to update the preconditioner at near-zero cost.
  2. Curvature-Optimal 2D Subspace Minimization: Traditional PNCG relies on heuristic formulas to find a search direction. MAS-PNCG leverages its low-rank approximated Hessian to analytically compute the optimal combination of the preconditioned gradient and the previous search direction within a 2D subspace.
  3. Localized Conservative CCD: Standard Continuous Collision Detection (CCD) computes a single global step size, meaning one tiny, stiff contact can freeze movement across the entire scene ("numerical locking"). The authors introduce a per-subdomain CCD that allows different regions to advance at locally optimal rates.

Datasets

The method was evaluated across several challenging 3D simulation scenarios (benchmarks) rather than standard machine learning datasets:

  • Teapots: 32 elastic teapots dropped into a box to test preconditioner efficacy.
  • Octopus Stack: Four overlapping octopuses falling to the ground to evaluate contact evolution.
  • Single/Two Bunnies: Complex soft-body impacts testing localized step sizes.
  • Dropping Letters: A stack of 3D letters with an extreme 500-fold material stiffness gradient.
  • Cloth Twisting: A narrow cloth strip twisted tightly to create dense self-collisions.
  • Dragon High: A high-resolution free-fall scene with 270k tetrahedral elements.
  • Puffer Balls: A massive simulation with 8 puffer balls, 1.14M vertices, 2.72M tetrahedra, and over 1M active contacts.

Key Insights and Ideas

  • Exploiting Contact Structure: The core "aha" moment is realizing that while the effective Hessian changes rapidly as contacts evolve, these changes are highly structured—they are localized (affecting only a few vertices) and dominated by a rank-1 component along the contact normal. This makes the Woodbury identity a perfect fit.
  • Hierarchy Freezing: Coarse levels of a multilevel preconditioner capture low-frequency error modes, which change slowly. Therefore, you can safely freeze them and only update the fine-level subdomains where sudden contact changes actually happen.
  • Breaking Global Locking: Moving from a global step size to a per-subdomain step size prevents a single localized collision from stalling the progress of the entire unconstrained simulation domain.

Key Results

  • Speedup: MAS-PNCG achieves up to 5.66× speedup over GIPC and up to 2.07× speedup over StiffGIPC, primarily driven by a dramatic reduction in search direction computation time.
Table 2. Performance Comparison with Timing Breakdown. We compare the average time per frame (s) for key solver stages against GIPC [Huang et al. 2024a] and StiffGIPC [Huang et al. 2025]. Both baselines are preconditioned with MAS in their inner PCG solvers. All timing columns show per-frame time in seconds. The breakdown includes gradient and Hessian computation, search direction computation, CCD, and line search. Speedup is calculated as (Baseline / Ours) and shows: vs GIPC, vs StiffGIPC.
  • Stiffness Robustness: Unlike Jacobi-PNCG, which fails to converge when materials get highly stiff, MAS-PNCG maintains robust convergence even with a 500-fold stiffness disparity.
Fig. 2. Convergence behavior of MAS-PNCG and Jacobi-PNCG under vary- ing material stiffness. MAS-PNCG maintains robust convergence even for highly stiff materials, while Jacobi-PNCG’s convergence degrades severely, failing to reach low error values for high stiffness materials.
  • Scale: It successfully simulates the massive "Puffer Balls" scene (1.14M vertices, >1M peak contacts) at 99 seconds per frame, achieving convergence quality comparable to a full Newton method without the memory and time overhead of full Hessian assembly.
Fig. 1. Eight puffer balls are dropped from mid-air and collide repeatedly. The scene contains more than 1.14 M vertices, 2.72 M tetrahedra, and over 1 M peak active contacts. The high degree of freedom and rapidly changing contact sets challenge classical Jacobi-PNCG, leading to both prohibitive runtimes and penetration issues. In contrast, our solver advances efficiently (99 seconds / frame), and attains convergence quality comparable to a full Newton method. The zoom-in view shows that our method is able to maintain accurate penetration-free result even in highly complex large-scale collision scenarios.

Limitations and Future Work

While the per-iteration cost is dramatically lower, the quasi-Newton nature of PNCG means it requires more total iterations to converge than full Newton methods. Consequently, the cumulative time spent on CCD and line search increases proportionally with the iteration count. Additionally, the coarse MAS levels are currently updated only periodically via a global restart strategy; finding a more continuous way to update coarse levels could further stabilize convergence.

Summary updated

BibTeX
@misc{zhang2026efficient,
  author = {Yu Zhang and Xing Shen and Kemeng Huang and Wei Chen and Yin Yang and Taku Komura and Tiantian Liu and Xingang Pan},
  title = {{An Efficient Multilevel Preconditioned Nonlinear Conjugate Gradient Method for Incremental Potential Contact}},
  year = {2026},
  eprint = {2604.19892},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.19892},
}

Loading related content...

Figure