A research framework for writing differentiable PDE discretizations in JAX

11/09/2021
by   Antonio Stanziola, et al.
0

Differentiable simulators are an emerging concept with applications in several fields, from reinforcement learning to optimal control. Their distinguishing feature is the ability to calculate analytic gradients with respect to the input parameters. Like neural networks, which are constructed by composing several building blocks called layers, a simulation often requires computing the output of an operator that can itself be decomposed into elementary units chained together. While each layer of a neural network represents a specific discrete operation, the same operator can have multiple representations, depending on the discretization employed and the research question that needs to be addressed. Here, we propose a simple design pattern to construct a library of differentiable operators and discretizations, by representing operators as mappings between families of continuous functions, parametrized by finite vectors. We demonstrate the approach on an acoustic optimization problem, where the Helmholtz equation is discretized using Fourier spectral methods, and differentiability is demonstrated using gradient descent to optimize the speed of sound of an acoustic lens. The proposed framework is open-sourced and available at <https://github.com/ucl-bug/jaxdf>

READ FULL TEXT

page 6

page 7

research
10/04/2021

Improved architectures and training algorithms for deep operator networks

Operator learning techniques have recently emerged as a powerful tool fo...
research
05/21/2022

Spectral Neural Operators

A plentitude of applications in scientific computing requires the approx...
research
07/08/2022

Differentiable Physics Simulations with Contacts: Do They Have Correct Gradients w.r.t. Position, Velocity and Control?

In recent years, an increasing amount of work has focused on differentia...
research
06/30/2022

j-Wave: An open-source differentiable wave simulator

We present an open-source differentiable acoustic simulator, j-Wave, whi...
research
06/03/2020

dynoNet: a neural network architecture for learning dynamical systems

This paper introduces a network architecture, called dynoNet, utilizing ...
research
07/14/2023

Optimal Dirichlet Boundary Control by Fourier Neural Operators Applied to Nonlinear Optics

We present an approach for solving optimal Dirichlet boundary control pr...

Please sign up or login with your details

Forgot password? Click here to reset