[Paper Review] Streaming Long Video Understanding with Large Language Models
This paper proposes VideoStreaming, a vision-language large model that enables streaming, constant-memory encoding of arbitrarily long videos by propagating contextual memory across clips and adaptively selecting question-relevant memories. It achieves superior accuracy and efficiency on long video benchmarks by preserving temporal dynamics and reducing redundancy through end-to-end training with synthetic long-video data.
This paper presents VideoStreaming, an advanced vision-language large model (VLLM) for video understanding, that capably understands arbitrary-length video with a constant number of video tokens streamingly encoded and adaptively selected. The challenge of video understanding in the vision language area mainly lies in the significant computational burden caused by the great number of tokens extracted from long videos. Previous works rely on sparse sampling or frame compression to reduce tokens. However, such approaches either disregard temporal information in a long time span or sacrifice spatial details, resulting in flawed compression. To address these limitations, our VideoStreaming has two core designs: Memory-Propagated Streaming Encoding and Adaptive Memory Selection. The Memory-Propagated Streaming Encoding architecture segments long videos into short clips and sequentially encodes each clip with a propagated memory. In each iteration, we utilize the encoded results of the preceding clip as historical memory, which is integrated with the current clip to distill a condensed representation that encapsulates the video content up to the current timestamp. After the encoding process, the Adaptive Memory Selection strategy selects a constant number of question-related memories from all the historical memories and feeds them into the LLM to generate informative responses. The question-related selection reduces redundancy within the memories, enabling efficient and precise video understanding. Meanwhile, the disentangled video extraction and reasoning design allows the LLM to answer different questions about a video by directly selecting corresponding memories, without the need to encode the whole video for each question. Our model achieves superior performance and higher efficiency on long video benchmarks, showcasing precise temporal comprehension for detailed question answering.
Motivation & Objective
- Address the computational burden and information loss in long video understanding due to excessive token counts from full-video encoding.
- Overcome limitations of prior methods that rely on sparse sampling or frame compression, which sacrifice temporal or spatial details.
- Enable precise, question-specific reasoning over long videos without re-encoding the entire sequence for each query.
- Develop a streaming architecture that maintains a fixed-length global memory while preserving long-term temporal dynamics.
- Design an adaptive memory selection mechanism that retrieves only the most relevant historical memories for each question.
Proposed method
- Segment long videos into short clips and apply memory-propagated streaming encoding, where each clip’s encoding incorporates the previous clip’s encoded representation as a historical memory.
- Use a small decoder-only language model to autoregressively distill a condensed, fixed-length memory from the concatenation of historical memory and current clip features.
- Append a single summary token after each clip’s encoding to serve as a clip indicator for later retrieval and similarity-based selection.
- For question answering, compute similarity between the question’s embedding and all clip indicators to select the most relevant subset of historical memories.
- Feed the selected memories and the question into a large language model (LLM) for detailed, context-aware responses without reprocessing the full video.
- Train the system in two stages: first, a prefix-tuning method to pre-train the streaming encoder on single-clip tasks; second, joint fine-tuning with the LLM on synthetic long-video QA pairs.
Experimental results
Research questions
- RQ1Can a streaming encoding mechanism with propagated memory maintain long-term temporal coherence in arbitrarily long videos while keeping memory size constant?
- RQ2How effective is adaptive memory selection in retrieving question-relevant segments without re-encoding the entire video?
- RQ3Does incorporating temporal grounding supervision during training improve the model’s ability to localize answers in time?
- RQ4What is the impact of model depth in the streaming encoder on video representation quality and downstream performance?
- RQ5Can synthetic long-video data with multi-round QA pairs effectively train a model for generalizable long video understanding?
Key findings
- The model achieves 44.1% accuracy on the Fullset benchmark and 17.8% Acc@GQA, outperforming baselines that use fixed memory or no memory selection.
- Adaptive memory selection reduces breakpoint-mode accuracy drop from 31.9% (baseline) to 15.6% (with selection), demonstrating improved detailed temporal reasoning.
- Using fewer layers (16) in the streaming encoder yields better performance (44.1% Fullset) than deeper variants (32 layers: 41.3%), suggesting shallower layers better capture condensed visual representations.
- Warm-up training with pseudo-temporal labels improves grounding performance, with a 32.2% mIoU on Next-GQA, compared to 24.1% without supervision.
- The model selects later timestamps more frequently in weakly-supervised settings, indicating that historical memory helps preserve early context even without explicit grounding supervision.
- Ablation shows that reusing temporal labels after warm-up provides no benefit, confirming that warm-up initialization is sufficient for generalization to large-scale data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.