GradNorm Physics-Informed Neural Networks for Linear Elasticity: Adaptive Loss Balancing and Comparative Finite Element Analysis
Main Article Content
Abstract
This study presents a comparative analysis between the classical Finite Element Method (FEM) and Physics-Informed Neural Networks (PINNs) for linear elasticity. A well-known challenge in PINN formulations stems from imbalances among loss components associated with governing equations and boundary conditions, which often induce training instabilities and ill-conditioned optimization dynamics. To address this issue, we employ GradNorm, a gradient-based adaptive loss-balancing strategy, to dynamically adjust the weighting parameters during training, thereby mitigating optimization stiffness and improving convergence. The proposed PINN approach is systematically evaluated against high-fidelity FEM benchmarks across various geometries and loading conditions. Numerical results demonstrate that, while FEM remains a highly computationally efficient method for linear elastic problems, PINNs equipped with GradNorm-based adaptive weighting constitute a robust, mesh-free alternative with comparable accuracy. These findings underscore the efficacy of adaptive loss-balancing strategies for enhancing the reliability of PINNs in computational mechanics.
Keywords
Finite element method, linear elasticity, forward problem, partial differential equations, physics-informed neural networks.
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
References
[2] A. Ern and J.-L. Guermond, Theory and Practice of Finite Elements, Springer New York, 2004.
[3] M. Raissi, P. Perdikaris, and G. E. Karniadakis, Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations, Journal of Computational Physics, vol. 378, pp. 686–707, 2019.
[4] I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning, vol. 1, MIT Press Cambridge, 2016.
[5] L. Sun, H. Gao, S. Pan, and J.-X. Wang, Surrogate modeling for fluid flows based on physics-constrained deep learning without simulation data, Computer Methods in Applied Mechanics and Engineering, vol. 361, Art. no. 112732, Apr. 2020. https://doi.org/10.1016/j.cma.2019.112732
[6] Z. Xiang, W. Peng, X. Liu, and W. Yao, Self-adaptive loss balanced physics-informed neural networks, Neurocomputing, vol. 496, pp. 11–34, July 2022. https://doi.org/10.1016/j.neucom.2022.05.015
[7] N.-D. Pham, N. Nguyen Canh, and T. T. M. Ta, The physics-informed neural networks approach to parameter identification problems in unsteady Navier-Stokes equations, pp. 164–175, Oct. 2025. https://doi.org/10.1007/978-3-032-08384-5 14
[8] Z. Zhao, Y. Wang, W. Zhang, Z. Ba, and L. Sun, Physics-informed neural networks in heat transfer-dominated multiphysics systems: A comprehensive review, Engineering Applications of Artificial Intelligence, vol. 157, Art. no. 111098, Oct. 2025. https://doi.org/10.1016/j.engappai.2025.111098
[9] S. Cai, Z. Wang, S. Wang, P. Perdikaris, and G. E. Karniadakis, Physics-informed neural networks for heat transfer problems, Journal of Heat Transfer, vol. 143, no. 6, Apr. 2021. https://doi.org/10.1115/1.4050542
[10] E. Fuzaro de Almeida, S. da Silva, and A. Barbosa da Cunha Junior, Physics-informed neural networks for solving elasticity problems, in Proceedings of the 27th International Congress of Mechanical Engineering, 2025.
[11] D. W. Abueidda, S. Koric, E. Guleryuz, and N. A. Sobh, Enhanced physics-informed neural networks for hyperelasticity, International Journal for Numerical Methods in Engineering, vol. 124, no. 7, pp. 1585–1601, Nov. 2022. https://doi.org/10.1002/nme.7176
[12] H. Moon, D. Park, H. Cho, H.-K. Noh, J. H. Lim, and S. Ryu, Physics-informed neural network-based discovery of hyperelastic constitutive models from extremely scarce data, Computer Methods in Applied Mechanics and Engineering, vol. 446, Art. no. 118258, Nov. 2025. https://doi.org/10.1016/j.cma.2025.118258
[13] S. Cuomo, V. S. Di Cola, F. Giampaolo, G. Rozza, M. Raissi, and F. Piccialli, Scientific machine learning through physics–informed neural networks: Where we are and what’s next, Journal of Scientific Computing, vol. 92, no. 3, July 2022. https://doi.org/10.1007/s10915-022-01939-z
[14] N. Doum`eche, G. Biau, and C. Boyer, On the convergence of PINNs, Bernoulli, vol. 31, no. 3, Aug. 2025. https://doi.org/10.3150/24-bej1799
[15] P. Rathore, W. Lei, Z. Frangella, L. Lu, and M. Udell, Challenges in training PINNs: A loss landscape perspective, in Proceedings of the 41st International Conference on Machine Learning, July 2024, pp. 42159–42191.
[16] Z. Chen, V. Badrinarayanan, C.-Y. Lee, and A. Rabinovich, GradNorm: Gradient normalization for adaptive loss balancing in deep multitask networks, in Proceedings of the 35th International Conference on Machine Learning (ICML), 2018, pp. 794–803.
[17] S. Wang, Y. Teng, and P. Perdikaris, Understanding and mitigating gradient flow pathologies in physics-informed neural networks, SIAM Journal on Scientific Computing, vol. 43, no. 5, pp. A3055–A3081, Jan. 2021. https://doi.org/10.1137/20m1318043
[18] L. D. McClenny and U. M. Braga-Neto, Selfadaptive physics-informed neural networks, Journal of Computational Physics, vol. 474, Art. no. 111722, Feb. 2023. https://doi.org/10.1016/j.jcp.2022.111722
[19] S.Wang, X. Yu, and P. Perdikaris, When and why PINNs fail to train: A neural tangent kernel perspective, Journal of Computational Physics, vol. 449, Art. no. 110768, Jan. 2022. https://doi.org/10.1016/j.jcp.2021.110768
[20] T. T. M. Ta and P. C. Hoang, The elastic deformation process of bimetallic objects, International Journal of Mathematics for Industry, vol. 14, no. 01, Dec. 2022. https://doi.org/10.1142/s266133522250006x
[21] M. Raissi, P. Perdikaris, and G. Karniadakis, Physicsinformed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations, Journal of Computational Physics, vol. 378, pp. 686–707, Feb. 2019. https://doi.org/10.1016/j.jcp.2018.10.045
[22] F. Hecht, New development in FreeFEM++, J. Numer. Math. vol. 20, no. 3-4, 2012. https://doi.org/10.1515/jnum-2012-0013
[23] A. D. J. Ameya D. Jagtap and G. E. K. George Em Karniadakis, Extended physics-informed neural networks (XPINNs): A generalized space-time domain decomposition based deep learning framework for nonlinear partial differential equations, Communications in Computational Physics, vol. 28, no. 5, pp. 2002–2041, Jan. 2020. https://doi.org/10.4208/cicp.oa-2020-0164
[24] J. Yu, L. Lu, X. Meng, and G. E. Karniadakis, Gradient-enhanced physics-informed neural networks for forward and inverse PDE problems, Computer Methods in Applied Mechanics and Engineering, vol. 393, Art. no. 114823, Apr. 2022. https://doi.org/10.1016/j.cma.2022.114823
[25] T. T. M. Ta, V. C. Le, and H. T. Pham, Shape optimization for Stokes flows using sensitivity analysis and finite element method, Applied Numerical Mathematics, vol. 126, pp. 160–179, Apr. 2018. https://doi.org/10.1016/j.apnum.2017.12.009
[26] V. C. Le and T. T. M. Ta, Constrained shape optimization problem in elastic mechanics, Computational and Applied Mathematics, vol. 40, no. 7, Sept. 2021. https://doi.org/10.1007/s40314-021-01632-1