Abstract
Understanding long-form video content remains a significant hurdle for Multimodal Large Language Models (MLLMs) due to the computational costs of dense sampling and the information loss inherent in sparse sampling. This paper presents VideoLucy, a framework that employs a hierarchical memory structure and an iterative agent-based backtracking mechanism to achieve precise "needle-in-a-haystack" retrieval. By mimicking human coarse-to-fine recollection, VideoLucy achieves state-of-the-art results on major benchmarks, including LVBench and Video-MME, frequently outperforming leading proprietary models.
1. Introduction
The ability to comprehend videos spanning several hours is essential for applications ranging from security surveillance to personal digital assistants. However, current MLLMs struggle with the "information loss" problem. Traditional approaches typically rely on either temporal fragmentation—where frames are captioned in isolation, losing context—or sparse sampling, which risks skipping over critical, fleeting details. VideoLucy addresses these limitations by introducing a "Deep Memory Backtracking" framework that prioritizes depth of description over breadth of sampling.
2. Methodology
VideoLucy's architecture is built upon two pillars: a multi-layered memory hierarchy and an autonomous agent loop.
2.1 Hierarchical Memory Structure
Rather than processing a video as a flat sequence, VideoLucy organizes information into three distinct levels of granularity:
- Coarse Memory: Provides long-range summaries of extensive video clips, capturing the overall narrative.
- Fine Memory: Offers short-range descriptions of specific segments, focusing on localized actions.
- Ultra-fine Memory: Delivers frame-level details, capturing the most minute visual elements.
As the system moves deeper into the hierarchy, the temporal scope narrows while the descriptive density increases, allowing the model to "zoom in" on relevant data.
2.2 Agent-driven Iterative Backtracking
To navigate this hierarchy, VideoLucy utilizes four specialized agents that operate in a feedback loop:
- Localization Agent: Scans the memory to identify time segments likely to contain the answer to a user query.
- Instruction Agent: Evaluates the current state of knowledge and specifies what additional details are required (e.g., identifying a specific object's attributes).
- Captioning Agent: Generates new, high-fidelity descriptions for the targeted segments based on the Instruction Agent’s requirements.
- Answering Agent: Determines if the accumulated information is sufficient for a confident response. If the confidence threshold is not met, the agent triggers another iteration, "backtracking" further into the memory.
3. Experimental Setup
The framework was evaluated against several rigorous benchmarks:
- MLVU & Video-MME: Standard benchmarks for multi-task and multi-modal long video understanding.
- LVBench: A benchmark focused on ultra-long videos (averaging one hour).
- EgoMem: A new dataset introduced by the authors, consisting of 42 egocentric videos with an average duration of 6.33 hours. EgoMem is specifically designed to test cross-temporal reasoning and fine-grained perception in extremely long contexts.
4. Results and Discussion
VideoLucy demonstrated superior performance across all tested benchmarks, notably surpassing several proprietary models.
4.1 Benchmark Performance
On the LVBench dataset, VideoLucy achieved an accuracy of 58.8%, representing a 9.9% improvement over GPT-4o. In the Video-MME evaluation, it scored 72.5%, outperforming Gemini 1.5 Pro. Furthermore, in "needle-in-a-haystack" tests, VideoLucy maintained consistent accuracy as video length increased to 4,000 seconds, whereas competing models showed significant performance degradation.
4.2 Human-Centric Design
The core innovation of VideoLucy lies in its emulation of human memory. Humans do not retain every frame of a day; instead, we maintain a general outline and retrieve specific details only when prompted. By formalizing this as a computational loop, VideoLucy avoids the prohibitive costs of processing every frame with high density, focusing instead on getting the right descriptions for the right moments.
5. Limitations and Future Work
Despite its success, VideoLucy faces challenges. The system's accuracy is dependent on the underlying MLLM's visual capabilities; hallucinations in the initial captioning phase can lead the backtracking logic astray. Additionally, the iterative nature of the process introduces higher inference latency compared to single-pass models. Future research will focus on improving the efficiency of the agent loops and increasing the system's robustness against "noise" or irrelevant events in ultra-long video streams.
6. Conclusion
VideoLucy represents a significant step forward in long video understanding. By combining hierarchical memory with an intelligent backtracking agent, it effectively solves the needle-in-a-haystack problem, providing a scalable and high-performance solution for analyzing hours of video content.
Summary updated