Abstract
Despite the success of physics-informed neural networks (PINNs) in approximating partial differential equations (PDEs), PINNs can sometimes fail to converge to the correct solution in problems involving complicated PDEs. This is reflected in several recent studies on characterizing the "failure modes" of PINNs, although a thorough understanding of the connection between PINN failure modes and sampling strategies is missing. In this paper, we provide a novel perspective of failure modes of PINNs by hypothesizing that training PINNs relies on successful "propagation" of solution from initial and/or boundary condition points to interior points. We show that PINNs with poor sampling strategies can get stuck at trivial solutions if there are propagation failures, characterized by highly imbalanced PDE residual fields. To mitigate propagation failures, we propose a novel Retain-Resample-Release sampling (R3) algorithm that can incrementally accumulate collocation points in regions of high PDE residuals with little to no computational overhead. We provide an extension of R3 sampling to respect the principle of causality while solving time-dependent PDEs. We theoretically analyze the behavior of R3 sampling and empirically demonstrate its efficacy and efficiency in comparison with baselines on a variety of PDE problems.
Introduction: The Challenge of Propagation
Physics-informed neural networks (PINNs) have revolutionized the intersection of deep learning and scientific computing by embedding physical laws directly into the loss function. However, PINNs are notoriously brittle when applied to complex, multi-scale, or chaotic systems. On such problems, they often settle into physically incorrect "trivial solutions"—states where the network predicts zero everywhere because it has failed to "find" the true physical solution.
This paper identifies these failures as propagation failures. Unlike traditional numerical solvers that build solutions incrementally, PINNs attempt a global optimization. If the sampling of collocation points is poor, the network cannot bridge the gap between known boundary conditions and the domain interior. This leads to highly imbalanced "residual fields," where error is concentrated in narrow, unresolved pockets that the optimizer cannot easily escape.
Methods: The R3 Sampling Algorithm
The core contribution of this work is the Retain-Resample-Release (R3) Sampling algorithm. R3 is a dynamic, computationally efficient strategy designed to break through propagation barriers by accumulating points in high-error regions without the overhead of dense grid searches. The algorithm operates in three distinct phases:
- Retain: At each iteration, the algorithm identifies collocation points with residuals higher than the current average and keeps them for the next round, forcing the model to focus on its mistakes.
- Resample: To maintain global domain awareness, the remaining slots in the training batch are filled with new, uniformly sampled points.
- Release: Once the residual at a retained point drops below a specific threshold—indicating the local physics are "solved"—the point is released to prevent the training set from growing indefinitely.
For time-dependent PDEs, the authors introduce Causal R3. This extension adds a "time-gate" function that forces the network to master earlier time steps before the gate "opens" to reveal later parts of the simulation, strictly adhering to the physical principle of causality.
Diagnosing Failure via Residual Imbalance
A significant insight of this research is the use of statistical metrics—specifically Skewness and Kurtosis—to diagnose training health. The authors demonstrate that propagation failures are characterized by extreme imbalances in the PDE residual field.
By monitoring these metrics, researchers can identify when a PINN has failed to propagate a solution. High skewness and kurtosis signify that the error is not distributed but concentrated, suggesting the model has missed critical features. R3 sampling naturally mitigates this by accumulating points in these high-skew regions, effectively mimicking higher-order $L^p$ norms without their associated numerical instabilities.
Key Results and Performance
The efficacy of R3 was validated across several challenging benchmarks, including the Allen-Cahn, Eikonal, and Kuramoto-Sivashinsky equations. Key findings include:
- Sample Efficiency: R3 and Causal R3 maintained low errors with as few as 100 collocation points, whereas baseline PINNs required over 10,000 points to begin converging—a 100x improvement.
- Accuracy: In high-velocity convection scenarios ($\beta=50$), R3 achieved a relative $L_2$ error of ~1.98%, while standard PINNs failed completely with errors exceeding 100%.
- Chaotic Systems: Causal R3 was the only method capable of accurately capturing the complex, turbulent-like structures of the Kuramoto-Sivashinsky equation.
Conclusion and Future Work
R3 sampling provides a robust and efficient path forward for PINNs in complex domains. By reframing PINN training as a process of physical discovery and propagation, this work significantly enhances the reliability of neural PDE solvers. While highly effective, future work will explore the sensitivity of Causal R3 to its hyperparameters and investigate its utility in inverse problems where data noise may interfere with residual-based sampling.
Summary updated