Skip to main content
QUICK REVIEW

[Paper Review] MovieChat: From Dense Token to Sparse Memory for Long Video Understanding

Enxin Song, Wenhao Chai|arXiv (Cornell University)|Jul 31, 2023
Multimodal Machine Learning ApplicationsComputer Science4 citations
TL;DR

MovieChat proposes a novel memory-augmented framework that uses a sliding window of dense video tokens and a two-stage memory mechanism—short-term (dynamic) and long-term (compressed)—to enable efficient long video understanding in large language models. It achieves state-of-the-art performance on long videos (up to 10K+ frames) with 10000× lower VRAM cost per frame than prior methods, and introduces the MovieChat-1K benchmark with 1K long videos and 14K human-annotated QA pairs.

ABSTRACT

Recently, integrating video foundation models and large language models to build a video understanding system can overcome the limitations of specific pre-defined vision tasks. Yet, existing systems can only handle videos with very few frames. For long videos, the computation complexity, memory cost, and long-term temporal connection impose additional challenges. Taking advantage of the Atkinson-Shiffrin memory model, with tokens in Transformers being employed as the carriers of memory in combination with our specially designed memory mechanism, we propose the MovieChat to overcome these challenges. MovieChat achieves state-of-the-art performance in long video understanding, along with the released MovieChat-1K benchmark with 1K long video and 14K manual annotations for validation of the effectiveness of our method.

Motivation & Objective

  • To address the high computational and memory cost of processing long videos in multimodal LLMs.
  • To overcome the challenge of maintaining long-term temporal dependencies in long video understanding.
  • To develop a system that supports end-to-end long video reasoning with minimal memory overhead.
  • To establish a standardized benchmark for evaluating long video understanding systems.
  • To integrate vision foundation models and LLMs using a biologically inspired memory architecture for scalable video comprehension.

Proposed method

  • Uses a sliding window to extract dense video tokens from frames, which are processed sequentially in a short-term memory buffer.
  • Employs a fixed-length short-term memory that dynamically updates by discarding the oldest tokens and consolidating them into a long-term memory.
  • Applies a projection layer to compress the consolidated short-term tokens into a compact, persistent long-term memory representation.
  • Integrates the long-term memory representation with a large language model for user interaction and reasoning.
  • Leverages the Atkinson-Shiffrin memory model as inspiration, modeling short-term memory as a buffer and long-term memory as a stable, compressed store.
  • Uses merged tokens from the short-term memory as initialization for the next window, improving coherence and performance over alternative initialization strategies.

Experimental results

Research questions

  • RQ1Can a memory-augmented architecture effectively reduce computation and memory costs for long video understanding in multimodal LLMs?
  • RQ2How does the balance between short-term memory length and compression affect performance in long video tasks?
  • RQ3Can a biologically inspired memory mechanism improve long-term temporal reasoning in video understanding?
  • RQ4What is the impact of different initialization strategies for short-term memory on downstream performance?
  • RQ5To what extent can a unified framework support both global and breakpoint-mode video question-answering on long videos?

Key findings

  • MovieChat achieves state-of-the-art performance on long video understanding, with a 3.12 score in temporal understanding (TU) and 3.12 in consistency (CO) on the MovieChat-1K benchmark.
  • The system supports video inference on 10,000+ frame videos using only 24GB of VRAM, a 10,000× reduction in VRAM cost per frame compared to prior methods.
  • Performance peaks at intermediate memory buffer lengths, indicating an optimal trade-off between information retention and compression loss.
  • Initialization using merged tokens from previous windows yields the best performance, outperforming last-token or uniform sampling methods.
  • The framework maintains strong performance across diverse long video types, including cartoons, TV series, and compilations, in both global and breakpoint question-answering modes.
  • The MovieChat-1K benchmark demonstrates high-quality human-annotated data, with 14,000 question-answer pairs, enabling reliable evaluation of long video understanding systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.