Neural Networks to solve Partial Differential Equations: a Comparison with Finite Elements
Andrea Sacchetti, Benjamin Bachmann, Kaspar L\"offel, Urs-Martin, K\"unzi, Beatrice Paoli

TL;DR
This paper compares neural network and finite element methods for solving a 2D heat equation, finding FEM generally more accurate and faster, with neural networks requiring careful tuning for high precision.
Contribution
It provides a detailed empirical comparison between FEM and neural networks for PDE solutions, highlighting the strengths and limitations of each approach.
Findings
FEM outperforms NN in accuracy and computational time for the tested PDE.
NN accuracy improves with optimizer refinement but remains less precise than FEM.
FEM achieves high accuracy (~10^{-5}) faster than NN in the studied case.
Abstract
We compare the Finite Element Method (FEM) simulation of a standard Partial Differential Equation thermal problem of a plate with a hole with a Neural Network (NN) simulation. The largest deviation from the true solution obtained from FEM ( for a solution on the order of unity) is easily achieved with NN too without much tuning of the hyperparameters. Accuracies below instead require refinement with an alternative optimizer to reach a similar performance with NN. A rough comparison between the Floating Point Operations values, as a machine-independent quantification of the computational performance, suggests a significant difference between FEM and NN in favour of the former. This also strongly holds for computation time: for an accuracy on the order of , FEM and NN require and seconds, respectively. A detailed analysis of the effect of varying…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
