TL;DR
Traditional video Retrieval-Augmented Generation (RAG) often degrades performance by forcing text-based context into a video model's attention space. Graph-to-Frame RAG (G2F-RAG) solves this by rendering retrieved knowledge graphs into a single "reasoning frame" appended directly to the video. This training-free, plug-and-play approach keeps knowledge fusion entirely within the visual domain, boosting accuracy while providing an explicit, auditable evidence trail.
What Problem Does This Paper Address?
Complex video reasoning often requires external knowledge—such as commonsense, causal links, or spatial layouts—that isn't explicitly visible in the raw pixels. To supply this missing context, current video RAG methods retrieve text descriptions, captions, or extra video clips and append them to the prompt.
However, forcing discrete text tokens and continuous visual signals to share the same attention space causes "attention dilution." The model frequently struggles to reconcile these two distinct representations, leading to cognitive overload. Surprisingly, this cross-modal competition often causes traditional RAG systems to perform worse than baselines using no retrieval at all. The authors argue that the key bottleneck is not what to retrieve, but how to represent and fuse that knowledge with the video backbone.
Methods
G2F-RAG introduces a training-free, two-stage multi-agent framework that shifts knowledge fusion entirely into the visual space:
- Offline Stage (Graph Construction): A graph-construction agent uses a large multimodal model (LMM) to build a problem-agnostic knowledge graph ($\mathcal{G}$) for each video. This graph unifies an event-causal view (actions, intents, preconditions) and a scene-affordance view (objects, locations, functionalities), linking them to external world knowledge.
- Online Stage (Hierarchical Routing & Retrieval):
- Orchestration Agent: Evaluates query difficulty. Easy questions are answered directly by the base video model to preserve performance and save compute. Hard questions trigger the RAG pipeline.
- Retrieval Agent: Extracts a minimal, highly relevant subgraph ($S^*$) tailored to the specific query.
- Rendering Agent: Converts the structured subgraph into a single, clean visual diagram using Graphviz, utilizing icons and short labels to maximize readability.
- Visual Fusion: This rendered "reasoning frame" is appended as the final frame of the video sequence. The frozen video LMM then processes the entire sequence natively within its familiar visual domain.
Datasets
The authors evaluated G2F-RAG across 8 public benchmarks spanning various video understanding skills:
- General Multi-Task: MVBench, MMBench-Video, and VideoMME (evaluated in the no-subtitle setting).
- Temporal & Spatial Reasoning: TempCompass and VSIBench.
- Open World / External Knowledge: WildVideo (single-turn setting) and VideoMMMU.
- Long-Form Reasoning: MLVU.
Key Insights and Ideas
- Visual Space is the Native Language of Video LMMs: Video models are highly optimized to aggregate information across frames. By turning text/graphs into an image frame, the model can leverage its existing spatiotemporal attention mechanisms instead of dealing with cross-modal competition.
- Text Appending Distracts the Model: Attention heatmaps reveal that traditional text-append RAG disperses the model's attention away from key video frames. G2F-RAG keeps the model focused on the key video segments while cleanly integrating the graph frame at the end.
- Less is More (The Power of a Single Frame): Ablation studies showed that appending just one frame at the very end performs better than adding multiple frames or inserting frames in the middle of the video, which disrupts temporal consistency.
Key Results
- Reversing RAG Degradation: On the VideoMME benchmark, traditional text-based Video-RAG caused a 4.6% drop in accuracy compared to the baseline Qwen2.5-VL-7B. G2F-RAG reversed this trend, delivering a 5.5% gain over the baseline (70.6% vs 65.1%).
- Broad Portability: G2F-RAG achieved consistent improvements across multiple open-source LMM families (including Qwen2.5-VL, InternVL3.5, and LLaVA-Video) across scales ranging from 3B to 14B parameters.
- Knowledge-Intensive Boosts: The largest improvements occurred in settings requiring heavy external knowledge or spatial-temporal reasoning, such as a +7.4% boost on VSIBench (with Qwen2.5-VL-7B) and a +7.1% increase on WildVideo (with InternVL3.5-8B).
Limitations and Future Work
- Heavy Offline Dependency: Building the initial problem-agnostic video knowledge graph relies on powerful commercial models (like GPT-4o), which can introduce high API costs and latency during the offline indexing phase.
- Graph Complexity Bounds: To keep the rendered reasoning frame readable, the system must strictly limit the number of nodes and edges. Highly complex, multi-hop reasoning chains might get truncated or become too visually cluttered for the LMM to parse.
- Visual Grammar Optimization: The current framework uses basic Graphviz layouts. The authors note that exploring more sophisticated visual encodings or learned diagrammatic representations could further improve LMM comprehension.
Summary updated