Predicting PDEs Fast and Efficiently with Equivariant Extreme Learning Machines

Hans Harder, Sebastian PeitzarXiv 2024 · DOI

Abstract

Predicting the evolution of complex physical systems governed by Partial Differential Equations (PDEs) is a cornerstone of computational science. While deep learning surrogate models offer speedups over traditional numerical solvers, they often suffer from high data requirements and intensive training phases. We present Equivariant Extreme Learning Machines (ELMs), a framework that combines the rapid training of ELMs with a sliding-window architecture and symmetry exploitation. Our results on chaotic systems like the Kuramoto-Sivashinsky equation demonstrate that this approach can learn complex physics from as little as a single state snapshot, maintaining high accuracy and stability over long time horizons.

Introduction

Traditional numerical solvers for PDEs, while accurate, are often too slow for real-time applications or large-scale parameter studies. Data-driven surrogate models aim to bridge this gap by learning the mapping between temporal states. However, standard deep learning approaches face challenges including "data hunger," training complexity (especially for recurrent architectures), and difficulties in maintaining spatial consistency across inhomogeneous domains.

Methodology: Equivariant Extreme Learning Machines

The proposed method centers on the Extreme Learning Machine (ELM). Unlike traditional neural networks where every weight is updated via backpropagation, an ELM utilizes a hidden layer with fixed, random weights. Training is restricted to the output layer, transforming the optimization problem into a simple linear least-squares regression. This architecture allows for near-instantaneous training and high precision.

To adapt ELMs for spatial physics, three key innovations are introduced:

  1. Sliding-Window Architecture: Instead of processing the entire spatial domain at once, the model operates on local windows. This allows a single, efficient model to be applied across the entire domain.
  2. Positional Encoding: To handle inhomogeneous systems where physics varies by location, a positional encoding (PE) is appended to the input window, providing the model with necessary spatial context.
  3. Equivariance via Symmetries: For 2D systems, the model exploits the symmetries of the square (rotations and reflections) to augment data and ensure consistent predictions regardless of input orientation.
Schematic of the sliding-window ELM architecture showing input windows, the ELM block, and the injection of positional encoding $p(i\Delta x)$.

Experimental Results

The framework was evaluated on several benchmarks, including the Kuramoto-Sivashinsky (KS) and Cahn-Hilliard equations. A key finding is the "single snapshot" capability: because the sliding window treats every spatial location as a unique training sample, the model can learn the underlying dynamics from extremely limited data—sometimes just one or two full-state snapshots.

Impact of Positional Encoding

In inhomogeneous systems, the inclusion of positional encoding is critical. As shown in the comparison for the 1D KS equation, models without PE fail to capture the spatially varying dynamics, leading to rapid divergence and high Relative Squared Error (RSE) as the simulation progresses.

Comparison of simulated and predicted states for the inhomogeneous KS equation, demonstrating the necessity of positional encoding (PE) for maintaining long-term accuracy.

Stability and Efficiency

The addition of zero-mean Gaussian noise during training was found to be essential for long-term stability, preventing the accumulation of errors during recursive prediction. Furthermore, exploiting symmetries significantly improved accuracy; using the full symmetry group of a square reduced RSE by orders of magnitude compared to non-equivariant baselines. Training remains orders of magnitude faster than gradient-based deep learning due to the linear regression formulation.

Conclusion

Equivariant ELMs provide a compelling alternative to deep learning surrogates for PDE prediction. By prioritizing architectural simplicity and physical symmetries, the method achieves state-of-the-art data efficiency and training speed. Future work will explore scaling these methods to 3D simulations and complex, non-periodic engineering geometries.

Summary updated

Abstract

We utilize extreme-learning machines for the prediction of partial differential equations (PDEs). Our method splits the state space into multiple windows that are predicted individually using a single model. Despite requiring only few data points (in some cases, our method can learn from a single full-state snapshot), it still achieves high accuracy and can predict the flow of PDEs over long time horizons. Moreover, we show how additional symmetries can be exploited to increase sample efficiency and to enforce equivariance.
BibTeX
@misc{harder2024predicting,
  author = {Hans Harder and Sebastian Peitz},
  title = {{Predicting PDEs Fast and Efficiently with Equivariant Extreme Learning Machines}},
  year = {2024},
  eprint = {2404.18530},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.18530},
}
Figure