Half-Inverse Gradients for Physical Deep Learning
Patrick Schnell, Philipp Holl, Nils Thuerey
Abstract
Recent works in deep learning have shown that integrating differentiable physics simulators into the training process can greatly improve the quality of results. Although this combination represents a more complex optimization task than supervised neural network training, the same gradient-based optimizers are typically employed to minimize the loss function. However, the integrated physics solvers have a profound effect on the gradient flow as manipulating scales in magnitude and direction is an inherent property of many physical processes. Consequently, the gradient flow is often highly unbalanced and creates an environment in which existing gradient-based optimizers perform poorly. In this work, we analyze the characteristics of both physical and neural network optimizations to derive a new method that does not suffer from this phenomenon. Our method is based on a half-inversion of the Jacobian and combines principles of both classical network and physics optimizers to solve the combined optimization task. Compared to state-of-the-art neural network optimizers, our method converges more quickly and yields better solutions, which we demonstrate on three complex learning problems involving nonlinear oscillators, the Schroedinger equation and the Poisson problem.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers2
- ΦFlow: Differentiable Simulations for PyTorch, TensorFlow and JaxPhilipp Holl, Nils ThuereyICML 2024 · 29 citations
- Scale-invariant Learning by Physics InversionPhilipp Holl, Vladlen Koltun, Nils ThuereyNeurIPS 2022 · 10 citations
Builds on6
- Learning Mesh-Based Simulation with Graph NetworksTobias Pfaff, Meire Fortunato, Alvaro Sanchez-Gonzalez, Peter W. BattagliaICLR 2021 · 1,175 citations
- DiffTaichi: Differentiable Programming for Physical SimulationYuanming Hu, Luke Anderson, Tzu-Mao Li, Qi Sun et al.ICLR 2020 · 479 citations
- Solver-in-the-Loop: Learning from Differentiable Physics to Interact with Iterative PDE-SolversKiwon Um, Robert Brand, Yun (Raymond) Fei, Philipp Holl et al.NeurIPS 2020 · 398 citations
- Learning to Control PDEs with Differentiable PhysicsPhilipp Holl, Nils Thuerey, Vladlen KoltunICLR 2020 · 221 citations
- Lagrangian Fluid Simulation with Continuous ConvolutionsBenjamin Ummenhofer, Lukas Prantl, Nils Thuerey, Vladlen KoltunICLR 2020 · 211 citations
Related papers
- Metamizer: A Versatile Neural Optimizer for Fast and Accurate Physics SimulationsNils Wandel, Stefan Schulz, Reinhard KleinICLR 2025
- Learning a Neural Solver for Parametric PDEs to Enhance Physics-Informed MethodsLise Le Boudec, Emmanuel de Bézenac, Louis Serrano, Ramon Daniel Regueiro-Espino et al.ICLR 2025
- PRDP: Progressively Refined Differentiable PhysicsKanishk Bhatia, Felix Koehler, Nils ThuereyICLR 2025
- Deep Statistical SolversBalthazar Donon, Zhengying Liu, Wenzhuo Liu, Isabelle Guyon et al.NeurIPS 2020 · 22 citations
- NeuralStagger: Accelerating Physics-constrained Neural PDE Solver with Spatial-temporal DecompositionXinquan Huang, Wenlei Shi, Qi Meng, Yue Wang et al.ICML 2023 · 15 citations
