Preconditioned Nonlinear Conjugate Gradient Method for Real-time Interior-point Hyperelasticity (2405.08001v1)
Abstract: The linear conjugate gradient method is widely used in physical simulation, particularly for solving large-scale linear systems derived from Newton's method. The nonlinear conjugate gradient method generalizes the conjugate gradient method to nonlinear optimization, which is extensively utilized in solving practical large-scale unconstrained optimization problems. However, it is rarely discussed in physical simulation due to the requirement of multiple vector-vector dot products. Fortunately, with the advancement of GPU-parallel acceleration techniques, it is no longer a bottleneck. In this paper, we propose a Jacobi preconditioned nonlinear conjugate gradient method for elastic deformation using interior-point methods. Our method is straightforward, GPU-parallelizable, and exhibits fast convergence and robustness against large time steps. The employment of the barrier function in interior-point methods necessitates continuous collision detection per iteration to obtain a penetration-free step size, which is computationally expensive and challenging to parallelize on GPUs. To address this issue, we introduce a line search strategy that deduces an appropriate step size in a single pass, eliminating the need for additional collision detection. Furthermore, we simplify and accelerate the computations of Jacobi preconditioning and Hessian-vector product for hyperelasticity and barrier function. Our method can accurately simulate objects comprising over 100,000 tetrahedra in complex self-collision scenarios at real-time speeds.
- Neculai Andrei. 2009. Acceleration of conjugate gradient algorithms for unconstrained optimization. Appl. Math. Comput. 213, 2 (2009), 361–369.
- Neculai Andrei. 2013. Another conjugate gradient algorithm with guaranteed descent and conjugacy conditions for large-scale unconstrained optimization. Journal of Optimization Theory and Applications 159 (2013), 159–182.
- Neculai Andrei et al. 2020. Nonlinear conjugate gradient methods for unconstrained optimization. Springer.
- Jonathan Barzilai and Jonathan M Borwein. 1988. Two-point step size gradient methods. IMA journal of numerical analysis 8, 1 (1988), 141–148.
- Discrete elastic rods. In ACM SIGGRAPH 2008 papers. 1–12.
- Javier Bonet and Richard D. Wood. 2008. Nonlinear Continuum Mechanics for Finite Element Analysis (2 ed.). Cambridge University Press. https://doi.org/10.1017/CBO9780511755446
- Projective dynamics. ACM Transactions on Graphics 33 (07 2014), 1–11. https://doi.org/10.1145/2601097.2601116
- Min Gyu Choi and Hyeong-Seok Ko. 2005. Modal warping: Real-time simulation of large rotational deformation and manipulation. IEEE Transactions on Visualization and Computer Graphics 11, 1 (2005), 91–101.
- Yu-Hong Dai and Cai-Xia Kou. 2013. A nonlinear conjugate gradient algorithm with an optimal property and an improved Wolfe line search. SIAM Journal on Optimization 23, 1 (2013), 296–320.
- Kenny Erleben. 2018. Methodology for Assessing Mesh-Based Contact Point Methods. ACM Trans. Graph. 37, 3, Article 39 (jul 2018), 30 pages. https://doi.org/10.1145/3096239
- Guaranteed globally injective 3D deformation processing. ACM Transactions on Graphics 40, 4 (2021).
- Intersection-free rigid body dynamics. ACM Transactions on Graphics 40, 4 (2021).
- Roger Fletcher. 2000. Practical methods of optimization. John Wiley & Sons.
- Reeves Fletcher and Colin M Reeves. 1964. Function minimization by conjugate gradients. The computer journal 7, 2 (1964), 149–154.
- William W Hager and Hongchao Zhang. 2005. A new conjugate gradient method with guaranteed descent and an efficient line search. SIAM Journal on optimization 16, 1 (2005), 170–192.
- Taichi: a language for high-performance computation on spatially sparse data structures. ACM Transactions on Graphics (TOG) 38, 6 (2019), 1–16.
- Finite element analysis of nonsmooth contact. Computer methods in applied mechanics and engineering 180, 1-2 (1999), 1–26.
- Staggered projections for frictional contact in multibody systems. In ACM SIGGRAPH Asia 2008 papers. 1–11.
- Theodore Kim and David Eberle. 2022. Dynamic deformables: implementation and production practicalities (now with code!). In ACM SIGGRAPH 2022 Courses. 1–259.
- Affine body dynamics: fast, stable and intersection-free simulation of stiff materials. 41, 4, Article 67 (jul 2022), 14 pages. https://doi.org/10.1145/3528223.3530064
- Second-order Stencil Descent for Interior-point Hyperelasticity. ACM Trans. Graph. 42, 4, Article 108 (jul 2023), 16 pages. https://doi.org/10.1145/3592104
- Penetration-free projective dynamics on the GPU. ACM Transactions on Graphics (TOG) 41, 4 (2022), 1–16.
- Medial IPC: accelerated incremental potential contact with medial elastics. ACM Transactions on Graphics 40, 4 (2021).
- Incremental potential contact: intersection-and inversion-free, large-deformation dynamics. ACM Trans. Graph. 39, 4 (2020), 49.
- Codimensional Incremental Potential Contact. ACM Trans. Graph. (SIGGRAPH) 40, 4, Article 170 (2021).
- Subspace-Preconditioned GPU Projective Dynamics with Contact for Cloth Simulation. In SIGGRAPH Asia 2023 Conference Papers. 1–12.
- BFEMP: Interpenetration-free MPM–FEM coupling with barrier contact. Computer Methods in Applied Mechanics and Engineering 390 (2022), 114350.
- Quasi-newton methods for real-time simulation of hyperelastic materials. Acm Transactions on Graphics (TOG) 36, 3 (2017), 1–16.
- Zexian Liu and Hongwei Liu. 2018. Several efficient gradient methods with approximate optimal stepsizes for large scale unconstrained optimization. J. Comput. Appl. Math. 328 (2018), 400–413.
- Accelerated complex-step finite difference for expedient deformable simulation. ACM Transactions on Graphics (TOG) 38, 6 (2019), 1–16.
- XPBD: position-based simulation of compliant constrained dynamics. In Proceedings of the 9th International Conference on Motion in Games. 49–54.
- Sanjay Mehrotra. 1992. On the implementation of a primal-dual interior point method. SIAM Journal on optimization 2, 4 (1992), 575–601.
- Real-time deformable models for surgery simulation: a survey. Computer methods and programs in biomedicine 77, 3 (2005), 183–197.
- matthias-research/pages. https://github.com/matthias-research/pages
- Jorge Nocedal and Stephen J Wright. 1999. Numerical optimization. Springer.
- Elijah Polak and Gerard Ribiere. 1969. Note sur la convergence de méthodes de directions conjuguées. Revue française d’informatique et de recherche opérationnelle. Série rouge 3, 16 (1969), 35–43.
- Boris Teodorovich Polyak. 1969. The conjugate gradient method in extremal problems. U. S. S. R. Comput. Math. and Math. Phys. 9, 4 (1969), 94–112.
- Virtual reality simulation modeling for a haptic glove. In Proceedings Computer Animation 1999. IEEE, 195–200.
- Stable neo-hookean flesh simulation. ACM Transactions on Graphics (TOG) 37, 2 (2018), 1–15.
- Robust quasistatic finite elements and flesh simulation. In Proceedings of the 2005 ACM SIGGRAPH/Eurographics symposium on Computer animation. 181–190.
- Demetri Terzopoulos and Kurt Fleischer. 1988. Deformable models. The visual computer 4, 6 (1988), 306–331.
- Elastically deformable models. In Proceedings of the 14th annual conference on Computer graphics and interactive techniques. 205–214.
- Constraints on deformable models: Recovering 3D shape and nonrigid motion. Artificial intelligence 36, 1 (1988), 91–123.
- Highly deformable 3-D printed soft robot generating inching and crawling locomotions with variable friction legs. In 2013 IEEE/RSJ international conference on Intelligent Robots and Systems. IEEE, 4590–4595.
- Mickeal Verschoor and Andrei C Jalba. 2019. Efficient and accurate collision response for elastically deformable models. ACM Transactions on Graphics (TOG) 38, 2 (2019), 1–20.
- Huamin Wang. 2018. Rule-free sewing pattern adjustment with precision and efficiency. ACM Transactions on Graphics (TOG) 37, 4 (2018), 1–13.
- Huamin Wang and Yin Yang. 2016. Descent methods for elastic body simulation on the GPU. ACM Transactions on Graphics (TOG) 35, 6 (2016), 1–10.
- Fast GPU-Based Two-Way Continuous Collision Handling. ACM Transactions on Graphics 42, 5 (2023), 1–15.
- A Contact Proxy Splitting Method for Lagrangian Solid-Fluid Coupling. ACM Transactions on Graphics (TOG) 42, 4 (2023), 1–14.
- MeshTaichi: A Compiler for Efficient Mesh-Based Operations. ACM Trans. Graph. 41, 6, Article 252 (nov 2022), 17 pages. https://doi.org/10.1145/3550454.3555430
- A barrier method for frictional contact on embedded interfaces. Computer Methods in Applied Mechanics and Engineering 393 (2022), 114820.