Hostname: page-component-5db58dd55d-f6s65 Total loading time: 0 Render date: 2026-06-24T16:22:04.957Z Has data issue: false hasContentIssue false

Neural network ensembles and uncertainty estimation for predictions of inelastic mechanical deformation using a finite element method-neural network approach

Published online by Cambridge University Press:  23 October 2023

Guy L. Bergel*
Affiliation:
Sandia National Laboratories, Livermore, CA, USA
David Montes de Oca Zapiain
Affiliation:
Sandia National Laboratories, Albuquerque, NM, USA
Vicente Romero
Affiliation:
Sandia National Laboratories, Albuquerque, NM, USA
*
Corresponding author: Guy L. Bergel; Email: bergel1@llnl.gov

Abstract

The finite element method (FEM) is widely used to simulate a variety of physics phenomena. Approaches that integrate FEM with neural networks (NNs) are typically leveraged as an alternative to conducting expensive FEM simulations in order to reduce the computational cost without significantly sacrificing accuracy. However, these methods can produce biased predictions that deviate from those obtained with FEM, since these hybrid FEM-NN approaches rely on approximations trained using physically relevant quantities. In this work, an uncertainty estimation framework is introduced that leverages ensembles of Bayesian neural networks to produce diverse sets of predictions using a hybrid FEM-NN approach that approximates internal forces on a deforming solid body. The uncertainty estimator developed herein reliably infers upper bounds of bias/variance in the predictions for a wide range of interpolation and extrapolation cases using a three-element FEM-NN model of a bar undergoing plastic deformation. This proposed framework offers a powerful tool for assessing the reliability of physics-based surrogate models by establishing uncertainty estimates for predictions spanning a wide range of possible load cases.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NCCreative Common License - ND
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives licence (http://creativecommons.org/licenses/by-nc-nd/4.0), which permits non-commercial re-use, distribution, and reproduction in any medium, provided that no alterations are made and the original article is properly cited. The written permission of Cambridge University Press must be obtained prior to any commercial use and/or adaptation of the article.
Copyright
© The Author(s), 2023. Published by Cambridge University Press
Figure 0

Figure 1. Discretized domain $ \Omega $ highlighting the NN element domain $ {\Omega}_{\mathrm{NN}} $ (green) and finite element domain $ {\Omega}_{\mathrm{FEM}} $.

Figure 1

Figure 2. Schematic representation of a feed-forward network with two layers and scalar inputs/outputs.

Figure 2

Figure 3. Schematic of sampled boundary conditions in primary space $ \mathrm{\mathbb{P}} $ (top) and the corresponding displacements used to inform training/validation in secondary space $ \unicode{x1D54A} $ (bottom). The circles attached to either side of the beam are the nodes associated with the degrees of freedom of this element. The red and blue arrows on the left diagrams correspond to the red and blue points on the right plots.

Figure 3

Figure 4. Extraction of uncertainty for three sampled neural network subensembles for two sampled load cases with $ {n}_e=20 $ and $ {n}_{ss}=5 $.

Figure 4

Figure 5. Geometry and boundary conditions of three-element model.

Figure 5

Figure 6. Hardening function h($ {\boldsymbol{\epsilon}}^{\boldsymbol{p}} $).

Figure 6

Figure 7. Grid of training and validation data shown in cross sections of the $ 1\hbox{-}2 $ (top-left), $ 2\hbox{-}3 $ (top-right), and $ 1\hbox{-}3 $ (bottom-center) principal axes in reduced secondary space $ {\unicode{x1D54A}}_{ur} $. Red data points correspond to displacements associated with each of the eight corner points in $ \mathrm{\mathbb{P}} $. The densely packed blue and green grid points represent the training and validation data, respectively. Values on all axes are scaled by $ 1.0e3 $.

Figure 7

Figure 8. Average training loss (red), validation loss (blue), and relative difference (green) of all 20 NNs based on approximate variational free energy shown in equation (21) (left three plots) and RMSE (right three plots, log-scaled). Averages are shown as dots. Shading corresponds to range of values across 20 networks. Outliers of validation deviations for initial epochs are not shown for clarity.

Figure 8

Figure 9. Grid of primary space sets $ {\mathcal{T}}_{2\times 2\times 2} $, $ {\mathcal{T}}_{3\times 3\times 3} $, $ {\mathcal{T}}_{4\times 4\times 4} $, and$ {\mathcal{T}}_{5\times 5\times 5} $.

Figure 9

Figure 10. Values of displacements on the NN-element in the reduced space $ {\unicode{x1D54A}}_{ur} $ (red markers) associated with all refined discretizations of boundary conditions in the primary space $ {\mathcal{T}}_{i\times i\times i} $ for $ i=2\dots 5 $. Cross-sections are shown for the principal $ 1\hbox{-}2 $ (top), $ 2\hbox{-}3 $ (middle), and $ 1\hbox{-}3 $ axes (bottom). The space of input data used for training/validation is shaded in purple. Values on all axes are scaled by $ 1e3 $.

Figure 10

Figure 11. Distributions of the observed uncertainty scale factors $ {\hat{F}}^{95} $ (top), mean bias $ e $, and standard deviation $ \sigma $ of the blue test points in $ {\hat{\mathcal{T}}}_{8\times 8\times 8} $. The red curve on the top plot is the uncertainty estimator $ {\mathrm{F}}_{5\times 5\times 5} $ with the red markers identifying the points in the test set where the estimator is evaluated.

Figure 11

Figure 12. Empirical complimentary CDF functions of $ {P}^{95} $ values for test cases corresponding to interpolation (left) and extrapolation (right) (relative to the primary space $ \mathrm{\mathbb{P}} $) using the estimators $ {\mathcal{F}}_{2\times 2\times 2} $, $ {\mathcal{F}}_{3\times 3\times 3} $, $ {\mathcal{F}}_{4\times 4\times 4} $, and $ {\mathcal{F}}_{5\times 5\times 5} $. The blue region indicates the acceptable coverage for the success rates.

Submit a response

Comments

No Comments have been published for this article.