NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

VibeMemBench: Evaluating Memory Systems for Coding Agents on Real Repository Coding Tasks

Liyang Fan, Yingcheng Shi, Yongbin Li, Chenghao Sun, Xin Chen, Xander Xu, Hu Wei, Shiwen Ni, Min Yang, Jieping YearXiv 2026

TL;DR

VibeMemBench is a new benchmark designed to measure whether persistent memory actually helps coding agents solve real-world software engineering tasks. The researchers discovered a significant "availability-to-use" gap: while repository histories contain valuable lessons that can improve task resolution, current state-of-the-art memory systems (like Mem0 or A-MEM) often fail to deliver this utility, frequently performing worse than a "memory-off" baseline due to cluttered and poorly formatted records.

What Problem Does This Paper Address?

We want coding agents—AI models that can navigate and edit codebases—to learn from their past. If an agent fixed a similar bug in the same repository last week, it should be able to use that experience today. This is the promise of persistent memory.

However, evaluating these systems is surprisingly difficult. Existing evaluations fall into two incomplete camps:

  1. Memory Benchmarks: These test "recall" (e.g., "What was the bug fix last week?"). But just because a model remembers a fact doesn't mean that fact helps it write better code.
  2. Coding Benchmarks: These test if an agent can fix a bug (e.g., SWE-bench). But they don't isolate the memory component; you can't tell if the agent succeeded because it's a great coder or because its memory system provided a crucial hint.

VibeMemBench bridges this gap by creating a controlled environment where the only variable is the memory provided to the agent, measuring success through executable tests.

Figure 1: From partial benchmark signals to a controlled memory comparison. Left: memory benchmarks probe recall without an executable coding outcome, while repository benchmarks test repairs without isolating a memory intervention. Right: VibeMemBench pairs two runs of the same repository task under a fixed agent, tools, sandbox, and budget. Memory off supplies no retrieved record; the depicted memory-on condition supplies a retrieved experience. Executable tests determine task resolution. The comparison reports paired differences in Resolved, solver tokens, and agent steps.

Methods

The authors developed a four-stage pipeline called SIEVE to construct the benchmark:

  • Screening: It identifies historical tasks from the same repository that share files, directories, or identifiers with a current "target" task.
  • Verification: It runs these historical tasks to generate real trajectories.
  • Distillation: It creates a "Frozen Verified Experience"—a concise summary of the past fix (bug class, root cause, fix pattern, and reusable lesson).
  • Uplift Testing: Crucially, a target is only included in the benchmark if injecting this "Frozen" experience actually improves the success rate of a reference model. This ensures every task in the benchmark has a "gold" memory that is proven to be useful.

The evaluation then compares two main conditions:

  1. Frozen Verified Experience Transfer: Manually/oracle-distilled memory is given to different "solver" models to see if the benefit generalizes.
  2. Existing Memory-System Retrieval: Automated systems (like Mem0, SimpleMem, MemoryOS, and A-MEM) are tasked with finding and formatting the memory from the raw history.
Figure 2: The SIEVE construction pipeline and the two evaluation layers.

Datasets

The benchmark is built on SWE-rebench V2 and includes:

  • 111 coding targets across 90 repositories.
  • 3,634 history trajectories providing the "substrate" for memory.
  • A diverse mix of tasks: Bug fixes (29.7%), features (20.7%), API changes, and more.
  • Support for 9 programming languages, with Python, JavaScript, and Go being the most prominent.
Figure 3: Distribution of languages and task types in VibeMemBench.

Key Insights and Ideas

  • The "Availability-to-Use" Gap: There is a massive disconnect between the useful information sitting in repository history and the ability of current systems to extract it. While "Frozen" memory improved performance, automated systems failed to beat the "Memory OFF" baseline in 11 out of 12 tested pairings.
  • Form Degradation > Ranking Misses: The failure isn't usually that the system picks the wrong memory (retrieval). Instead, it's that the form of the memory is bad. Systems often inject raw conversation transcripts containing "instruction pollution"—old system prompts or tool outputs that distract the agent.
  • Solver Headroom: Memory is not a universal good. It helps weaker models significantly but can actually harm stronger models. If a model is already at its "ceiling" (capable of solving the task alone), adding a memory record—even a good one—introduces noise that can lead to a failure.
  • Volume Matters: A strip ablation study showed that the harm from raw transcripts comes from their sheer volume and clutter, rather than the specific semantic content of the instructions within them.

Key Results

  • Frozen Experience Works: Injecting the verified experience raised task resolution by 1.1 to 4.5 percentage points across four out of five transfer solvers and reduced the number of steps the agent took.
  • Automated Systems Struggle: When using systems like Mem0 or A-MEM, resolution rates typically dropped. For example, on deepseek-v4-pro, Mem0 caused a 4.3 point drop compared to having no memory at all.
  • Failure Attribution: 69.3% of failures in automated systems were attributed to Form Degradation (relevant history was reached, but the useful lesson was buried in noise).
Figure 5: A case study showing how a 334-line raw transcript (A-MEM) distracts a solver, whereas a 5-line verified record leads to success.

Limitations and Future Work

  • Solver Diversity: The study focused on open-weights or specific API models (DeepSeek, GLM, Kimi, Qwen) due to budget constraints, leaving proprietary giants like GPT-4o or Claude 3.5 Sonnet untested in this specific protocol.
  • Static Retrieval: The current evaluation uses "top-1" retrieval before the agent starts. Future work could explore online, closed-loop memory where the agent retrieves information dynamically during the task.
  • Compression is Key: The results suggest that memory systems should focus less on sophisticated ranking and more on trajectory compression—distilling long histories into the specific "fix patterns" that VibeMemBench proved are useful.

Summary updated

BibTeX
@misc{fan2026vibemembench,
  author = {Liyang Fan and Yingcheng Shi and Yongbin Li and Chenghao Sun and Xin Chen and Xander Xu and Hu Wei and Shiwen Ni and Min Yang and Jieping Ye},
  title = {{VibeMemBench: Evaluating Memory Systems for Coding Agents on Real Repository Coding Tasks}},
  year = {2026},
  eprint = {2609.23570},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.23570},
}
Figure