Skip to main content
QUICK REVIEW

[论文解读] M$^2$: Dual-Memory Augmentation for Long-Horizon Web Agents via Trajectory Summarization and Insight Retrieval

Dawei Yan, Haokui Zhang|arXiv (Cornell University)|Feb 28, 2026
Multimodal Machine Learning ApplicationsComputer Science被引用 0
一句话总结

一个训练-free 的双记忆框架(M2),用于长时程网页导航,通过内部轨迹摘要和外部洞察检索在不微调的情况下提高鲁棒性和效率。

ABSTRACT

Multimodal Large Language Models (MLLMs) based agents have demonstrated remarkable potential in autonomous web navigation. However, handling long-horizon tasks remains a critical bottleneck. Prevailing strategies often rely heavily on extensive data collection and model training, yet still struggle with high computational costs and insufficient reasoning capabilities when facing complex, long-horizon scenarios. To address this, we propose M$^2$, a training-free, memory-augmented framework designed to optimize context efficiency and decision-making robustness. Our approach incorporates a dual-tier memory mechanism that synergizes Dynamic Trajectory Summarization (Internal Memory) to compress verbose interaction history into concise state updates, and Insight Retrieval Augmentation (External Memory) to guide the agent with actionable guidelines retrieved from an offline insight bank. Extensive evaluations across WebVoyager and OnlineMind2Web demonstrate that M$^2$ consistently surpasses baselines, yielding up to a 19.6% success rate increase and 58.7% token reduction for Qwen3-VL-32B, while proprietary models like Claude achieve accuracy gains up to 12.5% alongside significantly lower computational overhead.

研究动机与目标

  • 通过在不进行训练或微调的情况下减少上下文爆炸来解决长时程网页导航的效率和鲁棒性不足问题。
  • 开发将内部轨迹摘要与外部洞察检索相结合的记忆架构。
  • 证明记忆增强代理在节省 tokens 和计算量的同时,能够与 SFT/RL 基于模型保持竞争力。
  • 展示跨模型和跨领域的洞察力迁移能力,以适应多样化网页领域。

提出的方法

  • 引入内部记忆(动态轨迹摘要),在每一步将步骤自我总结为简洁的状态抽象 s_t。
  • 引入外部记忆(洞察检索增强),通过从成功轨迹中构建离线洞察库并按语义相似性检索前 i 条洞察。
  • 用双记忆上下文 C_t' = {P_sys, Q, M_int_t, M_ext, O_t} 代替完整上下文,以维持精简但信息量充足的上下文。
  • 使用提示驱动代理发出 triplets(T_t, A_t, s_t),其中 s_t 汇总了视觉反馈和动作执行。
  • 通过抽象器模型从成功轨迹中提炼高 leveraged 的交互规则来构建洞察库,并使用一个句子嵌入模型对查询进行编码以用于检索。
  • 在推理阶段,通过余弦相似性检索前 i 条洞察并将其作为防御性提示注入系统提示中以指导行动。
Figure 1 : Average Token cost and accuracy of baseline and M 2 across models on WebVoyager.
Figure 1 : Average Token cost and accuracy of baseline and M 2 across models on WebVoyager.

实验结果

研究问题

  • RQ1一个训练自由的双记忆体系是否能在没有 SFT/RL 的情况下提升长时程网页导航的表现?
  • RQ2内部轨迹摘要和外部洞察是否能在保持决策质量的同时有效减小上下文规模?
  • RQ3跨轨迹洞察是否可以在不同网页领域和模型骨架之间迁移?
  • RQ4与全上下文基线相比,使用双记忆框架的效率权衡(token 成本、延迟)如何?

主要发现

  • M2 在 WebVoyager 和 OnlineMind2Web 基准测试上对不同模型骨架都显示出持续的改进。
  • 在 Qwen3-VL-32B 上,M2 在两个基准测试中的成功率提升最高可达 19.6%,并且 token 量减少超过 57%。
  • 在 Claude 模型上,精度提升最高可达 12.5%,同时显著降低 token(30.3% 到 55.0%)。
  • 内部记忆在 WebVoyager 上将 Qwen3-VL-32B 的 token 成本大约降低 57%(从 215.2k 降至 92.3k)。
  • 外部记忆提供鲁棒性提升;在 Google Maps 领域,借助洞察后准确率从 63.4% 提升至 80.5%。
  • 洞察库实现跨任务迁移,检索速度快(每次查询约 6 ms),并支持稳定的长时程规划。
Figure 2 : Overview of the proposed framework. (a) The baseline agent operates with raw context containing redundant visual history and verbose interaction text. This creates high computational overhead and introduces noise that may impair decision-making. Our method M 2 incorporates two key mechani
Figure 2 : Overview of the proposed framework. (a) The baseline agent operates with raw context containing redundant visual history and verbose interaction text. This creates high computational overhead and introduces noise that may impair decision-making. Our method M 2 incorporates two key mechani

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。