跳到正文
arXiv cs.AI· Guorui Chen, Tao Liu, Zhenzhen Huang, Yidan Zhang, Liyu Jiang, Shuoyuan Wang, Hanchen Sun, Xu He, Dong Li, Yihan Hu, Jianye Hao, Lei Feng·· 12 小时前AI 评分40

MemDev-Bench:记忆系统对代码智能体有帮助吗?基于真实仓库历史的基准评测

MemDev-Bench: Does Memory Help Code Agents?Benchmarking Memory Systems over Real Repository Histories

AI 导读

研究者提出 MemDev-Bench,用同一仓库中带相关性标注的历史任务构建可控记忆历史,覆盖 555 个基础任务、共 4,869 个可执行可验证的历史任务。评测发现记忆主要提升细粒度定位与编辑的功能正确性,但也会让本可解决的任务失败,原因是智能体复用记忆时未重新评估其适用性;直接提供原始历史轨迹比使用记忆系统更能减少步骤。

正文 · 原文

Authors:Guorui Chen, Tao Liu, Zhenzhen Huang, Yidan Zhang, Liyu Jiang, Shuoyuan Wang, Hanchen Sun, Xu He, Dong Li, Yihan Hu, Jianye Hao, Lei Feng

View PDF HTML (experimental)

Abstract:Code agents increasingly work on evolving real repositories, and memory systems aim to help them reuse earlier experience. However, such experience is diverse and evolving, so it remains unclear how memory systems organize it and thereby affect code agents. Existing benchmarks cannot answer this reliably because they lack either temporally valid histories or control over prior-task relevance. In this paper, we present MemDev-Bench to evaluate how memory systems affect code agents over diverse repository histories. It pairs each task with relevance-annotated earlier tasks from the same repository to build histories with controlled relevance. We also build an automated pipeline that reliably makes these earlier tasks executable and verifiable, producing 4,869 historical tasks for 555 base tasks. Based on MemDev-Bench, our systematic evaluation of memory systems across diverse development scenarios yields three main findings. (1) Memory mainly improves fine-grained localization and editing, increasing functional correctness. (2) Memory also causes failures on otherwise solvable tasks even with related history, and unrelated history tends to increase such failures. These failures mainly stem from agents reusing memory without reassessing its applicability. (3) Compared with using memory systems, directly providing agents with raw historical trajectories substantially reduces their steps. Further analysis suggests that agents save these steps by reusing process information that compressed memories tend to omit. These results suggest that future memory systems should preserve process information and reassess memory applicability against current task context.
Subjects: Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.27524 [cs.AI]
  (or arXiv:2610.27524v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2610.27524

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Guorui Chen [view email]
[v1] Tue, 20 Oct 2026 02:39:26 UTC (3,094 KB)

来源:arXiv cs.AI · arxiv.org