Introduction
Physics-Informed Neural Networks (PINNs) have emerged as a transformative tool for scientific computing, offering a mesh-free approach to solving partial differential equations (PDEs) by embedding physical laws directly into the neural network's loss function. Despite their success, PINNs frequently struggle with time-dependent PDEs. The standard approach—solving the entire spatiotemporal domain simultaneously—often violates the principle of causality, where the state of a system at time $t$ is dependent on its history.
This lack of temporal flow leads to two primary failure modes: the "Zero-Solution," where the network finds a trivial solution that satisfies the PDE residual but ignores initial conditions, and "Incorrect Propagation," where the optimizer converges to a physically invalid local minimum. This paper introduces a unified framework designed to overcome these challenges by enforcing causality through scalable sweeping and decomposition strategies.
Methodology
The proposed framework categorizes causality into "Hard" (strict sequential training) and "Soft" (weighting schemes) approaches, introducing several key innovations to improve convergence and efficiency.
Stacked-Decomposition
Stacked-Decomposition serves as a bridge between traditional Time-Marching (sequential training) and XPINNs (parallel domain decomposition). The temporal domain is divided into slabs, and a "warm-up" procedure is employed. New time-slabs are added to the active training set only after the preceding slabs have reached a specific accuracy threshold. This ensures that the physical information from the initial state propagates correctly through the temporal domain before the network attempts to solve later stages. This method eventually allows for "Causal XPINNs" that can be trained in parallel once the initial propagation front has passed.
Window-Sweeping
To focus the optimizer's attention, the authors introduce a Window-Sweeping algorithm. Instead of calculating residuals for all collocation points simultaneously, a "weight mask" or window moves through time. This window prioritizes the current "front" of the solution. The framework supports various kernels for this window, including Uniform, Linear, and Error Functions. By utilizing "null-sets"—effectively ignoring points far in the future—the algorithm drastically reduces the number of residual calculations required per iteration.
Optimization and Transfer Learning
To further enhance efficiency, the framework utilizes Loss Tolerance-Based Propagation. Rather than training for a fixed number of iterations, the system advances to the next temporal slab only when the loss falls below a user-defined threshold.
Additionally, the authors found that Fine-Tuning is superior to traditional transfer learning. When a new sub-network is initialized for a future time-slab, it inherits the weights of the previous converged sub-network. Keeping all layers trainable allows the network to adapt its internal basis functions to changing dynamics, which is critical for equations where scales evolve over time.
Experimental Results
The framework was evaluated on three classic PDE benchmarks: the linear Convection Equation, the nonlinear Allen-Cahn Equation, and the dispersive Korteweg–de Vries (KdV) Equation.
- Robustness: The proposed methods successfully trained on the Allen-Cahn and long-time KdV problems, scenarios where unmodified PINNs and standard XPINNs completely failed to converge.
- Efficiency: For the Allen-Cahn equation, the framework achieved accurate results in approximately 12,000 iterations. This represents a massive speedup compared to the hundreds of thousands of iterations typically reported in sequential PINN literature.
- Scalability: The stacked-decomposition allows for a tunable trade-off. A sequential approach ($dS=1$) is fastest for smaller problems, while larger $dS$ values (training multiple slabs) allow for better accuracy and potential parallelization on larger domains.
Discussion and Future Work
A key insight of this research is the distinction between Hard and Soft causality. While Hard causality (sequential slabs) is often necessary to prevent the zero-solution during the initial stages of training, Soft causality (weighting) is highly effective for refining the solution once the propagation front has been established.
Currently, the framework is optimized for first-order time derivatives. Future research will focus on extending these sweeping strategies to second-order problems, such as the wave equation, which require information to propagate in multiple directions. Additionally, the authors suggest that extending the "sweeping" concept to spatial dimensions could help solve problems involving complex boundary reflections and high-dimensional spatial domains.
Summary updated