ξ-torch: differentiable scientific computing library

10/05/2020
by   Muhammad F. Kasim, et al.
0

Physics-informed learning has shown to have a better generalization than learning without physical priors. However, training physics-informed deep neural networks requires some aspect of physical simulations to be written in a differentiable manner. Unfortunately, some operations and functionals commonly used in physical simulations are scattered, hard to integrate, and lack higher order derivatives which are needed in physical simulations. In this work, we present ξ-torch, a library of differentiable functionals for scientific simulations. Example functionals are a root finder and an initial value problem solver, among others. The gradient of functionals in ξ-torch are written based on their analytical expression to improve numerical stability and reduce memory requirements. ξ-torch also provides second and higher order derivatives of the functionals which are rarely available in existing packages. We show two applications of this library in optimizing parameters in physics simulations. The library and all test cases in this work can be found at https://github.com/xitorch/xitorch/ and the documentation at https://xitorch.readthedocs.io.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/22/2022

Differentiable and Learnable Robot Models

Building differentiable simulations of physical processes has recently r...
research
01/13/2020

Understanding and mitigating gradient pathologies in physics-informed neural networks

The widespread use of neural networks across different scientific domain...
research
07/23/2023

JAX FDM: A differentiable solver for inverse form-finding

We introduce JAX FDM, a differentiable solver to design mechanically eff...
research
01/29/2023

PhyCV: The First Physics-inspired Computer Vision Library

PhyCV is the first computer vision library which utilizes algorithms dir...
research
10/01/2019

DiffTaichi: Differentiable Programming for Physical Simulation

We study the problem of learning and optimizing through physical simulat...
research
09/24/2022

Higher-Order Error estimates for physics-informed neural networks approximating the primitive equations

Large scale dynamics of the oceans and the atmosphere are governed by th...
research
09/11/2021

Physics-based Deep Learning

This digital book contains a practical and comprehensive introduction of...

Please sign up or login with your details

Forgot password? Click here to reset