JGS2: Near Second-order Converging Jacobi/Gauss-Seidel for GPU Elastodynamics

Lei Lan, Zixuan Lu, Chun Yuan, Weiwei Xu, Hao Su, Huamin Wang, Chenfanfu Jiang, Yin Yang

Abstract

Simulating complex deformable objects in real-time requires a delicate balance between solver stability and computational efficiency. Traditional methods often force a choice between the high convergence rates of global Newton solvers and the massive parallelism of local Jacobi or Gauss-Seidel iterations. This paper introduces JGS2, a novel GPU-based algorithm that bridges this gap. By incorporating global energy variations into local updates through a second-order optimal solve, JGS2 achieves convergence rates comparable to Newton methods while maintaining the scalability of local solvers. Our results demonstrate 50x to 100x faster convergence than state-of-the-art GPU methods, particularly in scenarios involving stiff materials and complex frictional contacts.

1. Introduction

In computer graphics and physical simulation, the demand for high-fidelity elastodynamics—simulating materials like rubber, cloth, or organic tissue—has grown alongside the power of modern GPUs. However, researchers have long faced a fundamental trade-off. Global solvers, such as Newton’s method, converge in very few iterations but require solving massive, coupled systems of equations that are difficult to parallelize. Conversely, local solvers like Jacobi or Gauss-Seidel are "embarrassingly parallel" and ideal for GPUs, but they suffer from slow convergence and instability, especially when simulating stiff materials.

JGS2 (Jacobi/Gauss-Seidel Second-order) addresses this by introducing a "globally aware" local solver. It effectively eliminates the "overshoot" problem—where local updates inadvertently increase the system's total energy—by mathematically damping updates based on the rest of the model's state.

2. The Problem of Overshoot

The primary bottleneck for parallel GPU solvers in elastodynamics is overshoot. In a standard local solver, a single vertex or element moves to minimize its own local energy. Because the solver lacks context regarding the rest of the object, this aggressive local move can lead to a net increase in global energy. This results in agonizingly slow convergence or total simulation failure (explosions) when material stiffness is high. JGS2 identifies that the lack of global context, rather than a lack of raw processing power, is the culprit behind these failures.

3. Methodology

3.1 Second-order Optimal Local Solve

The core innovation of JGS2 is a local update formula that accounts for the energy variation of the entire model. By deriving a second-order approximation of the global energy change in response to a local perturbation, the algorithm applies a mathematical "damper." This ensures that every local step is optimized not just for the individual vertex, but for the global system, achieving Newton-level quadratic convergence.

3.2 Efficiency via Co-rotated Subspaces and Cubature

To maintain the speed of local solvers, JGS2 employs several efficiency-focused techniques:

  • Co-rotated Subspace: The algorithm pre-computes how local moves affect the global body in its rest shape. At runtime, this data is rotated to match the object's current orientation, allowing for rapid global awareness without full-system re-evaluation.
  • Cubature Sampling: Rather than inspecting every element during an iteration, JGS2 uses cubature—a technique that approximates global energy changes by observing a small set of representative sample points.
  • Accelerated Pre-computation: Using a linear algebra approach involving Lagrange multipliers, the authors reduced the necessary offline pre-computation time by three orders of magnitude, turning a process that once took days into one that takes minutes.

4. Experimental Evaluation

JGS2 was evaluated across a diverse set of high-resolution benchmarks designed to test the limits of GPU elastodynamics:

  • Large-scale Scenes: Simulations included "Barbarian ships" with 2.5 million elements and "Jack-o'-lanterns" featuring 6.7 million degrees of freedom.
  • Stiffness and Friction: The "House of Cards" benchmark, consisting of 155 cards with 200x stiffness variations, tested the solver's ability to handle complex frictional contacts.
  • Real-time Performance: A dragon model with 100k elements was simulated at over 120 FPS, demonstrating the method's suitability for interactive applications.

5. Results

JGS2 consistently outperforms existing state-of-the-art methods like Vertex Block Descent (VBD) and XPBD. Key findings include:

  • Convergence Speed: JGS2 is 50x to 100x faster than traditional parallel methods in reaching a converged solution.
  • Material Robustness: The solver can handle materials up to 1,000x stiffer than those manageable by previous parallel GPU solvers.
  • Contact Efficiency: When integrated with Incremental Potential Contact (IPC), JGS2 is approximately 8,000x faster than standard CPU-based Newton IPC solvers, making high-quality contact simulation feasible for large-scale scenes.

6. Discussion and Limitations

While JGS2 represents a significant leap forward, it does require an offline pre-computation step for each model. This currently limits the method's application in scenarios involving topological changes, such as cutting or tearing. Additionally, in cases of extreme non-linearity (e.g., high-velocity impacts), the second-order approximation may require a line search to maintain absolute stability.

7. Conclusion

JGS2 successfully combines the convergence characteristics of global optimization with the performance of local parallel solvers. By providing local updates with global context, it enables the stable, high-speed simulation of stiff, complex materials on the GPU, opening new possibilities for real-time physics in games, VR, and engineering visualization.

Summary updated

BibTeX
@article{lan2025jgs,
  author = {Lei Lan and Zixuan Lu and Chun Yuan and Weiwei Xu and Hao Su and Huamin Wang and Chenfanfu Jiang and Yin Yang},
  title = {{JGS2: Near Second-order Converging Jacobi/Gauss-Seidel for GPU Elastodynamics}},
  journal = {ACM Trans. Graphics},
  year = {2025},
  doi = {10.1145/3731183},
}
Figure