[Paper Review] Explainable artificial intelligence for mechanics: physics-informing neural networks for constitutive models
This paper proposes a novel explainable AI framework that uses principal component analysis (PCA) to interpret recurrent neural network (RNN) cell states in physics-informed constitutive models for mechanics. By combining systematic hyperparameter search with PCA-based interpretation, the method reveals that RNNs learn physically meaningful representations—such as plastic strain or exponential functions—demonstrating that data-driven models can uncover analytical solutions with test errors as low as 1×10⁻⁶.
(Artificial) neural networks have become increasingly popular in mechanics to accelerate computations with model order reduction techniques and as universal models for a wide variety of materials. However, the major disadvantage of neural networks remains: their numerous parameters are challenging to interpret and explain. Thus, neural networks are often labeled as black boxes, and their results often elude human interpretation. In mechanics, the new and active field of physics-informed neural networks attempts to mitigate this disadvantage by designing deep neural networks on the basis of mechanical knowledge. By using this a priori knowledge, deeper and more complex neural networks became feasible, since the mechanical assumptions could be explained. However, the internal reasoning and explanation of neural network parameters remain mysterious. Complementary to the physics-informed approach, we propose a first step towards a physics-informing approach, which explains neural networks trained on mechanical data a posteriori. This novel explainable artificial intelligence approach aims at elucidating the black box of neural networks and their high-dimensional representations. Therein, the principal component analysis decorrelates the distributed representations in cell states of RNNs and allows the comparison to known and fundamental functions. The novel approach is supported by a systematic hyperparameter search strategy that identifies the best neural network architectures and training parameters. The findings of three case studies on fundamental constitutive models (hyperelasticity, elastoplasticity, and viscoelasticity) imply that the proposed strategy can help identify numerical and analytical closed-form solutions to characterize new materials.
Motivation & Objective
- To address the black-box nature of neural networks in mechanics by enabling post-hoc interpretation of learned representations.
- To identify whether neural networks trained on mechanical data learn physically meaningful variables such as plastic strain or exponential decays.
- To develop a systematic hyperparameter search strategy for optimizing RNN architectures in constitutive modeling.
- To demonstrate that explainable AI can uncover closed-form solutions from data-driven models without prior knowledge of the underlying physics.
- To extend the applicability of AI to complex material behaviors where analytical solutions are unknown or numerically challenging.
Proposed method
- A systematic hyperparameter search strategy is employed to identify optimal RNN architectures and training parameters for constitutive modeling tasks.
- Principal component analysis (PCA) is applied to the cell states of trained RNNs to decorrelate and interpret high-dimensional distributed representations.
- The PCA-extracted components are compared to known analytical functions (e.g., exponential, power-law) to identify functional forms learned by the network.
- The approach is validated on three fundamental constitutive models: hyperelasticity, elastoplasticity, and viscoelasticity.
- The method leverages data from synthetic experiments simulating mechanical behavior under uniaxial loading, with ground-truth solutions used for evaluation.
- The framework is designed to be extensible to higher-dimensional spatio-temporal problems, such as 2D/3D microstructure-mechanics correlations.
Experimental results
Research questions
- RQ1Can PCA-based analysis of RNN cell states reveal physically interpretable patterns in data-driven constitutive models?
- RQ2Do RNNs trained on mechanical data learn history variables equivalent to known physical quantities like plastic strain?
- RQ3Can the explainable AI framework identify the functional basis (e.g., exponential, power-law) underlying neural network decisions in viscoelasticity?
- RQ4To what extent can systematic hyperparameter search improve generalization and accuracy in constitutive modeling with minimal data?
- RQ5Can this approach uncover closed-form analytical solutions from purely data-driven models without prior physical assumptions?
Key findings
- For hyperelasticity, the best-performing RNN achieved a test error of approximately 1×10⁻⁶, approaching machine precision despite singular behavior at zero stretch.
- In elastoplasticity, the PCA analysis revealed that RNN cell states learned representations equivalent to the plastic strain, a fundamental physical history variable.
- For viscoelasticity, the explainable AI approach identified that the optimal architecture used an exponential function as its core decision basis, even though the training data used algorithmic history variables.
- The systematic hyperparameter search successfully identified high-performing architectures with minimal manual tuning, enabling robust generalization across all three case studies.
- The results demonstrate that data-driven models can autonomously discover analytical functional forms, suggesting potential for characterizing new materials with unknown closed-form solutions.
- The framework provides a path toward interpretability in AI-driven mechanics, enabling trust and transferability in engineering applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.