Introduction
While Large Language Models (LLMs) have achieved remarkable success in text processing, their multimodal counterparts (MLLMs) face a significant "memory wall" when dealing with long-form video. Most current systems are restricted to processing a few dozen frames because storing high-dimensional tokens for thousands of frames quickly exceeds the VRAM of standard GPUs. Existing solutions often rely on aggressive sub-sampling, which sacrifices fine-grained detail and narrative continuity.
MovieChat is a novel framework designed to overcome these limitations by implementing a human-inspired memory mechanism. By transitioning from dense token representations to a sparse, consolidated long-term memory, it can process videos exceeding 10,000 frames on a standard 24GB GPU—representing a 10,000x improvement in VRAM efficiency per frame compared to state-of-the-art methods.
The MovieChat Architecture
The core of MovieChat is a memory architecture inspired by the Atkinson-Shiffrin psychological model, which distinguishes between sensory, short-term, and long-term memory.
Memory Components
- Short-term Memory (STM): Video clips are processed through a sliding window and stored as dense tokens in a fixed-length FIFO buffer.
- Memory Consolidation: When the STM buffer reaches capacity, an iterative merging process begins. The system calculates cosine similarity between adjacent frames and merges the most similar pairs using a weighted average. This effectively transforms redundant "dense" tokens into "sparse" long-term memories.
- Long-term Memory (LTM): This sparse repository maintains the "essence" of the video over long durations without the massive overhead of raw frame data.
MovieChat supports two inference modes: Global Mode, which uses LTM to answer questions about the entire video, and Breakpoint Mode, which combines LTM with the current STM to provide context-aware answers about specific moments.
Overcoming the Memory Wall
The primary innovation of MovieChat is its ability to exploit temporal redundancy. Because adjacent frames in a video often contain nearly identical information, merging them allows the model to retain information weight while drastically reducing token weight.
As shown in the figure above, while models like Video-LLaMA and VideoChat exhibit exponential memory growth, MovieChat maintains a near-constant memory footprint. It reduces VRAM cost per frame from approximately 200MB to just 21.3KB. This efficiency allows a single consumer-grade GPU (like an RTX 3090) to process feature-length sequences that previously required server clusters.
Evaluation and Results
To evaluate long-video capabilities, the authors introduced MovieChat-1K, a dataset of 1,000 high-quality long video clips with 14,000 manual annotations. Most videos in this set range from 10,000 to 12,000 frames.
In benchmarks, MovieChat significantly outperformed existing models. In Global Mode, it achieved an accuracy of 62.3% on the MovieChat-1K benchmark, compared to 51.7% for Video-LLaMA. Qualitative analysis suggests that MovieChat is less prone to hallucinations in long sequences because it maintains a consolidated record of the past rather than scattered snapshots.
Conclusion and Future Work
MovieChat represents a major step forward in long-video understanding by proving that sparse memory management is a viable path around the computational limits of dense token processing. While the model currently faces some limitations in temporal precision and is bounded by the capabilities of its pre-trained visual encoder (EVA-CLIP), its memory efficiency sets a new standard for multimodal research. Future work will focus on optimizing the consolidation speed and improving the model's ability to estimate event durations within very long sequences.
Summary updated