Abstract
While Large Language Models (LLMs) have demonstrated impressive capabilities in short-video understanding, processing long-form or streaming video remains a significant challenge due to the computational overhead of "token explosion." This paper introduces rLiVS (recurrent LLM-informed Visual Selection), a training-free framework designed for efficient streaming video comprehension. By leveraging the LLM's internal attention mechanisms to prune up to 95% of redundant visual tokens and employing a recurrent memory buffer, rLiVS achieves state-of-the-art performance on long-video benchmarks while significantly reducing memory usage and latency.
1. Introduction
Modern Video-LLMs typically struggle with long-form content, such as feature-length movies or continuous security feeds. Existing approaches generally fall into two categories, both of which have significant drawbacks: the "Brute-Force" approach, which attempts to process every frame and quickly exceeds VRAM limits, and the "Sparse" approach, which samples frames too thinly and loses critical fine-grained details.
To bridge this gap, we present rLiVS, a method that provides LLMs with a persistent, lightweight memory. Unlike previous streaming solutions that require expensive retraining or massive KV-caches, rLiVS is a plug-and-play approach that intelligently selects which visual information to retain and which to discard based on the model's own internal priorities.
2. The rLiVS Framework
The rLiVS method relies on three primary pillars to manage long-term video context efficiently:
2.1 LLM-Informed Token Selection
Rather than using heuristic-based sampling, rLiVS uses the LLM itself as a filter. When processing a video clip, the system generates a brief caption. By analyzing the model's internal attention weights during this generation, the system identifies which visual tokens were most influential. rLiVS retains only the top ~5% of these high-attention tokens, discarding the remaining 95% as noise. This ensures that the most semantically relevant visual information is preserved for future reasoning.
2.2 Recurrent Processing
To maintain temporal continuity, selected tokens from previous clips are prepended to the input of the current clip. This creates a recurrent loop where the model’s memory of the past directly informs its understanding of the present. This "visual thread" allows the model to track objects and narrative elements across clip boundaries more effectively than caption-only methods.
2.3 Caption-Based Retrieval
For final question-answering tasks, rLiVS utilizes a dual-memory strategy. While visual tokens provide short-to-medium-term context, the system stores the generated text captions for every clip as a long-term record. Using Maximal Marginal Relevance (MMR), the system retrieves the most relevant and diverse set of captions to provide the LLM with the necessary context to answer complex queries about the entire video duration.
3. Experimental Evaluation
We evaluated rLiVS across several challenging long-video benchmarks:
- Realtime VStream-QA: Including RVS-Movie (plot understanding) and RVS-Ego (first-person comprehension) with videos up to 40 minutes.
- MovieChat: Testing long-range comprehension across 170 videos.
- CG-Bench: A large-scale dataset of over 1,200 videos averaging 27 minutes each.
- NextQA: Utilized for ablation studies to validate the token selection strategy.
4. Results and Key Insights
Our experiments demonstrate that rLiVS offers a superior balance of efficiency and accuracy:
- High Compression Efficiency: The method successfully discards approximately 95% of visual tokens with minimal impact on performance. On the NextQA benchmark, retaining only 12% of tokens yielded results nearly identical to using the full token set.
- State-of-the-Art Performance: On the RVS-Movie streaming benchmark, rLiVS outperformed the previous leading method, ReKV, by 3.3% in accuracy.
- Hardware Efficiency: Compared to ReKV, rLiVS reduced peak VRAM usage by 11GB and improved query latency by nearly 1 second, making it highly suitable for real-time applications.
- Model Agnosticism: The framework proved effective across various architectures, including LLaVA-OneVision and Qwen2.5-VL, demonstrating its broad utility.
5. Discussion and Limitations
While rLiVS represents a significant step forward, certain limitations remain. The aggressive 95% pruning rate may occasionally discard fine-grained details that, while irrelevant to a general caption, might be necessary for specific, niche queries later in the stream. Additionally, the current First-In, First-Out (FIFO) management of the visual buffer means that information from the very beginning of a long video may eventually be lost if it is not reinforced.
Future work will explore adaptive compression—adjusting the token retention rate based on scene complexity—and the potential for integrating the selection mechanism directly into the training phase for even tighter alignment between the LLM and its visual input.
6. Conclusion
rLiVS demonstrates that an LLM's own attention mechanism is a powerful tool for visual data pruning. By combining this selection process with recurrent visual memory and text-based retrieval, we enable Video-LLMs to process hour-long streams with unprecedented efficiency and accuracy, paving the way for more practical AI applications in long-form video analysis.
Summary updated