The Finite Element Neural Network Method: One Dimensional Study
Mohammed Abda, Elsa Piollet, Christopher Blake, Frédérick P. Gosselin
TL;DR
The paper introduces the Finite Element Neural Network Method (FENNM), a Petrov-Galerkin-inspired neural solver that embeds flux information from the weak form into a convolution-based residual, using a neural network to represent the global trial space and nonvanishing Lagrange test functions to allow natural and intermediate boundary terms. By leveraging convolution for Gauss quadrature and enforcing boundary conditions within the residual loss, FENNM achieves FEM-like accuracy with ML flexibility, demonstrated across one-dimensional benchmark problems including beam bending, a nonlinear pendulum, transport, and Poisson equations with steep or discontinuous features. The results show favorable convergence behavior, effective adaptive mesh refinement, and competitive rate of convergence compared to classical FEM, while maintaining a relatively fixed network DOF and enabling time-like extensions. Overall, FENNM narrows the gap between ML-based solvers and traditional numerical methods, offering a scalable path toward higher-dimensional and parameterized problems with improved optimization and practical industrial applicability.
Abstract
The potential of neural networks (NN) in engineering is rooted in their capacity to understand intricate patterns and complex systems, leveraging their universal nonlinear approximation capabilities and high expressivity. Meanwhile, conventional numerical methods, backed by years of meticulous refinement, continue to be the standard for accuracy and dependability. Bridging these paradigms, this research introduces the finite element neural network method (FENNM) within the framework of the Petrov-Galerkin method using convolution operations to approximate the weighted residual of the differential equations. The NN generates the global trial solution, while the test functions belong to the Lagrange test function space. FENNM introduces several key advantages. Notably, the weak-form of the differential equations introduces flux terms that contribute information to the loss function compared to VPINN, hp-VPINN, and cv-PINN. This enables the integration of forcing terms and natural boundary conditions into the loss function similar to conventional finite element method (FEM) solvers, facilitating its optimization, and extending its applicability to more complex problems, which will ease industrial adoption. This study will elaborate on the derivation of FENNM, highlighting its similarities with FEM. Additionally, it will provide insights into optimal utilization strategies and user guidelines to ensure cost-efficiency. Finally, the study illustrates the robustness and accuracy of FENNM by presenting multiple numerical case studies and applying adaptive mesh refinement techniques.
