Abstract
Spatiotemporal predictive learning, which predicts future frames through historical prior knowledge with the aid of deep learning, is widely used in many fields. Previous work essentially improves the model performance by widening or deepening the network, but it also brings surging memory overhead, which seriously hinders the development and application of this technology. In order to improve the performance without increasing memory consumption, we focus on scale, which is another dimension to improve model performance but with low memory requirement. The effectiveness has been widely demonstrated in many CNN-based tasks such as image classification and semantic segmentation, but it has not been fully explored in recent RNN models. In this paper, learning from the benefit of multi-scale, we propose a general framework named Multi-Scale RNN (MS-RNN) to boost recent RNN models for spatiotemporal predictive learning. We verify the MS-RNN framework by thorough theoretical analyses and exhaustive experiments, where the theory focuses on memory reduction and performance improvement while the experiments employ eight RNN models (ConvLSTM, TrajGRU, PredRNN, PredRNN++, MIM, MotionRNN, PredRNN-V2, and PrecipLSTM) and four datasets (Moving MNIST, TaxiBJ, KTH, and Germany). The results show the efficiency that RNN models incorporating our framework have much lower memory cost but better performance than before.
Introduction
Spatiotemporal predictive learning—predicting future video frames based on past ones—is notoriously resource-intensive. To capture complex motions, researchers have traditionally made models "wider" (more channels) or "deeper" (more layers). However, this approach has hit a "memory wall." High-end GPUs like the NVIDIA A100 (40GB) can only handle tiny image sizes (e.g., 80x80 pixels) when running advanced models like MotionRNN. In contrast, real-world tasks like precipitation nowcasting or robot navigation require processing high-resolution images. To fit these models into memory, researchers are often forced to downsample their data, which destroys the fine-grained details essential for accurate prediction.
Methodology: The MS-RNN Framework
The authors propose MS-RNN (Multi-Scale RNN), a general "plug-and-play" framework that can be wrapped around almost any existing spatiotemporal RNN (like ConvLSTM, PredRNN, or TrajGRU).
The core architecture consists of:
- A Mirrored Pyramid Structure: Instead of keeping the image resolution constant across all layers, MS-RNN uses max pooling to downsample tensors as they move deeper into the encoder and bilinear interpolation to upsample them in the decoder.
- UNet-style Skip Connections: To prevent the loss of detail caused by downsampling, the framework adds skip connections that pass high-frequency information from the encoder layers directly to the corresponding decoder layers of the same scale.
- Unified Tensor Flow: The authors provide a mathematical unification of various complex RNN propagation paths, making the multi-scale approach compatible with a wide library of existing models.
Experimental Evaluation
The framework was evaluated on four diverse datasets: Moving MNIST (synthetic digits), TaxiBJ (traffic flow), KTH Human Action (human movement), and Germany Radar Map (precipitation nowcasting). Eight base models were tested to prove the framework's generality.
Key Insights
- Efficiency Gains: By operating on lower resolutions in deeper layers, the model significantly reduces "outputs memory"—the space needed for intermediate feature maps—which is typically the largest consumer of GPU RAM during training.
- Expanded Receptive Field: Downsampling allows a standard 3x3 convolution kernel to "see" a much larger portion of the image. For example, the encoder's receptive field in MS-ConvLSTM reaches 15x15, compared to just 7x7 in the vanilla version.
- Coarse-to-Fine Synthesis: The multi-scale decoder naturally follows a "simple-to-difficult" learning path, first predicting coarse outlines at low resolution and then progressively refining details at higher scales.
Results
The experimental results across eight different base models were remarkably consistent. MS-RNN reduced memory usage by 29.8% to 52.4% depending on the model. For the advanced MotionRNN, memory dropped from 20.65G to 10.48G.
Despite using less memory, MS-RNN models consistently outperformed their "vanilla" counterparts. On Moving MNIST, MS-ConvLSTM (the simplest model) actually approached the performance of the much more complex vanilla MotionRNN. As shown in the memory usage analysis, while vanilla models fail (OOM) as image size increases, MS-RNN allows the same hardware to process significantly larger images.
Conclusion
MS-RNN significantly lowers the barrier to entry for high-resolution video prediction. While it doesn't solve the problem entirely for extremely high resolutions, it provides a robust framework for scaling existing models. Future work suggests combining MS-RNN with "patching" strategies to find the perfect balance between multi-scale architectures and global context preservation.
Summary updated