Residual-based attention and connection to information bottleneck theory in PINNs
About
Driven by the need for more efficient and seamless integration of physical models and data, physics-informed neural networks (PINNs) have seen a surge of interest in recent years. However, ensuring the reliability of their convergence and accuracy remains a challenge. In this work, we propose an efficient, gradient-less weighting scheme for PINNs, that accelerates the convergence of dynamic or static systems. This simple yet effective attention mechanism is a function of the evolving cumulative residuals and aims to make the optimizer aware of problematic regions at no extra computational cost or adversarial learning. We illustrate that this general method consistently achieves a relative $L^{2}$ error of the order of $10^{-5}$ using standard optimizers on typical benchmark cases of the literature. Furthermore, by investigating the evolution of weights during training, we identify two distinct learning phases reminiscent of the fitting and diffusion phases proposed by the information bottleneck (IB) theory. Subsequent gradient analysis supports this hypothesis by aligning the transition from high to low signal-to-noise ratio (SNR) with the transition from fitting to diffusion regimes of the adopted weights. This novel correlation between PINNs and IB theory could open future possibilities for understanding the underlying mechanisms behind the training and stability of PINNs and, more broadly, of neural operators.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| PDE solving | Navier-Stokes | Relative L2 Loss4.86 | 47 | |
| PDE solving | Burgers | Relative L2 Error4.17e-4 | 33 | |
| PDE solving | Allen-Cahn equation | L2 Relative Error7.34e-5 | 25 | |
| PDE solving | Heat PDE | Relative L2 Error0.0689 | 24 | |
| PDE solving | Diffusion PDE | Relative L2 Error1.29e-4 | 24 | |
| PDE solving | Reaction PDE | Relative L2 Error0.945 | 16 | |
| PDE solving | Wave | Relative L2 Error0.0016 | 16 | |
| PDE solving | Convection | Relative L2 Error0.832 | 14 | |
| PDE solving | Wave PDE | Relative L2 Error0.0019 | 11 | |
| PDE solving | Non-homogeneous heat equation | L2 Relative Error3.22 | 8 |