arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.12735cs.CVcs.CL
收藏

VimRAG:通过多模态记忆图导航大规模视觉上下文

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

Tongyi Lab, Alibaba Group(通义实验室,阿里巴巴集团)

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

AI总结:

VimRAG通过多模态记忆图提升检索增强生成在处理大规模视觉上下文中的能力,采用动态有向无环图结构和图调制视觉记忆编码机制,实现高效的信息检索与推理。

摘要:

有效检索、推理和理解多模态信息仍是智能系统的关键挑战。传统检索增强生成(RAG)方法依赖线性交互历史,难以处理长上下文任务,尤其在迭代推理中涉及稀疏但高token量的视觉数据时表现不佳。为解决这一问题,我们引入了VimRAG框架,专门用于文本、图像和视频的多模态检索增强推理。受系统研究启发,我们将推理过程建模为动态有向无环图,结构化代理状态和检索的多模态证据。基于此结构化记忆,我们引入图调制视觉记忆编码机制,通过拓扑位置评估内存节点的重要性,使模型能够动态分配高分辨率token给关键证据,同时压缩或丢弃次要线索。为实现这一范式,我们提出图引导策略优化策略。该策略通过修剪与冗余动作相关的内存节点,将步骤有效性与轨迹级奖励分离,从而促进细粒度信用分配。广泛实验表明,VimRAG在多种多模态RAG基准上均取得最佳性能。代码可在https://github.com/Alibaba-NLP/VRAG获取。

英文摘要:

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 in iterative reasoning scenarios. To bridge this gap, we introduce VimRAG, a framework tailored for multimodal Retrieval-augmented Reasoning across text, images, and videos. Inspired by our systematic study, we model the reasoning process as a dynamic directed acyclic graph that structures the agent states and retrieved multimodal evidence. Building upon this structured memory, we introduce a Graph-Modulated Visual Memory Encoding mechanism, with which the significance of memory nodes is evaluated via their topological position, allowing the model to dynamically allocate high-resolution tokens to pivotal evidence while compressing or discarding trivial clues. To implement this paradigm, we propose a Graph-Guided Policy Optimization strategy. This strategy disentangles step-wise validity from trajectory-level rewards by pruning memory nodes associated with redundant actions, thereby facilitating fine-grained credit assignment. Extensive experiments demonstrate that VimRAG consistently achieves state-of-the-art performance on diverse multimodal RAG benchmarks. The code is available at https://github.com/Alibaba-NLP/VRAG.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑