[Paper Review] PSO-PINN: Physics-Informed Neural Networks Trained with Particle Swarm Optimization
This paper proposes PSO-PINN, a physics-informed neural network framework trained via particle swarm optimization (PSO) to overcome convergence issues in gradient-based PINN training. By introducing PSO-BP-CD—a hybrid PSO with adaptive gradient descent—PSO-PINN achieves superior accuracy and uncertainty quantification, outperforming both standard ADAM and other PSO variants on ODE and PDE benchmarks.
Physics-informed neural networks (PINN) have recently emerged as a promising application of deep learning in a wide range of engineering and scientific problems based on partial differential equation (PDE) models. However, evidence shows that PINN training by gradient descent displays pathologies that often prevent convergence when solving PDEs with irregular solutions. In this paper, we propose the use of a particle swarm optimization (PSO) approach to train PINNs. The resulting PSO-PINN algorithm not only mitigates the undesired behaviors of PINNs trained with standard gradient descent but also presents an ensemble approach to PINN that affords the possibility of robust predictions with quantified uncertainty. We also propose PSO-BP-CD (PSO with Back-Propagation and Coefficient Decay), a hybrid PSO variant that combines swarm optimization with gradient descent, putting more weight on the latter as training progresses and the swarm zeros in on a good local optimum. Comprehensive experimental results show that PSO-PINN with the proposed PSO-BP-CD algorithm outperforms PINN ensembles trained with other PSO variants or with pure gradient descent.
Motivation & Objective
- To address convergence pathologies in gradient-based training of physics-informed neural networks (PINNs), especially for PDEs with irregular or rapidly varying solutions.
- To develop a swarm-based training framework that enables ensemble learning for PINNs, supporting uncertainty quantification and variance reduction.
- To propose a hybrid optimization method, PSO-BP-CD, that dynamically increases reliance on gradient descent as training progresses to improve convergence and accuracy.
- To demonstrate that PSO-PINN outperforms both standard ADAM-trained PINN ensembles and other PSO variants in accuracy and robustness across diverse PDE and ODE benchmarks.
Proposed method
- PSO-PINN employs a multi-part loss function combining data-fitting and PDE residual terms, standard in PINNs, but optimizes it via particle swarm optimization instead of gradient descent.
- The method uses a PSO-BP-CD variant that combines particle swarm velocity updates with back-propagation gradients, with decreasing influence of the swarm's cognitive and social components over time.
- Each particle in the swarm represents a unique PINN with its own set of weights and biases, enabling an ensemble of models that collectively improve prediction reliability.
- The algorithm initializes a swarm of 100 PINNs, each trained with the same loss function, and evolves their parameters using PSO-BP-CD to minimize the combined loss across data and PDE constraints.
- The final prediction is the ensemble mean, with uncertainty estimated via ensemble variance, providing calibrated confidence intervals.
- Hyperparameters such as learning rate (α), cognitive (c₁), and social (c₂) coefficients are tuned via model selection, with no need for learning rate scheduling.
Experimental results
Research questions
- RQ1Can particle swarm optimization mitigate convergence pathologies in PINN training that arise from stiff gradient dynamics in PDEs with irregular solutions?
- RQ2Does a hybrid PSO-gradient descent approach (PSO-BP-CD) improve PINN performance compared to pure PSO or standard gradient descent?
- RQ3Can PSO-PINN produce more accurate and robust predictions with quantified uncertainty than standard ADAM-based PINN ensembles?
- RQ4How does the ensemble nature of PSO-PINN enhance prediction reliability and uncertainty estimation compared to independent PINN training?
Key findings
- PSO-PINN with PSO-BP-CD achieved an L₂ error of 0.093 ± 0.032 on the Allen-Cahn equation benchmark, significantly outperforming the ADAM ensemble, which had an error of 0.327 ± 0.029.
- The PSO-PINN ensemble converged to the reference solution, while the ADAM ensemble failed to converge, as visually confirmed in Figure 7.
- PSO-BP-CD outperformed both plain PSO and PSO-BP across all benchmarks, particularly on the nonlinear Burgers equation, indicating the benefit of adaptive gradient weighting.
- The ensemble variance in PSO-PINN provided well-calibrated uncertainty estimates, with lower variance indicating higher confidence in predictions.
- The PSO-PINN framework demonstrated consistent performance across multiple independent runs, with hyperparameters showing stable and transferable values across experiments.
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.