Randomized Sparse Neural Galerkin Schemes for Solving Evolution Equations with Deep Networks

Jules Berman, Benjamin Peherstorfer

Abstract

Traditional numerical methods for solving time-dependent partial differential equations (PDEs) often struggle with high-dimensional domains and complex dynamics. While deep learning approaches like Physics-Informed Neural Networks (PINNs) offer a mesh-free alternative, they frequently encounter issues with causality and computational efficiency. This paper introduces Randomized Sparse Neural Galerkin (RSNG) schemes, a sequential-in-time training framework that utilizes randomized parameter updates to solve evolution equations. By updating only a sparse subset of neural network parameters at each time step, RSNG acts as a powerful regularizer against overfitting and achieves computational speedups of up to two orders of magnitude compared to dense sequential methods.

Introduction

Solving time-dependent PDEs is a fundamental challenge in science and engineering. Recently, neural networks have emerged as a promising tool for approximating these solutions. However, existing neural solvers generally fall into two categories, both with significant drawbacks:

  1. Global-in-time methods (e.g., PINNs): These treat time as a spatial coordinate and solve the PDE over the entire space-time domain. This approach often violates causality—where the future state should not influence the past—and can be computationally prohibitive for long-time integration.
  2. Sequential-in-time methods (Neural Galerkin): These update the network parameters step-by-step, mimicking classical numerical integrators. While they preserve causality, they suffer from "neuron co-adaptation," where the network overfits to the current solution state so strongly that it loses the flexibility to capture future dynamics. Furthermore, updating all parameters at every step is computationally expensive.

RSNG addresses these limitations by introducing a randomized sketching mechanism into the sequential update process.

Methodology

The Dirac-Frenkel Variational Principle

RSNG is built upon the Dirac-Frenkel variational principle. This principle allows the dynamics of a PDE to be projected onto the tangent space of the neural network manifold. In a standard Neural Galerkin approach, one solves a least-squares problem at each time step to find the parameter updates that best satisfy the evolution equation.

Randomized Sketching

The innovation of RSNG lies in the use of a Randomized Sketching Matrix ($S_t$). Instead of calculating a dense update for the entire parameter set $p$, the algorithm performs the following:

  1. Random Sampling: At each time step, a small subset $s$ of parameters (where $s \ll p$) is randomly selected.
  2. Sketched Least-Squares: The update problem is solved only for this subset.
  3. Sparse Update: Only the selected weights and biases are modified, while the remaining parameters remain frozen for that specific step.

This mechanism is conceptually analogous to Dropout in deep learning. By forcing the network to represent the solution using different random subsets of neurons over time, RSNG prevents the tangent space from becoming "locked" into a specific configuration, maintaining the flexibility needed for future time steps.

Experimental Evaluation

The researchers evaluated RSNG across three benchmark evolution equations, each representing different numerical challenges:

  • Allen-Cahn Equation: A reaction-diffusion model used in phase separation studies, characterized by complex global dynamics.
  • Burgers’ Equation: A fundamental fluid mechanics model that develops sharp gradients and shocks, testing the solver's ability to handle discontinuities.
  • Vlasov Equation: A high-dimensional problem (position and velocity) that develops intricate, fine-grained structures in phase space.

Performance and Efficiency

Across these benchmarks, RSNG demonstrated significant advantages over both dense sequential solvers and PINNs:

  • Accuracy: RSNG achieved accuracy levels up to 100 times higher than dense sequential updates for the same computational budget. It also significantly outperformed standard and "Causal" PINNs, often by factors of 10x to 100x.
  • Computational Speed: Because the cost of the direct solver scales quadratically with the number of updated parameters ($s^2$), reducing the update size from $p$ to $s$ resulted in speedups of up to two orders of magnitude.
  • Robustness: The method remained stable even when the number of updated parameters was a very small fraction of the total network size, proving that the inherent redundancy in deep networks can be leveraged for better performance.

Discussion and Insights

Sparsity as a Regularizer

While sparsity is often viewed as a tool for memory compression, RSNG utilizes it as a mechanism for accuracy. By restricting the update at each step, the method prevents the "co-adaptation" that typically leads to error accumulation in sequential neural solvers. The over-parameterization of deep networks, usually seen as a computational burden, becomes a strength here, providing a diverse "menu" of parameters for the random sampling process.

Future Directions

Future work may explore more sophisticated sampling strategies. While uniform random sampling is effective, using leverage scores—which identify the most influential parameters for a given update—could further improve performance for problems with highly coherent Jacobians. Additionally, extending RSNG to even higher-dimensional systems, such as those found in complex kinetic theories, remains a promising frontier.

Conclusion

Randomized Sparse Neural Galerkin schemes represent a significant step forward in neural PDE solvers. By combining the causal benefits of sequential integration with the regularizing effects of randomized sparsity, RSNG provides a framework that is simultaneously faster, more accurate, and more robust than previous state-of-the-art methods.

Summary updated

BibTeX
@inproceedings{berman2023randomized,
  author = {Jules Berman and Benjamin Peherstorfer},
  title = {{Randomized Sparse Neural Galerkin Schemes for Solving Evolution Equations with Deep Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=JTKd7zYROf},
}
Figure