TL;DR
Vgent is a training-free framework that enables Large Video Language Models (LVLMs) to understand hour-long videos by representing them as structured graphs of interconnected entities. By combining graph-based retrieval with a "structured reasoning" step that filters out irrelevant visual noise, Vgent achieves up to an 8.6% performance boost over previous state-of-the-art retrieval methods.
The Challenge of Long Video Understanding
Current Large Video Language Models (LVLMs) are highly capable of describing short clips, but they hit a "context wall" with long-form content. A 30-minute video can translate into over 200,000 tokens—far exceeding the memory limits of most models.
To cope, researchers usually turn to Retrieval-Augmented Generation (RAG), which picks out the most relevant snippets of a video to answer a specific question. However, standard RAG has two major flaws when applied to video:
- Broken Continuity: It treats video clips like independent text documents, losing the "connective tissue" of recurring characters or objects across time.
- Information Overload: Even if the right clip is retrieved, the model is often distracted by "hard negatives"—clips that look similar to the target but contain irrelevant details—leading to hallucinations or incorrect answers.
The Vgent Framework
Vgent introduces a four-stage pipeline designed to preserve temporal logic and minimize noise:
- Offline Video Graph Construction: The video is segmented into short clips. An LVLM extracts "visual entities" (people, objects, actions) from each. Critically, Vgent merges identical entities across different clips to build a knowledge graph where nodes are clips and edges represent shared entities.
- Graph-based Retrieval: When a user asks a question, Vgent extracts keywords and uses the graph to find not just the most similar clips, but also their semantically related neighbors.
- Structured Reasoning (The "Denoiser"): Instead of feeding all retrieved clips to the model at once, Vgent performs an intermediate verification step. It generates simple "yes/no" or numerical sub-questions (e.g., "Is the person holding a plate?") to verify the relevance of each retrieved clip.
- Multimodal Augmented Generation: Only the verified clips and a summary of the reasoning step are fed into the final prompt, ensuring the model focuses on the most critical evidence.
Key Insights and Results
The authors evaluated Vgent across three major long-video understanding benchmarks: MLVU, VideoMME, and LongVideoBench (LVB).
- Graphs > Lists: By using a graph, Vgent maintains the "identity" of objects across a long timeline. This allows the model to follow a specific entity (like a plate moving from a sink to a cabinet) even if those events are separated by 20 minutes of footage.
- The "Retrieval is Not Enough" Realization: The authors found that in 44% of failure cases, the correct clip was actually retrieved, but the model was simply confused by other similar-looking clips. This highlights that "reasoning" is just as important as "retrieval" in the RAG pipeline.
- Efficiency through Offloading: Because the graph is built offline and is query-independent, it can be reused for multiple questions about the same video, leading to a 1.73x speedup over query-dependent methods like Video-RAG.
Performance Highlights: * Vgent improved the performance of various open-source models (like InternVL2.5 and Qwen2.5-VL) by 3.0% to 5.4% on the MLVU benchmark. * It outperformed existing state-of-the-art video RAG methods by an average of 8.6%. * Remarkably, a 3B-parameter model (Qwen2.5-VL) equipped with Vgent achieved 70.4% accuracy, actually outperforming its much larger 7B-parameter counterpart. * The framework showed the most significant gains in "Count" and "Order" tasks, which are notoriously difficult because they require aggregating information across multiple disparate time segments.
Limitations and Future Work
Currently, the graph relies on textual descriptions of entities. The authors acknowledge that incorporating raw visual embeddings or frame-level features directly into the graph could further improve accuracy, though at a higher computational cost. Furthermore, Vgent is "model-agnostic," meaning its ultimate performance is still capped by the inherent reasoning capabilities of the underlying LVLM. As base models improve, Vgent's ceiling will likely rise with them.
Summary updated