Graph-to-Frame RAG: Visual-Space Knowledge Fusion for Training-Free and Auditable Video Reasoning

Songyuan Yang, Weijiang Yu, Ziyu Liu, Guijian Tang, Wenjing Yang, Huibin Tan, Nong XiaoarXiv 2026

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.

Figure 1. Traditional Video RAG appends auxiliary text, mixing heterogeneous tokens in one attention space, While G2F-RAG ren- ders retrieved knowledge as a single reasoning frame appended to the video, keeping evidence in the visual space and producing more grounded causal answers.

Methods

G2F-RAG introduces a training-free, two-stage multi-agent framework that shifts knowledge fusion entirely into the visual space:

  1. 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.
  2. Online Stage (Hierarchical Routing & Retrieval):
  3. 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.
  4. Retrieval Agent: Extracts a minimal, highly relevant subgraph ($S^*$) tailored to the specific query.
  5. Rendering Agent: Converts the structured subgraph into a single, clean visual diagram using Graphviz, utilizing icons and short labels to maximize readability.
  6. 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.
Figure 3. Method overview. Offline: a graph-construction agent builds a problem-agnostic video knowledge graph with optional external knowledge. Online: an orchestration agent routes the query; a retrieval agent extracts a minimal subgraph S∗; a rendering agent converts it into one reasoning frame and appends it to the video to form ˜V = [V ; IRF]. Finally, the LMM answers from V for easy cases, or from ˜V for hard cases. The pipeline is training free, auditable, and fuses knowledge in the visual space.

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.
Figure 2. (a) Attention Analysis. Text-append Video-RAG diverts attention from key frames toward contextual tokens, while G2F-RAG keeps focus on key frames and the appended graph frame. (b) Comparison of the performance. Video-RAG causes consistent drops, whereas G2F-RAG yields clear gains over the baseline on all three benchmarks.

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

BibTeX
@misc{yang2026graph,
  author = {Songyuan Yang and Weijiang Yu and Ziyu Liu and Guijian Tang and Wenjing Yang and Huibin Tan and Nong Xiao},
  title = {{Graph-to-Frame RAG: Visual-Space Knowledge Fusion for Training-Free and Auditable Video Reasoning}},
  year = {2026},
  eprint = {2604.04372},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.04372},
}
Figure