In recent years, with the advancements in machine learning and neural networks, algorithms using physics-informed neural networks (PINNs) to solve PDEs have gained widespread applications. While these algorithms are well-suited for a wide range of equations, they often exhibit a suboptimal performance when applied to equations with large local gradients, resulting in substantially localized errors. To address this issue, this paper proposes an adaptive PINN algorithm designed to improve accuracy in such cases. The core idea of the algorithm is to adaptively adjust the distribution of collocation points based on the recovery-type a-posteriori error of the current numerical solution, enabling a better approximation of the true solution. This approach is inspired by the adaptive finite element method. By combining the recovery-type a-posteriori estimator, a gradient-recovery estimator commonly used in the adaptive finite element method (FEM), with PINNs, we introduce the recovery-type a-posteriori estimator enhanced adaptive PINN (R-PINN) and compare its performance with a typical adaptive sampling PINN, failure-informed PINN (FI-PINN), and a typical adaptive weighting PINN, residual-based attention in PINN (RBA-PINN) as a baseline. Our results demonstrate that R-PINN achieves faster convergence with fewer adaptively distributed points and outperforms the other two PINNs in the cases with regions of large errors.
扫码关注我们
求助内容:
应助结果提醒方式:
