Improving long-term autoregressive spatiotemporal predictions: A proof of concept with fluid dynamics

Hao Zhou, Sibo Cheng

TL;DR

This paper introduces Stochastic PushForward (SPF), a novel training framework that significantly improves long-term spatiotemporal predictions for complex dynamical systems. SPF achieves this by intelligently augmenting training data with model predictions, reducing GPU memory demands and enhancing prediction accuracy and stability, especially in resource-constrained environments.

What Problem Does This Paper Address?

Traditional numerical methods for simulating physical systems are computationally expensive. While machine learning (ML) offers a faster alternative, deep learning models often struggle with long-term predictions due to error accumulation. Existing autoregressive training methods, which unroll predictions over multiple time steps, require substantial GPU memory, limiting their scalability. Furthermore, optimizing for long-term accuracy can sometimes degrade short-term performance. This paper addresses the challenge of achieving accurate, memory-efficient, and robust long-term predictions in complex dynamical systems.

Methods

The core innovation is the Stochastic PushForward (SPF) training framework. SPF builds upon the concept of PushForward (PF) but introduces a crucial difference: it allows inputs for backpropagation to be drawn from either the model's predictions or the ground truth, controlled by a stochastic acquisition strategy.

Key components of SPF include:

  • Autoencoder (AE): A Convolutional Autoencoder (CAE) is used to compress high-dimensional data into a lower-dimensional latent space, reducing computational complexity and noise.
  • Supplementary Dataset: SPF dynamically constructs a supplementary dataset by using the trained model to generate predictions. This dataset is periodically updated.
  • Stochastic Acquisition: During training, SPF stochastically samples input data from both the original dataset and the supplementary dataset. This dynamic data augmentation helps the model learn from both real and generated data, improving robustness and mitigating overfitting to noisy predictions.
  • One-Step-Ahead Training: Despite enabling multi-step-ahead learning, SPF retains the simplicity of one-step-ahead training, which significantly reduces memory requirements compared to traditional autoregressive methods that require storing entire unrolling sequences.
  • Physics Constraints (Optional): The paper also demonstrates that SPF can be effectively integrated with physics-informed approaches to further enhance prediction accuracy and energy conservation.

Datasets

The paper evaluates SPF on two benchmark cases:

  • 2D Burgers' Equation: A fundamental PDE used in fluid mechanics, nonlinear acoustics, and gas dynamics. The simulations were performed on a 128x128 grid.
  • Shallow Water Equations: A set of hyperbolic partial differential equations describing fluid flow. Simulations were conducted on a 64x64 grid.

For both benchmarks, the authors used independently generated datasets for training, validation, and testing, with specific strategies to ensure evaluation on unseen conditions and beyond the training horizon.

Key Insights and Ideas

  • Data Augmentation for Stability: By mixing real data with model-generated predictions in a stochastic manner, SPF effectively stabilizes long-term predictions and mitigates error accumulation. This is a key departure from methods that rely solely on their own predictions.
  • Memory Efficiency without Sacrificing Performance: SPF achieves significant reductions in GPU memory usage (up to 40% compared to autoregressive methods) by avoiding the need to store extensive intermediate states during training, while simultaneously improving predictive accuracy.
  • Balancing Short- and Long-Term Accuracy: The stochastic acquisition strategy naturally balances the need for accurate short-term predictions with the goal of robust long-term forecasting.
  • Scalability for Complex Systems: SPF's memory efficiency makes it particularly promising for large-scale simulations and complex dynamical systems where traditional methods become computationally prohibitive.
  • Robustness to Noise and Limited Data: SPF demonstrates remarkable resilience to noisy input data and maintains good performance even when trained on significantly reduced datasets, highlighting its adaptability.

Key Results

  • Superior Long-Term Accuracy: SPF consistently outperformed baseline LSTM, Autoregressive Training Framework (ATF), and PushForward (PF) methods in terms of accumulated error and Structural Similarity Index (SSIM) for long-term predictions on both the Burgers' equation and shallow water benchmarks. SPF3 (with depth δ=3) generally showed the best performance.
  • Reduced Memory Footprint: SPF maintained a consistent RAM usage of 689MB for both d=2 and d=3, significantly lower than ATF (959MB-1159MB) and PF (873MB-1065MB) for comparable depths.
  • Enhanced Robustness: SPF exhibited better performance under noisy data conditions, maintaining higher SSIM values and more predictable performance compared to other methods.
  • Effective with Limited Data: SPF showed remarkable resilience when trained on limited datasets (down to 5%), outperforming ATF and LSTM in maintaining structural similarity.
  • Energy Conservation: SPF models, particularly SPF3, closely matched ground truth energy levels in the shallow water system, indicating good physical consistency.

Limitations and Future Work

  • Complexity of Implementation: The paper acknowledges that SPF's use of a supplementary dataset and acquisition method adds complexity compared to standard one-step or autoregressive approaches, requiring more effort for dataset maintenance and sample selection.
  • Data Transfer Overhead: Datasets reside on the CPU, and transferring data to the GPU during training can introduce communication overhead and latency.
  • Future Work: The authors suggest optimizing data transfer and acquisition methods, possibly through asynchronous loading or more efficient compression, to reduce communication overhead. They also propose extending and validating SPF in various scenarios to further evaluate its robustness and scalability.

Summary updated

BibTeX
@inproceedings{zhou2025improving,
  author = {Hao Zhou and Sibo Cheng},
  title = {{Improving long-term autoregressive spatiotemporal predictions: A proof of concept with fluid dynamics}},
  booktitle = {Computer},
  year = {2025},
  doi = {10.1016/j.cma.2025.118332},
}

Loading related content...

Figure