Navigating Massive Visual Context in Retrieval-Augmented Generation via Multimodal Memory Graph

Qiuchen Wang, Shihang Wang, Yu Zeng, Qiang Zhang, Fanrui Zhang, Zhuoning Guo, Bosi Zhang, Wenxuan Huang, Lin Chen, Zehui Chen, Pengjun Xie, Ruixue DingICML 2026

Abstract Effectively retrieving, reasoning, and understanding multimodal information remains a critical challenge for agentic systems. Traditional Retrieval-Augmented Generation (RAG) methods rely on linear interaction histories, which struggle to handle long-context tasks—especially those involving information-sparse yet token-heavy visual data. To bridge this gap, researchers have introduced VimRAG, a framework tailored for multimodal Retrieval-Augmented Reasoning across text, images, and videos. By modeling the reasoning process as a dynamic Directed Acyclic Graph (DAG), VimRAG dynamically allocates high-resolution tokens to pivotal evidence while compressing trivial clues, achieving state-of-the-art performance on diverse multimodal RAG benchmarks.

The Multimodal Bottleneck

In the rapidly evolving landscape of Multimodal Large Language Models (MLLMs), the focus has shifted from simple image captioning to agentic Retrieval-Augmented Generation (RAG). Modern AI agents must sift through massive corpora of text, images, and hours of video to answer complex, multi-step questions.

However, a major bottleneck persists: visual data is inherently "token-heavy" but "semantically sparse." Storing every frame of a retrieved video quickly exhausts an LLM's context window, while simple text summaries often strip away the fine-grained details necessary for accurate final verification. Traditional RAG systems treat interaction history as a linear list of "Thought-Action-Observation" blocks, which leads to three critical failures in multimodal tasks:

  1. State Blindness: In multi-hop reasoning, agents often lose track of their execution history, resulting in repetitive queries and getting stuck in "dead-end" loops.
  2. The Visual Resolution Dilemma: Visual data consumes massive amounts of tokens. Compressing it into text loses crucial detail, but keeping it raw quickly depletes available context space.
  3. Supervision Sparsity: Current Reinforcement Learning (RL) methods typically provide a single reward at the end of a long trajectory. This makes it difficult for the model to distinguish between a brilliant retrieval step and a lucky guess that followed a series of useless actions.

The VimRAG Framework

To overcome these limitations, researchers from Nanyang Technological University and Alibaba Group developed VimRAG, which reconstructs the reasoning paradigm through three core innovations:

1. Structured Reasoning Topology

Instead of a linear list, the agent builds a Directed Acyclic Graph (DAG). Each node in this graph represents an "epistemic state"—containing the sub-query, a textual summary, and the associated multimodal memory. The edges represent logical dependencies, helping the agent distinguish between a fresh line of inquiry and a previously failed path.

2. Graph-Modulated Visual Memory Encoding

VimRAG introduces a "smart forgetting" mechanism. The system calculates a "Global Energy" score for every visual item based on its semantic relevance, temporal decay (older information fades), and topological centrality. If a node serves as a foundational piece of evidence that many subsequent reasoning steps rely on (high "out-degree"), it receives a higher token budget, preserving its high resolution. Conversely, trivial clues are compressed or discarded.

3. Graph-Guided Policy Optimization (GGPO)

To train the agent effectively, the authors utilize the graph structure to perform node pruning. During training, the system identifies the "critical path" to the correct answer. It masks "false positives" (redundant steps within a successful path) and "false negatives" (valuable retrievals within an unsuccessful path). This disentangles step-wise validity from trajectory-level rewards, ensuring the model learns from truly constructive actions rather than just the final outcome.

Experimental Results and Insights

The authors evaluated VimRAG across a comprehensive suite of benchmarks, spanning general text (HotpotQA, SQuAD), images and visual documents (WebQA, SlideVQA, MMLongBench), and long-context video (LVBench, WikiHowQA, SyntheticQA). They also introduced XVBench, a new benchmark designed specifically to evaluate cross-video understanding within large-scale corpora.

Key Findings: * State-of-the-Art Performance: VimRAG consistently outperformed advanced baselines like ReAct, MemAgent, and Mem1. Using the Qwen3-VL-8B-Instruct backbone, VimRAG improved the overall score from 43.6% (Mem1) to 50.1%. * Enhanced Efficiency: VimRAG significantly reduced the number of actions required to reach an answer. While linear methods often exhibit a "heavy tail" of token usage due to repetitive reading, VimRAG’s structured memory effectively prevents redundant loops. * Cross-Video Robustness: On the newly introduced XVBench cross-video task, VimRAG demonstrated a nearly 5% lead over the next best method, highlighting its superior ability to handle interleaved video contexts.

Limitations and Future Directions

While VimRAG represents a significant leap forward, the authors acknowledge a few remaining hurdles. The system's performance remains heavily tied to the capabilities of the underlying base MLLM. Additionally, the multi-turn interactions and graph-processing steps may introduce latency, making it challenging to deploy in ultra-low-latency, real-time applications. Finally, while memory management has vastly improved, the initial retrieval of relevant documents from massive corpora (e.g., 200k items) still leaves room for optimization.

Ultimately, VimRAG offers a compelling blueprint for the future of multimodal agents. By focusing on the structure and topological importance of information rather than merely expanding the context window, it provides a more intelligent, human-like approach to navigating massive visual contexts.

Summary updated

BibTeX
@inproceedings{wang2026navigating,
  author = {Qiuchen Wang and Shihang Wang and Yu Zeng and Qiang Zhang and Fanrui Zhang and Zhuoning Guo and Bosi Zhang and Wenxuan Huang and Lin Chen and Zehui Chen and Pengjun Xie and Ruixue Ding},
  title = {{Navigating Massive Visual Context in Retrieval-Augmented Generation via Multimodal Memory Graph}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=fylE5O8g5F},
}
Figure