Video Prediction Transformers without Recurrence or Convolution
Yujin Tang, Lu Qi, Xiangtai Li, Chao Ma, Ming-Hsuan Yang
TL;DR
PredFormer presents a purely transformer-based approach to video prediction that eliminates recurrence and convolution. By deploying Gated Transformer Blocks with both full and factorized spatiotemporal attention patterns, the method achieves state-of-the-art results across Moving MNIST, Human3.6m, TaxiBJ, and WeatherBench while improving efficiency. Extensive ablations reveal how interleaved spatiotemporal designs, gating mechanisms, and absolute positional encoding contribute to performance and generalization. The work demonstrates that global spatiotemporal modeling with carefully designed transformers can outperform CNN- and RNN-based baselines in real-world prediction tasks, offering a practical, scalable baseline for video forecasting.
Abstract
Video prediction has witnessed the emergence of RNN-based models led by ConvLSTM, and CNN-based models led by SimVP. Following the significant success of ViT, recent works have integrated ViT into both RNN and CNN frameworks, achieving improved performance. While we appreciate these prior approaches, we raise a fundamental question: Is there a simpler yet more effective solution that can eliminate the high computational cost of RNNs while addressing the limited receptive fields and poor generalization of CNNs? How far can it go with a simple pure transformer model for video prediction? In this paper, we propose PredFormer, a framework entirely based on Gated Transformers. We provide a comprehensive analysis of 3D Attention in the context of video prediction. Extensive experiments demonstrate that PredFormer delivers state-of-the-art performance across four standard benchmarks. The significant improvements in both accuracy and efficiency highlight the potential of PredFormer as a strong baseline for real-world video prediction applications. The source code and trained models will be released at https://github.com/yyyujintang/PredFormer.
