Enhanced Spatiotemporal Prediction Using Physical-guided And Frequency-enhanced Recurrent Neural Networks

Xuanle Zhao, Yue Sun, Tielin Zhang, Bo Xu · DOI

Abstract

Spatiotemporal prediction is critical for various domains, yet existing models often struggle to balance data-driven flexibility with physical consistency. This paper introduces a novel hybrid neural network architecture that integrates spatial and frequency-domain analysis with an Adaptive Runge-Kutta Module (ARKM). By leveraging second-order numerical integration and physics-guided constraints, the proposed model achieves state-of-the-art performance with significantly improved parameter efficiency compared to traditional deep learning approaches.

Introduction

Forecasting complex spatiotemporal patterns—such as moving clouds, traffic flow, or fluid dynamics—requires capturing both intricate spatial features and long-term temporal dependencies. Current approaches typically fall into two categories: purely data-driven models (e.g., CNNs, Transformers) which may produce physically implausible results, and physics-informed models (e.g., PINNs) which can be overly rigid when underlying laws are partially unknown. This work addresses the specific challenge of effectively estimating and updating the physical state of a system over time, moving beyond simple updates that often lose fine-grained detail.

Methodology

The proposed architecture employs a dual-pipeline approach to process spatial and frequency information simultaneously, integrated through a higher-order numerical integration module.

Dual-Pipeline Architecture

The model consists of two primary processing streams:

  1. Correction Module (CM): This pipeline utilizes Swin Transformer blocks to capture spatial features efficiently without the high computational cost of standard Transformers. An LSTM is integrated to maintain temporal coherence across frames.
  2. Frequency Module (FM): Utilizing Fourier Blocks, this pipeline processes data in the frequency domain. This allows the model to capture high-frequency details, such as sharp edges and sudden transitions, which spatial convolutions often blur.
The overall architecture of the proposed model, featuring the Temporal Pipeline (CM), Frequency Pipeline (FM), and the Adaptive Runge-Kutta Module (ARKM).

Adaptive Runge-Kutta Module (ARKM)

The core innovation of this work is the ARKM. While standard residual connections are mathematically equivalent to a first-order Euler update, the ARKM implements a second-order Runge-Kutta (RK2) method. This provides a more accurate numerical integration of the system's underlying dynamics. To prevent the vanishing gradient problem common in deep networks, the module includes an adaptive gating mechanism.

Physics-Guided Constraints

To ensure physical consistency, the researchers introduced specific loss functions:

  • Moment Loss: Forces convolutional kernels to behave like specific differential operators (e.g., calculating spatial derivatives).
  • H1 Loss: Specifically penalizes errors in high-frequency components to preserve the sharpness of predictions, addressing the common issue of blurry outputs in standard MSE-based models.

Results and Discussion

The model was evaluated across a diverse range of benchmarks, including Moving MNIST, TaxiBJ traffic data, KTH human action sequences, and Navier-Stokes fluid simulations.

Parameter Efficiency and Accuracy

The proposed model demonstrates exceptional efficiency. On the Moving MNIST benchmark, it achieved state-of-the-art (SOTA) results with only 3.8 million parameters, compared to 58 million for SimVP and 38.6 million for PredRNN. In real-world traffic forecasting (TaxiBJ), it achieved the lowest MAE (14.88) and highest SSIM (0.9851) among all tested models.

Physical Consistency and Frequency Detail

In Navier-Stokes fluid dynamics tests, the model achieved a significantly lower Normalized Mean Squared Error (14.89) compared to standard recurrent models, proving its superior ability to track physical states. Ablation studies confirm that the Frequency Module is essential for accuracy; as shown in the performance metrics, increasing the number of Fourier Blocks directly correlates with a reduction in Mean Squared Error (MSE).

MSE performance improvement as the number of Fourier Blocks (FB) in the Frequency Module increases.

Conclusion

By combining higher-order numerical methods with frequency-domain enhancement and physics-guided losses, this research offers a robust and efficient solution for spatiotemporal prediction. The model not only outperforms existing SOTA architectures in accuracy but does so with a fraction of the parameters. Future work may involve extending this adaptive dynamics approach to 3D spatiotemporal tasks such as medical imaging or volumetric fluid simulations.

Summary updated

BibTeX
@misc{zhao2024enhanced,
  author = {Xuanle Zhao and Yue Sun and Tielin Zhang and Bo Xu},
  title = {{Enhanced Spatiotemporal Prediction Using Physical-guided And Frequency-enhanced Recurrent Neural Networks}},
  year = {2024},
  eprint = {2405.14504},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.14504},
}
Figure