Concept animation

Paper: 2604.09508 Authors: Yucheng Shen, Jiulong Wu, Jizhou Huang, Dawei Yin, Lingyong Yan, Min Cao Categories: cs.CV, cs.AI

The Gap

Existing agentic Visual RAG systems (like ReAct-based approaches) can retrieve and reason over visual documents iteratively. They work fine for simple queries. But when you need multi-step reasoning across dozens of pages—like “compare the revenue trends in Q2 and Q4 slides, then find the corresponding product launch dates”—two things break down:

Visual Evidence Sparsity: The agent processes each page in isolation. Evidence on page 5 doesn’t connect to evidence on page 23. Fine-grained visual actions (zoom, crop, highlight) are available but misused—agents apply them randomly, degrading retrieval quality instead of improving it.

Search Drift: As the agent retrieves more pages, visual tokens pile up. The context window fills with raw image embeddings. By step 15, the agent has forgotten what it was originally looking for. It starts chasing tangents, retrieving irrelevant pages, and the reasoning chain collapses.

Prior work (AutoRAG, VisRAG) assumes short horizons or pre-filtered documents. They don’t handle the cognitive overload of long visual search trajectories.

Problem: Multi-step visual reasoning across 50+ pages
   |
   v
Assumption: Agents need (1) cross-page evidence linking
            (2) protection from context dilution
   |
   v
Method: VISOR = Evidence Space + Action Correction + Sliding Window
   |
   v
Evidence: ViDoSeek (+8.2%), SlideVQA (+6.7%), MMLongBench (+5.3%)
   |
   v
Conclusion: Structured evidence + dynamic context > raw token accumulation

The Increment

One sentence: Before VISOR, agentic visual RAG drowned in its own retrieved context after 10-15 steps; after VISOR, agents maintain coherent search objectives across 30+ retrieval steps by anchoring evidence and discarding raw visual tokens.

Core Mechanism

VISOR has three interlocking components. First, an Evidence Space—a structured memory that stores extracted claims from each retrieved page, not raw images. When the agent retrieves page 12, it doesn’t just append the image to context; it extracts “Q2 revenue: $45M” and links it to earlier evidence. This enables cross-page reasoning without re-processing images.

Second, a Visual Action Evaluator—before executing a visual action (zoom, crop), the agent predicts whether it will improve retrieval. If the prediction is low-confidence, the action is corrected or skipped. This prevents the “random zoom” problem where agents waste steps on useless visual manipulations.

Third, a Dynamic Trajectory with Sliding Window—the agent’s context has two parts: (1) the Evidence Space (persistent, grows slowly), (2) a sliding window of the last N raw interactions (discarded as new ones arrive). This keeps the context window from exploding with visual tokens. Additionally, at each step, the system re-injects the original query intent to prevent drift.

Query --> Agent --> Action Evaluator --> Retrieve Page
            |              |                    |
            v              v                    v
      [Evidence Space] <-- Extract Claims <-- Raw Image
            |                                   |
            v                                   v
      Cross-page      Sliding Window --> Discard Old Tokens
      Reasoning            |
                           v
                    Next Action (with Intent Re-injection)

Think of VISOR like a detective investigating a cold case across multiple file cabinets. The Evidence Space is the detective’s corkboard—photos, notes, red strings connecting clues across different files. The detective doesn’t carry every file folder around (that’s the raw visual tokens). Instead, they extract key facts and pin them to the board.

The Action Evaluator is the detective’s partner who says “wait, before you zoom in on that blurry receipt, are you sure it’s relevant?” preventing wasted effort. The Sliding Window is the detective’s short-term memory—they remember the last few files they opened, but discard the details of files from an hour ago to avoid confusion. The Intent Re-injection is the detective periodically checking the original case file: “Right, I’m looking for the suspect’s alibi on March 15th, not their tax records.”

Without the corkboard, the detective would re-read every file at each step. Without the partner, they’d waste time on dead ends. Without clearing short-term memory, they’d drown in details. Without checking the case file, they’d forget what crime they’re solving.

Key Concepts

  • Evidence Space: Instead of keeping raw retrieved images in context (which consumes thousands of tokens per page), VISOR extracts structured claims—short text snippets like “Slide 5: Product X launched in Q2” or “Page 12: Revenue chart shows 15% decline.” These claims are stored in a persistent memory that grows slowly (10-20 tokens per page instead of 500-1000). When the agent needs to reason across pages, it queries the Evidence Space, not the raw images. This is like taking notes during a lecture instead of recording the entire video—you lose some detail but gain the ability to review 50 lectures without drowning in footage.

  • Search Drift: In long reasoning chains, agents accumulate context. By step 20, the context window contains 15 retrieved images, intermediate reasoning steps, and action logs. The original query (“find the correlation between marketing spend and user growth”) is buried under 30,000 tokens of visual embeddings. The agent starts retrieving pages about unrelated topics because the signal-to-noise ratio has collapsed. VISOR prevents this by (1) discarding old raw interactions via sliding window, (2) re-injecting the original query at each step to re-anchor the agent’s objective. It’s like a GPS that periodically recalculates your route instead of just appending every turn you’ve made.

  • Visual Action Evaluation: Agents have access to visual tools—zoom into a chart, crop a table, highlight a region. But when should you use them? Existing systems let agents call these actions freely, leading to “action spam”—zooming into irrelevant areas, cropping empty space. VISOR adds a prediction step: before executing a visual action, the agent estimates “will this improve my retrieval quality?” If confidence is low, the action is corrected (e.g., “zoom into the chart title instead of the legend”) or skipped. This is trained via reinforcement learning with credit assignment—actions that led to successful retrieval get positive reward, useless actions get negative reward.

Framework Shift

Before (ReAct-style VRAG):              After (VISOR):

Query                                   Query
  |                                       |
  v                                       v
Retrieve Page 1 --> [Image Tokens]     Retrieve Page 1 --> Extract Claims
  |                        |              |                      |
  v                        v              v                      v
Reason --> Retrieve Page 2 --> [More Tokens]   Reason <--> [Evidence Space]
  |                        |              |                      |
  v                        v              v                      v
Reason --> Retrieve Page 3 --> [Even More...]   Retrieve Page 2 --> Add Claims
  |                        |              |                      |
  v                        v              v                      v
[Context Overload]    [Drift]          Sliding Window      Intent Re-inject
  |                        |              |                      |
  v                        v              v                      v
Wrong Answer          Lost Objective   Retrieve Page 3 --> Correct Answer

Raw accumulation                       Structured memory + dynamic pruning

[One sentence: From accumulating raw visual tokens until context collapse, to maintaining a structured evidence layer while dynamically pruning interaction history.]

Expert Assessment

Problem choice: Real gap. Multi-step visual reasoning over long documents is a legitimate bottleneck in enterprise RAG systems (financial reports, legal documents, technical manuals). The paper correctly identifies that existing agentic RAG assumes short horizons or text-only retrieval. Not manufactured.

Method maturity: Mix of clever and brute force. The Evidence Space and sliding window are elegant—they address the core problem (context explosion) with minimal overhead. The Visual Action Evaluator feels like a patch—it’s solving a problem created by giving agents too many tools in the first place. A simpler approach might be to restrict visual actions to high-confidence scenarios from the start, rather than predict-then-correct. The GRPO-based RL training is heavy machinery; unclear if supervised fine-tuning on curated trajectories would achieve 80% of the gains with 20% of the complexity.

Experimental integrity: Baselines are fair (ReAct, AutoRAG, VisRAG). Numbers are solid—consistent gains across three benchmarks (ViDoSeek, SlideVQA, MMLongBench). The ablation studies are thorough, showing each component contributes. One red flag: the paper doesn’t report failure modes or error analysis. What happens when the Evidence Space extracts wrong claims? How often does Intent Re-injection fail to prevent drift? The writing glosses over these.

Writing quality: The method section is dense—too many acronyms (GRPO, VRAG, DT-SW-II) without enough intuition-building. The paper would benefit from a running example: “Here’s a query, here’s how VISOR processes it step-by-step, here’s where baseline methods fail.” The related work section is thorough but reads like a literature dump. The experimental section is strong.

Verdict: weak accept — Solid contribution to a real problem, but the method feels over-engineered and the writing doesn’t make the core insights accessible enough. The Evidence Space idea is worth stealing; the rest is incremental.

Takeaways

Structured memory over raw accumulation: If you’re building any multi-step retrieval system (visual or text), don’t just append retrieved content to context. Extract structured claims, store them separately, and query them. This applies beyond visual RAG—think code search, database query optimization, even conversational agents that need to remember facts across long dialogues.

Dynamic context pruning: The sliding window + intent re-injection pattern is generalizable. In any long-horizon agent system, periodically discard low-value context and re-inject the original objective. This prevents drift without requiring the agent to “remember everything.”

Action evaluation as a design pattern: Before letting an agent execute a tool call, add a prediction step: “will this action improve my outcome?” Train this via RL or supervised learning. This reduces action spam in agentic systems—applicable to web agents, code agents, robotics.

Credit assignment for RL in dynamic contexts: The paper’s GRPO training with state masking is a technical trick worth noting. When your agent’s context changes dynamically (things get added/removed), standard RL credit assignment breaks. VISOR masks out the dynamic parts during reward computation, focusing credit on the persistent state (Evidence Space). This is useful for any RL system with non-stationary state representations.

论文: 2604.09508 作者: Yucheng Shen, Jiulong Wu, Jizhou Huang, Dawei Yin, Lingyong Yan, Min Cao 分类: cs.CV, cs.AI

缺口

现有的智能体式视觉 RAG 系统(如基于 ReAct 的方法)可以迭代地检索和推理视觉文档。

对简单查询它们工作良好。

但当你需要跨几十页进行多步推理时——比如”比较 Q2 和 Q4 幻灯片中的收入趋势,然后找到相应的产品发布日期”——两个问题会暴露出来:

视觉证据稀疏性:智能体孤立地处理每一页。

第 5 页的证据不会连接到第 23 页的证据。

细粒度的视觉操作(缩放、裁剪、高亮)是可用的,但被误用——智能体随机应用它们,反而降低了检索质量。

搜索漂移:随着智能体检索更多页面,视觉 token 堆积起来。

上下文窗口被原始图像嵌入填满。

到第 15 步时,智能体已经忘记了最初在寻找什么。

它开始追逐无关的线索,检索不相关的页面,推理链崩溃。

先前的工作(AutoRAG、VisRAG)假设短视野或预过滤的文档。

它们无法处理长视觉搜索轨迹的认知过载。

问题:跨 50+ 页的多步视觉推理
   |
   v
假设:智能体需要 (1) 跨页证据链接
            (2) 防止上下文稀释
   |
   v
方法:VISOR = 证据空间 + 动作校正 + 滑动窗口
   |
   v
证据:ViDoSeek (+8.2%), SlideVQA (+6.7%), MMLongBench (+5.3%)
   |
   v
结论:结构化证据 + 动态上下文 > 原始 token 累积

增量

一句话:VISOR 之前,智能体式视觉 RAG 在 10-15 步后就淹没在自己检索的上下文中;VISOR 之后,智能体通过锚定证据和丢弃原始视觉 token,在 30+ 检索步骤中保持连贯的搜索目标。

核心机制

VISOR 有三个互锁的组件。

首先是证据空间——一个结构化内存,存储从每个检索页面提取的声明,而不是原始图像。

当智能体检索第 12 页时,它不只是将图像附加到上下文;它提取”Q2 收入:4500 万美元”并将其链接到早期证据。

这使得跨页推理无需重新处理图像。

其次是视觉动作评估器——在执行视觉动作(缩放、裁剪)之前,智能体预测它是否会改善检索。

如果预测置信度低,动作会被校正或跳过。

这防止了”随机缩放”问题,即智能体在无用的视觉操作上浪费步骤。

第三是带滑动窗口的动态轨迹——智能体的上下文有两部分:(1) 证据空间(持久的,缓慢增长),(2) 最后 N 个原始交互的滑动窗口(新的到来时被丢弃)。

这防止上下文窗口被视觉 token 爆炸。

此外,在每一步,系统重新注入原始查询意图以防止漂移。

查询 --> 智能体 --> 动作评估器 --> 检索页面
            |              |                    |
            v              v                    v
      [证据空间] <-- 提取声明 <-- 原始图像
            |                                   |
            v                                   v
      跨页推理      滑动窗口 --> 丢弃旧 Token
                           |
                           v
                    下一动作(带意图重注入)

把 VISOR 想象成一个侦探在多个文件柜中调查一个陈年旧案。

证据空间是侦探的软木板——照片、笔记、连接不同文件线索的红线。

侦探不会随身携带每个文件夹(那是原始视觉 token)。

相反,他们提取关键事实并钉在板上。

动作评估器是侦探的搭档,他会说”等等,在你放大那张模糊的收据之前,你确定它相关吗?“防止浪费精力。

滑动窗口是侦探的短期记忆——他们记得最后打开的几个文件,但丢弃一小时前文件的细节以避免混淆。

意图重注入是侦探定期检查原始案件档案:“对,我在寻找嫌疑人在 3 月 15 日的不在场证明,而不是他们的税务记录。”

没有软木板,侦探会在每一步重新阅读每个文件。

没有搭档,他们会在死胡同上浪费时间。

没有清理短期记忆,他们会淹没在细节中。

没有检查案件档案,他们会忘记正在解决什么案件。

关键概念

  • 证据空间:VISOR 不在上下文中保留原始检索图像(每页消耗数千个 token),而是提取结构化声明——简短的文本片段,如”幻灯片 5:产品 X 在 Q2 推出”或”第 12 页:收入图表显示 15% 下降。“这些声明存储在一个缓慢增长的持久内存中(每页 10-20 个 token 而不是 500-1000)。当智能体需要跨页推理时,它查询证据空间,而不是原始图像。这就像在讲座中做笔记而不是录制整个视频——你失去了一些细节,但获得了在不淹没在素材中的情况下回顾 50 场讲座的能力。

  • 搜索漂移:在长推理链中,智能体积累上下文。到第 20 步时,上下文窗口包含 15 个检索的图像、中间推理步骤和动作日志。原始查询(“找到营销支出和用户增长之间的相关性”)被埋在 30,000 个视觉嵌入 token 下。智能体开始检索关于无关主题的页面,因为信噪比已经崩溃。VISOR 通过 (1) 通过滑动窗口丢弃旧的原始交互,(2) 在每一步重新注入原始查询以重新锚定智能体的目标来防止这种情况。这就像一个 GPS 定期重新计算你的路线,而不是只附加你做过的每一个转弯。

  • 视觉动作评估:智能体可以访问视觉工具——放大图表、裁剪表格、高亮区域。但什么时候应该使用它们?现有系统让智能体自由调用这些动作,导致”动作垃圾”——放大不相关的区域,裁剪空白空间。VISOR 添加了一个预测步骤:在执行视觉动作之前,智能体估计”这会改善我的检索质量吗?“如果置信度低,动作会被校正(例如,“放大图表标题而不是图例”)或跳过。这是通过带有信用分配的强化学习训练的——导致成功检索的动作获得正奖励,无用的动作获得负奖励。

框架转变

之前(ReAct 式 VRAG):              之后(VISOR):

查询                                   查询
  |                                       |
  v                                       v
检索页面 1 --> [图像 Token]            检索页面 1 --> 提取声明
  |                        |              |                      |
  v                        v              v                      v
推理 --> 检索页面 2 --> [更多 Token]    推理 <--> [证据空间]
  |                        |              |                      |
  v                        v              v                      v
推理 --> 检索页面 3 --> [更多...]       检索页面 2 --> 添加声明
  |                        |              |                      |
  v                        v              v                      v
[上下文过载]          [漂移]           滑动窗口            意图重注入
  |                        |              |                      |
  v                        v              v                      v
错误答案              丢失目标         检索页面 3 --> 正确答案

原始累积                               结构化内存 + 动态修剪

[一句话:从累积原始视觉 token 直到上下文崩溃,到维护结构化证据层同时动态修剪交互历史。]

专家评审

选题眼光:真实缺口。

跨长文档的多步视觉推理是企业 RAG 系统(财务报告、法律文件、技术手册)中的合法瓶颈。

论文正确识别出现有智能体 RAG 假设短视野或纯文本检索。

不是人造的。

方法成熟度:巧劲和蛮力的混合。

证据空间和滑动窗口很优雅——它们用最小的开销解决了核心问题(上下文爆炸)。

视觉动作评估器感觉像一个补丁——它在解决一个由给智能体太多工具而产生的问题。

一个更简单的方法可能是从一开始就将视觉动作限制在高置信度场景,而不是预测然后校正。

基于 GRPO 的 RL 训练是重型机械;不清楚在精心策划的轨迹上进行监督微调是否能以 20% 的复杂度实现 80% 的收益。

实验诚意:基线公平(ReAct、AutoRAG、VisRAG)。

数字扎实——在三个基准测试(ViDoSeek、SlideVQA、MMLongBench)上取得一致的收益。

消融研究很彻底,显示每个组件都有贡献。

一个警示信号:论文没有报告失败模式或错误分析。

当证据空间提取错误声明时会发生什么?意图重注入多久会无法防止漂移?写作掩盖了这些。

写作功力:方法部分很密集——太多缩写词(GRPO、VRAG、DT-SW-II)而没有足够的直觉构建。

论文将受益于一个贯穿的例子:“这是一个查询,这是 VISOR 如何逐步处理它,这是基线方法失败的地方。“相关工作部分很彻底,但读起来像文献堆砌。

实验部分很强。

判决:弱接收 — 对真实问题的扎实贡献,但方法感觉过度工程化,写作没有使核心洞见足够易于理解。

证据空间的想法值得借鉴;其余的是增量式的。

要点总结

结构化内存优于原始累积:如果你正在构建任何多步检索系统(视觉或文本),不要只是将检索的内容附加到上下文。

提取结构化声明,单独存储它们,并查询它们。

这适用于视觉 RAG 之外——想想代码搜索、数据库查询优化,甚至需要在长对话中记住事实的对话智能体。

动态上下文修剪:滑动窗口 + 意图重注入模式是可推广的。

在任何长视野智能体系统中,定期丢弃低价值上下文并重新注入原始目标。

这在不要求智能体”记住一切”的情况下防止漂移。

动作评估作为设计模式:在让智能体执行工具调用之前,添加一个预测步骤:“这个动作会改善我的结果吗?“通过 RL 或监督学习训练这个。

这减少了智能体系统中的动作垃圾——适用于网络智能体、代码智能体、机器人。

动态上下文中 RL 的信用分配:论文的带状态掩码的 GRPO 训练是一个值得注意的技术技巧。

当你的智能体上下文动态变化(事物被添加/删除)时,标准 RL 信用分配会崩溃。

VISOR 在奖励计算期间屏蔽动态部分,将信用集中在持久状态(证据空间)上。

这对任何具有非平稳状态表示的 RL 系统都很有用。