Proceedings

Dual-Balancing for Physics-Informed Neural Networks

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 7164-7172.

https://doi.org/10.24963/ijcai.2025/797

Abstract

Physics-informed neural networks (PINNs) have emerged as a new learning paradigm for solving partial differential equations (PDEs) by enforcing the constraints of physical equations, boundary conditions (BCs), and initial conditions (ICs) into the loss function. Despite their successes, vanilla PINNs still suffer from poor accuracy and slow convergence due to the intractable multi-objective optimization issue. In this paper, we propose a novel Dual-Balanced PINN (DB-PINN), which dynamically adjusts loss weights by integrating inter-balancing and intra-balancing to alleviate two imbalance issues in PINNs. Inter-balancing aims to mitigate the gradient imbalance between PDE residual loss and condition-fitting losses by determining an aggregated weight that offsets their gradient distribution discrepancies. Intra-balancing acts on condition-fitting losses to tackle the imbalance in fitting difficulty across diverse conditions. By evaluating the fitting difficulty based on the loss records, intra-balancing can allocate the aggregated weight proportionally to each condition loss according to its fitting difficulty level. We further introduce a robust weight update strategy to prevent abrupt spikes and arithmetic overflow in instantaneous weight values caused by large loss variances, enabling smooth weight updating and stable training. Extensive experiments demonstrate that DB-PINN achieves significantly superior performance than those popular gradient-based weighting methods in terms of convergence speed and prediction accuracy. Our code and supplementary material are available at https://github.com/chenhong-zhou/DualBalanced-PINNs.

  1. [Ashraf et al., 2024] Inaam Ashraf, Janine Strotherm, Luca Hermes, and Barbara Hammer. Physics-informed graph neural networks for water distribution systems. In Pro- ceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 21905-21913, 2024.
  2. [Chu et al., 2024] Haoyu Chu, Yuto Miyatake, Wenjun Cui, Shikui Wei, and Daisuke Furihata. Structure-preserving physics-informed neural networks with energy or lya- punov structure. In IJCAI, pages 3872-3880, 2024. IJCAI
  3. [Dashtbayaz et al., 2024] Nima Hosseini Dashtbayaz, Ghazal Farhani, Boyu Wang, and Charles X Ling. Physics-informed neural networks: Minimizing residual loss with wide networks and effective activations. In IJCAI, pages 5853-5861, 2024. IJCAI
  4. [Daw et al., 2023] Arka Daw, Jie Bu, Sifan Wang, Paris Perdikaris, and Anuj Karpatne. Mitigating propaga- tion failures in physics-informed neural networks using retain-resample-release (R3) sampling. In Proceedings of the 40th International Conference on Machine Learning, pages 7264-7302, 2023.
  5. [Deguchi and Asai, 2023] Shota Deguchi and Mitsuteru Asai. Dynamic & norm-based weights to normalize im- balance in back-propagated gradients of physics-informed neural networks. Journal of Physics Communications, 7(7):075005, 2023.
  6. [Gnanasambandam et al., 2023] Raghav Gnanasambandam, Bo Shen, Jihoon Chung, Xubo Yue, and Zhenyu Kong. Self-scalable tanh (stan): Multi-scale solutions for physics-informed neural networks. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2023.
  7. [Groenendijk et al., 2021] Rick Groenendijk, Sezer Karaoglu, Theo Gevers, and Thomas Mensink. Multi-loss weighting with coefficient of variations. In Proceedings of the IEEE/CVF winter conference on applications of computer vision, pages 1469-1478, 2021.
  8. [Jagtap et al., 2020] Ameya D Jagtap, Kenji Kawaguchi, and George Em Karniadakis. Adaptive activation functions ac- celerate convergence in deep and physics-informed neural networks. Journal of Computational Physics, 404:109136, 2020.
  9. [Karniadakis et al., 2021] George Em Karniadakis, Ioan- nis G Kevrekidis, Lu Lu, Paris Perdikaris, Sifan Wang, and Liu Yang. Physics-informed machine learning. Nature Re- views Physics, 3(6):422-440, 2021.
  10. [Kim et al., 2021] Jungeun Kim, Kookjin Lee, Dongeun Lee, Sheo Yon Jhin, and Noseong Park. Dpm: A novel training method for physics-informed neural networks in extrapolation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 8146-8154, 2021.
  11. [Krishnapriyan et al., 2021] Aditi Krishnapriyan, Amir Gholami, Shandian Zhe, Robert Kirby, and Michael W Mahoney. Characterizing possible failure modes in physics-informed neural networks. Advances in Neural Information Processing Systems, 34:26548-26560, 2021.
  12. [Li et al., 2024] Ye Li, Siqi Chen, Bin Shan, and Sheng-Jun Huang. Causality-enhanced discreted physics-informed neural networks for predicting evolutionary equations. In IJCAI, pages 4497-4505, 2024. IJCAI
  13. [Liu and Wang, 2021] Dehao Liu and Yan Wang. A dual- dimer method for training physics-constrained neural net- works with minimax architecture. Neural Networks, 136:112-125, 2021.
  14. [Maddu et al., 2022] Suryanarayana Maddu, Dominik Sturm, Christian L Müller, and Ivo F Sbalzarini. Inverse dirichlet weighting enables reliable training of physics informed neural networks. Machine Learning: Science and Technology, 3(1):015026, 2022.
  15. [McClenny and Braga-Neto, 2020] Levi McClenny and Ulisses Braga-Neto. Self-adaptive physics-informed neural networks using a soft attention mechanism. arXiv preprint arXiv:2009.04544, 2020.
  16. [McClenny and Braga-Neto, 2023] Levi D McClenny and Ulisses M Braga-Neto. Self-adaptive physics-informed neural networks. Journal of Computational Physics, 474:111722, 2023.
  17. [Meng et al., 2022] Chuizheng Meng, Hao Niu, Guillaume Habault, Roberto Legaspi, Shinya Wada, Chihiro Ono, and Yan Liu. Physics-informed long-sequence forecast- ing from multi-resolution spatiotemporal data. In IJCAI, pages 2189-2195, 2022. IJCAI
  18. [Perez et al., 2023] Sarah Perez, Suryanarayana Maddu, Ivo F Sbalzarini, and Philippe Poncet. Adaptive weighting of bayesian physics informed neural networks for multi- task and multiscale forward and inverse problems. Journal of Computational Physics, 491:112342, 2023.
  19. [Raissi et al., 2019] Maziar Raissi, Paris Perdikaris, and George E Karniadakis. Physics-informed neural networks: A deep learning framework for solving forward and in- verse problems involving nonlinear partial differential equations. Journal of Computational physics, 378:686- 707, 2019.
  20. [Shi et al., 2021] Rongye Shi, Zhaobin Mo, and Xuan Di. Physics-informed deep learning for traffic state estimation: A hybrid paradigm informed by second-order traffic mod- els. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pages 540-547, 2021.
  21. [Song et al., 2024] Yanjie Song, He Wang, He Yang, Maria Luisa Taccari, and Xiaohui Chen. Loss-attentional physics-informed neural networks. Journal of Computa- tional Physics, 501:112781, 2024.
  22. [Vemuri and Denzler, 2023] Sai Karthikeya Vemuri and Joachim Denzler. Gradient statistics-based multi-objective optimization in physics-informed neural networks. Sen- sors, 23(21):8665, 2023.
  23. [Wandel et al., 2022] Nils Wandel, Michael Weinmann, Michael Neidlin, and Reinhard Klein. Spline-pinn: Ap- proaching pdes without data using fast, physics-informed hermite-spline cnns. In Proceedings of the AAAI confer- ence on artificial intelligence, volume 36, pages 8529- 8538, 2022.
  24. [Wang et al., 2021] Sifan Wang, Yujun Teng, and Paris Perdikaris. Understanding and mitigating gradient flow pathologies in physics-informed neural networks. SIAM Journal on Scientific Computing, 43(5):A3055-A3081, 2021.
  25. [Wang et al., 2022] Sifan Wang, Xinling Yu, and Paris Perdikaris. When and why pinns fail to train: A neu- ral tangent kernel perspective. Journal of Computational Physics, 449:110768, 2022.
  26. [Wei et al., 2024] Ping Wei, Menghan Liu, Jianhuan Cen, Ziyang Zhou, Liao Chen, and Qingsong Zou. Pdenneval: A comprehensive evaluation of neural network methods for solving pdes. In IJCAI, pages 5181-5189, 2024. IJCAI
  27. [Welford, 1962] BP Welford. Note on a method for calculat- ing corrected sums of squares and products. Technomet- rics, 4(3):419-420, 1962.
  28. [Wu et al., 2023] Chenxi Wu, Min Zhu, Qinyang Tan, Yadhu Kartha, and Lu Lu. A comprehensive study of non- adaptive and residual-based adaptive sampling for physics- informed neural networks. Computer Methods in Applied Mechanics and Engineering, 403:115671, 2023.
  29. [Xiang et al., 2022] Zixue Xiang, Wei Peng, Xu Liu, and Wen Yao. Self-adaptive loss balanced physics-informed neural networks. Neurocomputing, 496:11-34, 2022.
  30. [Yang et al., 2023] Zijiang Yang, Zhongwei Qiu, and Dong- mei Fu. DMIS: Dynamic mesh-based importance sam- pling for training physics-informed neural networks. In Proceedings of the AAAI Conference on Artificial Intelli- gence, volume 37, pages 5375-5383, 2023.
  31. [Zhou et al., 2024] Chenhong Zhou, Jie Chen, Zaifeng Yang, Alexander Matyasko, and Ching Eng Png. Enhanced physics-informed neural networks with optimized sen- sor placement via multi-criteria adaptive sampling. In 2024 International Joint Conference on Neural Networks (IJCNN), pages 1-8. IEEE, 2024.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards