Hybrid FEM-NN models: Combining artificial neural networks with the finite element method

Sebastian K. Mitusch, Simon W. Funke, Miroslav Kuchta
1/4/2021
145 citations
math.NAcs.LG

Official code: sebastkm/hybrid-fem-nn-examples (36 stars, Python, last commit 2021-09-03). 1 more implementation below.

Abstract

We present a methodology combining neural networks with physical principle constraints in the form of partial differential equations (PDEs). The approach allows to train neural networks while respecting the PDEs as a strong constraint in the optimisation as apposed to making them part of the loss function.

Show full abstract

The resulting models are discretised in space by the finite element method (FEM). The method applies to both stationary and transient as well as linear/nonlinear PDEs. We describe implementation of the approach as an extension of the existing FEM framework FEniCS and its algorithmic differentiation tool dolfin-adjoint. Through series of examples we demonstrate capabilities of the approach to recover coefficients and missing PDE operators from observations. Further, the proposed method is compared with alternative methodologies, namely, physics informed neural networks and standard PDE-constrained optimisation. Finally, we demonstrate the method on a complex cardiac cell model problem using deep neural networks.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
sebastkm/hybrid-fem-nn-examplesOfficial36Python–2021-09-03
sebastkm/hybrid-fem-nnOfficial32Python–2022-08-31
3612PythonJul 2, 20215 years ago
3217PythonDec 23, 20204 years ago

Similar Papers

Cite this paper

@article{mitusch2021hybrid,
  title  = {Hybrid FEM-NN models: Combining artificial neural networks with the finite element method},
  author = {Sebastian K. Mitusch and Simon W. Funke and Miroslav Kuchta},
  year   = {2021},
  eprint = {2101.00962},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.00962}
}

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/2101.00962.svg)](https://codeofpaper.com/paper/2101.00962)

Discussion