Abstract
Neural network-based solvers for partial differential equations (PDEs) have attracted considerable attention, yet they often face challenges in accuracy and computational efficiency. In this work, we focus on time-dependent PDEs and observe that coupling space and time in a single network can increase the difficulty of approximation. To address this, we propose a semi-discrete in time method (SDTM) which leverages classical numerical time integrators and random neural basis (RNB). Additional adaptive operations are introduced to enhance the network's ability to capture features across scales to ensure uniform approximation accuracy for multi-scale PDEs. Numerical experiments demonstrate the framework's effectiveness and confirm the convergence of the temporal integrator as well as the network's approximation performance.
Introduction
Physics-Informed Neural Networks (PINNs) have emerged as a powerful mesh-free alternative for solving Partial Differential Equations (PDEs). However, for time-dependent problems, standard approaches typically treat time and space as joint inputs to a single deep neural network. This isotropic treatment often fails to capture the anisotropic nature of PDE solutions, particularly when complex features like shockwaves evolve over time. Furthermore, the non-convex optimization landscape of deep networks trained via stochastic gradient descent (e.g., Adam) often leads to slow convergence and local minima, limiting accuracy compared to classical numerical methods.
Methodology
The proposed Semi-Discrete in Time Method (SDTM) addresses these limitations by decoupling temporal and spatial processing through three core innovations:
- Temporal Discretization: SDTM utilizes established numerical time integrators, such as Runge-Kutta (RK) or Backward Differentiation Formulas (BDF), to advance the solution through discrete time steps. This ensures that the method inherits the mathematical guarantees and convergence properties of classical numerical analysis.
- Random Neural Basis (RNB): At each time step, the spatial solution is approximated using a neural network with frozen, randomly initialized hidden layers. Only the final output weights are optimized, transforming the spatial approximation into a linear least-squares task. This avoids the computational burden of non-convex optimization and allows for extremely fast simulation steps.
- Hard Boundary Enforcement: Unlike the "soft" penalty-based constraints in standard PINNs, SDTM enforces boundary conditions exactly. This is critical for long-term stability, as soft constraints allow small errors to accumulate at every step, eventually destabilizing the simulation.
- Adaptive Initialization: To handle multi-scale phenomena, SDTM incorporates a frequency-based adaptive strategy. By performing Fourier analysis on the solution at specific intervals, the network can dynamically re-initialize its hidden weights to match the evolving frequency spectrum, ensuring high-frequency features like shocks are accurately captured.
Results and Discussion
Numerical experiments across various benchmarks, including the viscous Burgers' and Navier-Stokes equations, demonstrate that SDTM achieves high precision. For instance, it reaches a global relative $L_2$ error of $1.75 \times 10^{-7}$ for the Burgers' equation. Notably, the method recovers the theoretical convergence rates of the underlying time integrators, a feat rarely achieved by standard neural solvers.
The efficiency of the RNB approach is also significant. By precomputing the QR decomposition of the coefficient matrix, the simulation can advance rapidly. A 2D Allen-Cahn simulation over 1,000 steps was completed in just 90 seconds, demonstrating the method's potential for large-scale physics simulations.
Conclusion
SDTM successfully bridges the gap between classical numerical analysis and deep learning for time-dependent PDEs. By decoupling time and space, enforcing hard boundary conditions, and employing adaptive random bases, it offers a robust, accurate, and efficient alternative to standard PINNs. Future work will focus on extending the method to implicit integrators and irregular spatial domains.
Summary updated