For years, computer vision treated video as a "stack of images." To understand motion, researchers typically used 2D Convolutional Neural Networks (CNNs) to extract features from individual frames and then applied a separate temporal layer—like an LSTM or a 1D convolution—to stitch those features together.
The rise of the Vision Transformer (ViT) has fundamentally changed this approach. Instead of treating time as an afterthought, modern architectures treat video as a unified three-dimensional volume of data. By decomposing this volume into discrete "spatiotemporal patches," models can process space and time simultaneously, leading to a more profound understanding of motion, physics, and causality.
The Geometry of a Tubelet
In a standard Vision Transformer, an image is sliced into 2D squares (patches), which are then flattened into a sequence of tokens. For video, this concept evolves into the tubelet.
As described by Anwaar Ulhaq and Ajmal Mian in Vision Transformers for Action Recognition: A Survey, a tubelet is a 3D spatio-temporal volume—a "cube" of pixels spanning several frames. By extracting these volumes, the model captures local motion and spatial structure within a single token before the attention mechanism even begins.
This shift is intuitive: if you look at a 2D patch of a falling ball, you see a circle. If you look at a 3D tubelet of that same ball, the token itself contains the "streak" of motion. This allows the transformer to model long-range dependencies across the video by attending to tokens that already possess dynamic information.
Managing Complexity with Locality and Views
The primary challenge of video is scale. A one-minute video contains thousands of times more data than a single image. Applying global self-attention—where every token looks at every other token—is computationally explosive.
Researchers have developed two primary strategies to handle this:
- Hierarchical Locality: Ze Liu and Yue Cao introduced the Video Swin Transformer, which applies attention within "shifted windows." Instead of looking at the whole video at once, the model looks at local 3D neighborhoods, gradually merging them to capture larger structures.
- Multiview Decomposition: In Multiview Transformers for Video Recognition, Shen Yan and Anurag Arnab propose using multiple parallel encoders. Each encoder processes the video at a different resolution or "view," allowing the model to balance fine-grained local details with coarse global context efficiently.
Learning from Redundancy
One of the most surprising insights in this field is how much information in a video is actually "garbage." Because consecutive frames are highly similar, video is incredibly redundant.
Christoph Feichtenhofer and Kaiming He exploited this in Masked Autoencoders As Spatiotemporal Learners. They found that they could mask out up to 90% of the spatiotemporal patches and still train a model to reconstruct the original video. This "Video MAE" approach forces the model to learn the underlying "physics" of the world—if a person is mid-stride in one patch, the model must understand human motion to predict where they will be in the masked patches.
This high masking ratio doesn't just make training faster; it acts as a powerful regularizer, preventing the model from simply memorizing frames and forcing it to learn meaningful representations of motion.
The Generative Convergence
The same spatiotemporal patching that powers recognition is now driving the revolution in video generation. Models like OpenAI's Sora, reviewed by Yixin Liu in Sora: A Review on Background, Technology, Limitations, and Opportunities of Large Vision Models, treat video generation as a sequence-modeling task.
By converting video into "spacetime latent patches," these models can apply the same scaling laws that made Large Language Models (LLMs) successful. Whether the task is predicting the next word in a sentence or the next spatiotemporal patch in a video, the underlying mechanism is the same: a Transformer attending to a sequence of tokens.
This has led to what Rohit Girdhar calls the "Great Convergence" in OmniMAE. We are moving toward a single, unified architecture where images are simply "single-frame videos" and videos are "sequences of 3D patches," all processed through the same transformer backbone. This unified representation, as seen in Qwen2-VL by Chang Zhou and colleagues, allows models to generalize across resolutions, aspect ratios, and modalities with unprecedented ease.