The fundamental challenge of long-form video AI is the "memory wall." Standard Transformer architectures exhibit quadratic computational complexity relative to the sequence length; as a video grows from seconds to hours, the memory required to store the keys and values of every frame eventually exceeds the capacity of even the most powerful GPUs.
To overcome this, a new paradigm has emerged: Streaming Architectures. Instead of treating a video as a single, massive batch, these models process video as a continuous flow. By using sliding windows and fixed-size recurrent memories, they decouple the computational cost from the video's duration, allowing for the analysis of hour-long footage with the same memory footprint as a short clip.
Breaking the Video into Manageable Windows
The simplest way to handle an indefinitely long video is to avoid looking at it all at once. Researchers have moved toward "near-online" or "streaming" frameworks that process video in overlapping temporal windows.
In NOVIS, Tim Meinhardt and colleagues demonstrate that global context is often unnecessary for high-accuracy tracking if local segments are linked through learned "overlap embeddings." This sliding window approach is echoed in MINOTAUR, where Raghav Goyal uses overlapping windows to maintain local context while a foreground-prediction module aggregates results to ensure global consistency.
The intuition here is that video information is highly localized. To understand what is happening at minute 60, you rarely need the raw pixel data from minute 1; you only need a summary of what has transpired. By sliding a window across the timeline, models like AllTracker can propagate state across hundreds of frames without ever holding the entire sequence in VRAM.
From Expanding Banks to Fixed-Size Memory
While sliding windows handle local context, they can struggle with long-range dependencies—remembering a character who appeared in the first scene but hasn't been seen for thirty minutes. Traditional models solved this with "memory banks" that grew with every frame, but this leads back to the memory wall.
The breakthrough in recent work is the transition to fixed-size, dynamic memory. Instead of storing every frame, the model maintains a constant number of "memory tokens" or a "latent state" that is updated as new information arrives.
- Recurrent States: TRecViT by Viorica Pătrăucean replaces heavy self-attention with Gated Linear Recurrent Units (LRUs). This allows the model to compress the entire history of the video into a fixed-size hidden state, achieving a constant memory footprint regardless of length.
- Clustering and Summarization: In Streaming Dense Video Captioning, Anurag Arnab uses differentiable clustering to merge similar visual features into a fixed set of memory modules. Similarly, MovieChat by Enxin Song transitions from "dense tokens" (storing everything) to "sparse memory" (storing only the essence), allowing it to process 10,000+ frames on a standard consumer GPU.
Thinking While Watching
This shift enables a "think while watching" capability. Traditional models are "offline"—they must wait for the video to end before they can answer a question. Streaming models, such as VideoDetective by Di Hu, use question-aware memory tokens that evolve as the video plays. This allows the model to focus its limited memory capacity on the specific clues needed to answer a user's query.
Yueqian Wang and the team behind MMDuet take this further by allowing the model to decide when to speak. Because the model processes the video as a continuous stream, it can provide real-time responses to events as they happen, rather than providing a post-hoc summary.
Efficiency Through Compression
To maintain this constant memory budget, researchers employ various compression strategies for historical data. Lvmin Zhang suggests a geometric progression of compression, where recent frames are kept in high resolution while older frames are progressively compressed. This mimics human memory: we remember the last few seconds in vivid detail, but our memory of an hour ago is a low-resolution semantic summary.
In the domain of object segmentation, LiVOS by Qin Liu replaces memory-heavy softmax attention with linear matching. By treating segmentation as a recurrent state update problem rather than a retrieval task, they achieve 4K inference on a single GPU—a feat previously impossible for models that relied on expanding memory banks.
Why It Works: The Redundancy of Time
The reason these streaming, constant-memory approaches work is that video is inherently redundant. Most pixels do not change significantly from one frame to the next, and most scenes do not require every preceding second to be understood. By identifying the "critical clues" (VideoDetective) or "semantic tokens" (SEAL), these models can discard the vast majority of raw data while retaining the information necessary for complex reasoning. This transition from "storing data" to "maintaining state" is what allows AI to finally scale from short clips to feature-length films.