In video understanding, the transition from local, fixed-window processing to global, attention-based modeling has fundamentally changed how machines interpret time. While early deep learning models treated videos as stacks of independent images or short, rigid clips, recent research has pivoted toward architectures that can "see" the entire timeline at once. This shift is driven by the realization that understanding an action—whether it is washing hands, cooking a meal, or predicting a future movement—requires capturing relationships between events that may be seconds or even minutes apart.
The Bottleneck of Local Context
Traditional video models relied heavily on 3D Convolutional Neural Networks (CNNs) or Temporal Convolutional Networks (TCNs). These architectures use a "sliding window" approach, where the model only looks at a small neighborhood of frames at any given time. As noted by Dazhao Du and colleagues in Do we really need temporal convolutions in action segmentation?, these fixed receptive fields are often too "stiff" to capture the complex, long-term dependencies inherent in human activities.
Similarly, simple aggregation methods like global average pooling—which collapses an entire video into a single average feature—suffer from "order-invariance." They treat a video as an unordered bag of frames, losing the crucial chronological context. Muhammet Esat Kalfaoglu et al. in Late Temporal Modeling in 3D CNN Architectures with BERT for Action Recognition demonstrate that replacing this pooling with attention allows the model to prioritize informative frames and maintain the sequence's semantic flow.
Why Transformers Excel at Video
The Transformer architecture, originally designed for language, has become the standard for video because its self-attention mechanism provides a global receptive field. Instead of processing frames in a fixed sequence or local neighborhood, a Transformer evaluates the relationship between every pair of frames in a video simultaneously.
- Handling Discontinuity: In edited media like movies, frequent cuts create temporal gaps. While recurrent models (like LSTMs) struggle when the "chain" of frames is broken, Georgios Pavlakos and team show in Human Mesh Recovery from Multiple Shots that Transformers can simply "attend" across these gaps, ignoring missing data to maintain a consistent 3D reconstruction.
- Capturing Evolution: For tasks like cloth simulation or fine-grained action scoring, the model must track how a surface or an object transforms over time. Lan Chen et al. in Deep Deformation Detail Synthesis for Thin Shell Models leverage this to ensure that wrinkles and geometric details evolve realistically across a motion sequence.
- Anticipation and Prediction: Predicting the future requires understanding the past. Survey work by Antonino Furnari in Predicting the future from first person (egocentric) vision highlights how attention mechanisms allow egocentric models to link distant past events to future trajectories.
Efficiency and Multi-modality
The move toward global attention isn't just about accuracy; it's about building a more holistic representation of video. Vladimir Iashin and Esa Rahtu demonstrate in Multi-modal Dense Video Captioning that Transformers are uniquely suited to fusing visual data with audio and speech, as the attention mechanism can weigh the importance of different modalities at different moments.
To handle the high computational cost of processing long videos, researchers like Chenglong Li in Hand Hygiene Assessment via Joint Step Segmentation and Key Action Scorer have turned to linear-complexity Transformers. These models maintain the benefits of global context while remaining efficient enough to process extended sequences, such as a full hand-washing procedure, without losing track of the step-by-step progress.