TGViewer
Data eXplore : Data Science, ML, Big Data, LLMs and AI Security Data eXplore : Data Science, ML, Big Data, LLMs and AI Security @dataxplore · 578 subscribers
Post #2124 236
VimRAG is a multimodal RAG agent that maintains context as a memory graph.

Tongyi Lab (Alibaba) released VimRAG, a framework for agent-based RAG that works with text, images, and videos.
The project improves on last year's VRAG-RL and addresses the challenge of multimodal RAG: visual data are token-heavy but semantically sparse, and the classic ReAct history clutters the context with noise and triggers repeated useless queries to the search engine.

➡️ How it works?
Instead of a log of observations, VimRAG models reasoning as a dynamic directed acyclic graph. Each vertex stores a sub-query, an agent's action, a text summary, and a bank of visual tokens.

Edges capture logical dependencies between steps. Such a graph allows the agent to distinguish a dead-end branch from a new hypothesis and avoid getting stuck in repetitive search loops.

➜ Graph-Modulated Visual Memory Encoding operates on top of the graph.

Visual token budgets are allocated based on outgoing degree in the graph, exponential temporal decay (simulating forgetting), and recursive feedback from descendants.

Key fragments receive high resolution, while secondary frames are compressed or discarded. For videos, VLM's ability to tie content to a timeline (extracting key frames by timestamps) is utilized.

➜ Third component is Graph-GPO.

GGPO constructs a critical path from the root to the answer and imposes a gradient mask, excluding dead-end nodes from positive examples and valuable retrievals from negative ones.
On training curves, this leads to faster convergence than the base GSPO without pruning.

➜ Tests

☞ VimRAG outperforms Vanilla RAG, ReAct, VideoRAG, UniversalRAG, and MemAgent on 9 benchmarks (HotpotQA and SQuAD to SlideVQA, MMLongBench, LVBench, and XVBench).

☞ On Qwen3-VL-8B-Instruct, the average score rises from 43.6 to 50.1, and on the 4B version, from 40.6 to 45.2.

However, the average path length is lower than in ReAct and Mem1: structured memory consumes fewer actions per response.

➜ In repository:

☞ the VRAG-RL training framework, a demo of VRAG on the test Qwen2.5-VL-7B-VRAG via vLLM (requires A100 80GB);

☞ a demo on the API Qwen3.5-Plus via DashScope (with visualization of the reasoning DAG and extended rizomics).

The search engine is built on FAISS and supports GVE-3B/7B and Qwen3-VL-Embedding-2B/8B embeddings. Images, PDFs (via conversion), and segmented videos can be indexed.
The VimRAG training code will be released after Alibaba's internal review.


Arxiv, Model, GitHub

#AI #ML #RAG #VRAG #TongyiLab

••••••••••••••••••••••••••••••••••••••
🤖 Data & ML | @DataXplore
More from @dataxplore
  1. Sep 18, 2026Am going to announce something big (for me, it's really big) on October 11, 2026.
  2. Sep 14, 2026Post #2188
  3. Aug 31, 2026I joined a Russian community on Telegram. They share some Russian startup and technology u…
  4. Aug 22, 2026Post #2185
  5. Aug 21, 2026Deep systemic analysis of AI constraints from context to internal weight editing. 📂 PDF #…
  6. Aug 17, 2026Adaptive Gradient Thresholding Why Fixed Gradient Clipping Kills Deep RecSys When Feedback…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →