Half-Inverse Gradients for Physical Deep Learning

Patrick Schnell, Philipp Holl, Nils Thuerey
3/18/2022
9 citations
cs.LGphysics.comp-ph

Official code: tum-pbs/half-inverse-gradients (19 stars, Python, MIT, last commit 2022-04-20).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

Source code for the ICLR'22 paper on "Half-Inverse Gradients"

192PythonFeb 16, 20224 years agoMIT

Similar Papers

Cite this paper

@article{schnell2022halfinverse,
  title  = {Half-Inverse Gradients for Physical Deep Learning},
  author = {Patrick Schnell and Philipp Holl and Nils Thuerey},
  year   = {2022},
  eprint = {2203.10131},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.10131}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.10131.svg)](https://codeofpaper.com/paper/2203.10131)

Discussion