Papers › VimRAG: Navigating Massive Visual Context in Retrieval-Augmented Generation via...

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

13 Feb 2026arXiv:2602.12735added by Syntology

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

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2602.12735")

Code

Syntology Ran 4 of 14 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 1 ran with no contract checked.

By repository: found in paper text by Syntology: 14 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Alibaba-NLP/VRAG found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 4 ran; 1 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
1ran
10unverified

Licence: 14 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from Alibaba-NLP/VRAG. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

convert_to_regular_types Alibaba-NLP/VRAG/VRAG-RL/verl/trainer/fsdp_sft_trainer.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · f887d72c9492d9ee · report
extract_step Alibaba-NLP/VRAG/VRAG-RL/verl/trainer/fsdp_sft_trainer.py found in paper text by Syntology ran · honoured contract fingerprinted no licence file found · pointer only · 216e28c040173a61 · report
is_transformers_version_in_range Alibaba-NLP/VRAG/VRAG-RL/verl/models/transformers/monkey_patch.py found in paper text by Syntology ran no licence file found · pointer only · 42a7954a8cfa89e0 · report
unpad_dataproto Alibaba-NLP/VRAG/VRAG-RL/verl/protocol.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 25f0ea3f460f6ce1 · report
apply_monkey_patch Alibaba-NLP/VRAG/VRAG-RL/verl/models/transformers/monkey_patch.py found in paper text by Syntology unverified no licence file found · pointer only · 63fac81eb8667d39 · report
flash_attention_forward Alibaba-NLP/VRAG/VRAG-RL/verl/models/transformers/qwen2_vl.py found in paper text by Syntology unverified no licence file found · pointer only · 736144d442549c26 · report
get_generation_config Alibaba-NLP/VRAG/VRAG-RL/verl/utils/model.py found in paper text by Syntology unverified no licence file found · pointer only · 660713a8fa047736 · report
get_huggingface_actor_config Alibaba-NLP/VRAG/VRAG-RL/verl/utils/model.py found in paper text by Syntology unverified no licence file found · pointer only · fe79c459a3e4cc64 · report
get_rope_index Alibaba-NLP/VRAG/VRAG-RL/verl/models/transformers/qwen2_vl.py found in paper text by Syntology unverified no licence file found · pointer only · e29ba2dcd05add9f · report
get_weight_loader Alibaba-NLP/VRAG/VRAG-RL/verl/models/weight_loader_registry.py found in paper text by Syntology unverified no licence file found · pointer only · af005d03c2088909 · report
get_weight_saver Alibaba-NLP/VRAG/VRAG-RL/verl/models/weight_loader_registry.py found in paper text by Syntology unverified no licence file found · pointer only · 914227ac881d05be · report
prepare_fa2_from_position_ids Alibaba-NLP/VRAG/VRAG-RL/verl/models/transformers/qwen2_vl.py found in paper text by Syntology unverified no licence file found · pointer only · e89bd73550a8c08f · report
process_image Alibaba-NLP/VRAG/VRAG-RL/vrag_agent/generation.py found in paper text by Syntology unverified no licence file found · pointer only · a4157e7f60cde433 · report
squeeze Alibaba-NLP/VRAG/VRAG-RL/verl/utils/model.py found in paper text by Syntology unverified no licence file found · pointer only · 3b15e2ac7497c441 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2602.12735, was issued in February 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections