All models

PredRNN-SpatiotemporalLSTM

PredRNN predicts future frames with Spatiotemporal LSTM units and a zigzag memory flow across layers.

Video · 245 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (67 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Task
Video
Parameters
831.4K
Operations
245
Framework
PyTorch
Recurrent
Yes
Published
IEEE TPAMI (arXiv 2021)
Cited by
641 (as of 9 October 2026)
Authors
Yunbo Wang, Haixu Wu, Jianjin Zhang and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m11690
Graph hash
db8722a67d798b89ab3627d3aebb1049ce3acfd9a0a30833ba6e01c8d3beb7b8
Skeleton hash
60726e184d09b3b1caba2d3ffe4280e91438d0b797fd532e73acb09b924330d2
Architecture hash
0df6a44efe381370b990f2b04de38eef6a723b2af46154bdd4c51df8c5bafdf0
Diagram SHA-256
697bacff3e8eb85d007f1804fe8ca693501f2858a20c4228e2d8a6dbb4c5aa01
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.predrnn:build_predrnn: build({})

What it is

PredRNN is a recurrent network for the predictive learning of spatiotemporal sequences, which aims to generate future images by learning from the historical context. The paper lists precipitation forecasting and traffic flow prediction among the applications. Its starting point is the stacked Convolutional LSTM (ConvLSTM), where memory states are updated only along the arrow of time within each layer and depend little on the features at other layers.

Besides the original memory cell of the LSTM, PredRNN has a zigzag memory flow that propagates in both bottom-up and top-down directions across all layers. At the top layer, this flow brings the high-level memory state to the bottom layer at the next timestep. The building block is the Spatiotemporal LSTM (ST-LSTM), in which the spatiotemporal memory flow interacts with the original memory state of the LSTM. A memory decoupling loss keeps the two memory cells from learning redundant features.

This journal paper extends the authors' previous work in three technical aspects. One is a curriculum learning procedure named Reverse Scheduled Sampling, which randomly hides real observations in the input sequence during training. The paper reports experiments on five datasets: Moving MNIST, the KTH action dataset, a radar echo dataset for precipitation forecasting, the Traffic4Cast dataset of traffic flows and the action-conditioned BAIR dataset.

Key idea. PredRNN introduces the Spatiotemporal LSTM, a recurrent unit with a pair of decoupled memory cells linked by a zigzag memory flow that crosses all layers, for predicting future frames.

  • PredRNN
  • Predictive Recurrent Neural Network
  • Spatiotemporal LSTM
  • ST-LSTM
  • video prediction
  • spatiotemporal predictive learning
  • future frame prediction
  • precipitation nowcasting
  • spatiotemporal memory flow

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{wang2022predrnnrecurrentneuralnetwork,
      title={PredRNN: A Recurrent Neural Network for Spatiotemporal Predictive Learning}, 
      author={Yunbo Wang and Haixu Wu and Jianjin Zhang and Zhifeng Gao and Jianmin Wang and Philip S. Yu and Mingsheng Long},
      year={2022},
      eprint={2103.09504},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2103.09504}, 
}