Adaptive quadratures for nonlinear approximation of low-dimensional PDEs using smooth neural networks

03/21/2023
by   Alexandre Magueresse, et al.
0

Physics-informed neural networks (PINNs) and their variants have recently emerged as alternatives to traditional partial differential equation (PDE) solvers, but little literature has focused on devising accurate numerical integration methods for neural networks (NNs), which is essential for getting accurate solutions. In this work, we propose adaptive quadratures for the accurate integration of neural networks and apply them to loss functions appearing in low-dimensional PDE discretisations. We show that at opposite ends of the spectrum, continuous piecewise linear (CPWL) activation functions enable one to bound the integration error, while smooth activations ease the convergence of the optimisation problem. We strike a balance by considering a CPWL approximation of a smooth activation function. The CPWL activation is used to obtain an adaptive decomposition of the domain into regions where the network is almost linear, and we derive an adaptive global quadrature from this mesh. The loss function is then obtained by evaluating the smooth network (together with other quantities, e.g., the forcing term) at the quadrature points. We propose a method to approximate a class of smooth activations by CPWL functions and show that it has a quadratic convergence rate. We then derive an upper bound for the overall integration error of our proposed adaptive quadrature. The benefits of our quadrature are evaluated on a strong and weak formulation of the Poisson equation in dimensions one and two. Our numerical experiments suggest that compared to Monte-Carlo integration, our adaptive quadrature makes the convergence of NNs quicker and more robust to parameter initialisation while needing significantly fewer integration points and keeping similar training times.

READ FULL TEXT

page 16

page 17

page 20

research
03/22/2023

Error Analysis of Physics-Informed Neural Networks for Approximating Dynamic PDEs of Second Order in Time

We consider the approximation of a class of dynamic partial differential...
research
09/25/2019

Locally adaptive activation functions with slope recovery term for deep and physics-informed neural networks

We propose two approaches of locally adaptive activation functions namel...
research
12/01/2022

On the Compatibility between a Neural Network and a Partial Differential Equation for Physics-informed Learning

We shed light on a pitfall and an opportunity in physics-informed neural...
research
08/25/2022

CAS4DL: Christoffel Adaptive Sampling for function approximation via Deep Learning

The problem of approximating smooth, multivariate functions from sample ...
research
10/19/2021

Multi-Objective Loss Balancing for Physics-Informed Deep Learning

Physics Informed Neural Networks (PINN) are algorithms from deep learnin...
research
06/08/2023

On the Identification and Optimization of Nonsmooth Superposition Operators in Semilinear Elliptic PDEs

We study an infinite-dimensional optimization problem that aims to ident...
research
11/24/2022

The adaptive Levin method

The Levin method is a classical technique for evaluating oscillatory int...

Please sign up or login with your details

Forgot password? Click here to reset