🤗 Upvotes: 45 | cs.CL Authors: Xuan He, Sining Zhoubian, Ruozhen Yang, Yuhao Wen, Zhineng Wang, Yuyang Hu, Ke Yang, Yuyu Zhang, Ping Nie, Jiawei Han, ChengXiang Zhai Title: Memory Tax: Dissecting the Net Value of Agent Memory Arxiv: http://arxiv.org/abs/2610.34073v1 Abstract: Memory is increasingly used in long-horizon agents, yet the net value of building memory over direct retrieval from raw history remains largely unclear. Through a large-scale evaluation across multiple benchmarks and model backbones, we find many dedicated memory systems underperform naive RAG in many cases, indicating a negative net value. Taking RAG as a reference, we dissect the net value of memory into the gains and losses over direct retrieval, termed memory benefit and memory tax. These gains and losses arise because memory process changes how the raw information is organized and accessed. We view such changes as the double-edged deviations from the raw history. They are originally designed and introduced to benefit the task, for example by reorganizing facts or distilling preferences, but some may also remove or obscure evidence, giving rise to memory tax. Since memory benefit reflects the expected gains of its design, we then focus more on the overlooked memory tax, study how it arises from the system and evaluation side, and generalize the concept to more application scenarios of memory. We hope the notion of memory tax can provide a new lens and shift more attention from standalone performance to the net value of memory, informing more reliable memory designs and evaluations. We will open-source the code and results to the community. Project Page: https://hexuan21.github.io/MemoryTax/
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Evan: Welcome to Daily Paper Cast. Ashley: Today we're discussing a paper from the Hugging Face daily paper list of October 28, 2026, which has received 45 upvotes. Evan: The paper is titled 'Memory Tax: Dissecting the Net Value of Agent Memory.' Ashley: This work is authored by Xuan He and Sining Zhoubian, with ChengXiang Zhai as the corresponding author, from the University of Illinois Urbana-Champaign. Evan: Let's dive into the Introduction section, Ashley. Can you give us some background on why memory in long-horizon agents is such a critical topic?
Ashley: Sure, Evan. Memory has become an essential component for long-horizon large language model agents. These agents need to recall information from past interactions and reuse prior experiences effectively. Evan: It seems like a straightforward advantage. But the authors found that the net value of these dedicated memory systems remains largely unclear. Can you elaborate a bit? Ashley: Despite the intuitive appeal of memory systems, many recent works have introduced increasingly diverse memory representations and management mechanisms, aiming to make relevant information easier to preserve and utilize.
However, these memory systems often incur additional computation over the original context. Evan: So, the complexity of these memory systems can be a double-edged sword? Ashley: Exactly, Evan. The paper emphasizes that the growing complexity of memory systems does not always translate to better performance. To study this, the authors use a straightforward retrieval baseline called naive Retrieval-Augmented Generation, or RAG. Evan: How does this naive RAG compare against dedicated memory systems?
Ashley: The results of their large-scale evaluation show that naive RAG often outperforms many dedicated memory systems across various benchmarks and model backbones. In some cases, dedicated memory systems even underperform compared to naive RAG, indicating a negative net value. Evan: That’s surprising. Why would dedicated memory systems underperform compared to a simpler baseline? Ashley: The authors dissect the net value of memory into two aspects: memory benefit and memory tax.
Memory benefit reflects the expected gains from the memory system's design, such as reorganizing facts or distilling preferences. On the other hand, memory tax arises when the memory process removes or obscures evidence, making it harder to access relevant information. Evan: Could you explain more about this concept of 'memory tax'? Ashley: Memory tax refers to the unintended harmful effects introduced by particular design choices in memory systems. These harmful effects, like losing or obscuring evidence, can outweigh the intended benefits, resulting in a net negative value.
Evan: It sounds like the balance between memory benefit and memory tax is crucial. Ashley: That's right. Their study suggests rethinking how memory systems are designed and evaluated. By focusing more on the net value—including both the benefits and the taxes—researchers can create more reliable memory designs. Evan: And what contributions do the authors make with this paper? Ashley: The authors make several key contributions. First, they reassess the net value of long-term memory over direct retrieval holistically.
Second, they dissect this net value into memory benefit and memory tax and systematically analyze the sources of memory tax. Finally, they generalize the benefit-tax view to broader settings and derive general design implications. Evan: So, their work helps shift the focus from standalone performance to understanding the real value memory brings. Ashley: Yes, exactly. This shift can inform more reliable memory designs and evaluations in the future. Evan: That brings us to the end of the Introduction section of this fascinating paper.
Evan: Alright, let's move on to the Methods section. Ashley, how do the authors approach their evaluation of memory systems? Ashley: They begin by framing their study within the context of conversational agents, specifically personal-agent memories. They aim to evaluate representative memory designs across multiple benchmarks and model backbones, using naive RAG as the comparison reference to assess the net value of memory. Evan: What kind of benchmarks do they use for this evaluation? Ashley: The benchmarks span various task types and complexities.
They include LongMemEval-s, PersonaMem-v2, and MINT-Eval. LongMemEval-s tests long-term interactive memory; PersonaMem-v2 focuses on implicit user personas and preferences, mostly through multiple-choice questions; and MINT-Eval involves state tracking and handling multi-target interference in ordered steps. Evan: And how about the model backbones? What are those? Ashley: The evaluation is run on three backbones: Qwen3.5-4B, Qwen3.6-27B, and GPT-5.6 Luna (low).
These share the same embedding model, Qwen3-Embedding-0.6B, to maintain consistency across experiments. Evan: Got it. So they have diverse benchmarks and model backbones. How do they measure performance? Ashley: Performance is assessed using judge accuracy, scored by an LLM-as-Judge backed by Qwen3.6-27B. Besides accuracy, several cost metrics are reported, including token cost, end-to-end wall-clock time, number of LLM calls, and memory storage size.
Evan: Interesting. How do they manage different memory systems and ensure fair comparison with naive RAG? Ashley: Great question, Evan. They categorize memory systems based on how they organize what they store. For instance, flat store systems like A-MEM, SIMPLEMEM and MEMOS keep memory as a flat collection. Hierarchical or lifecycle systems like MEMORYOS and LIGHTMEM manage memory across tiers that differ in lifetime or abstraction. Graph-based systems like HIPPORAG2 link memory units through explicit relations such as entities and events, and trained policy systems like MEM-T and MEMORY-R2 use reinforcement learning to govern memory operations.
Evan: It sounds like they cover a variety of memory layouts and mechanisms. Ashley: Indeed. For each memory system, they adjust retrieval top-k to control the retrieval scope fairly. The goal is to ensure that retrieval scope for all baselines is no lower than naive RAG (1-round), while keeping retrieval scope reasonably comparable across systems. Evan: Retrieval scope? Could you explain that a bit more? Ashley: Certainly. Retrieval scope is defined as the fraction of tokens in memory units seen by the LLM from retrieval through answering, normalized by the total tokens within the system’s retrievable store.
This metric helps align retrieval budgets without giving any memory system undue advantage or disadvantage. Evan: Got it. How do they ensure the quality of memory units in terms of preserving past information? Ashley: They examine faithfulness, accessibility, and robustness of the memory systems. Faithfulness measures how well information survives through memory processes, accessibility examines how easily stored information can be accessed at query time, and robustness checks for consistency across different model backbones.
Evan: So faithfulness ensures the quality of information, accessibility looks at ease of access, and robustness evaluates consistency across models. How do they measure these? Ashley: Right. For faithfulness, they compare performance using complete gold raw turns versus gold memory units—those are segments specifically verified to contain needed information. For accessibility, they replay retrieval iteratively to measure how many rounds are needed to recover all gold memory units.
And robustness is assessed by varying both the memory construction and QA backbones to observe changes in performance. Evan: That sounds comprehensive. What do they find regarding the complexity and magnitude of memory tax? Ashley: Many memory systems exhibit significant memory tax. This tax arises from factors like fragmented information across multiple units, dilution with unrelated information, or rephrasing that weakens accessibility. Additionally, certain benchmarks being more retrieval-friendly leave limited headroom for constructed memory systems to outperform naive RAG, exposing memory tax more visibly.
Evan: So it sounds like the simpler retrieval methods like naive RAG remain quite competitive then? Ashley: Definitely. Given how retrieval-friendly certain benchmarks are, techniques with less or no explicit memory construction often show strong performance by inheriting much of naive RAG's baseline performance while introducing little memory tax. This suggests lightweight design can be particularly competitive in scenarios with limited benchmark headroom. Evan: Do they suggest any changes or improvements based on these findings?
Ashley: Yes. They propose several design implications to either reduce or compensate for memory tax. These include ensuring memory deviations are recoverable by retaining a lightweight path back to the source history during insufficient memory retrieval, adopting recursive or self-referential memory approaches for multi-round retrieval feedback, and modeling future demands more effectively through adaptive memory systems. Evan: It's about finding a balance between the benefits memory systems bring and the taxes they impose, right?
Ashley: Exactly, Evan. Focusing on the net value requires understanding both how memory systems enhance retrieval and how they introduce complexity that might not always pay off. Evan: That brings us to the end of the Method section of this comprehensive paper. It certainly offers valuable insights into evaluating and designing memory systems. Evan: Moving on to the Experiment and Results section, Ashley. How do the authors conduct their large-scale evaluation of these memory systems? Ashley: The authors evaluate the memory systems across three main benchmarks: LongMemEval-s, PersonaMem-v2, and MINT-Eval.
Each benchmark is designed to test different aspects of memory's utility. Evan: Let's start with LongMemEval-s. What's the focus of this benchmark? Ashley: LongMemEval-s focuses on evaluating long-term interactive memory. The queries range from simple short-term recall to more complex tasks requiring aggregation of information across multiple sessions. Evan: Interesting. How do the memory systems perform on this benchmark? Ashley: The results show that naive RAG generally outperforms many dedicated memory systems.
For instance, naive RAG scored 82 percent accuracy on LongMemEval-s with Qwen3.5-4B backbone, whereas complex systems like MAGMA and LIGHTMEM scored lower, highlighting the memory tax. Evan: That’s quite the disparity. How about PersonaMem-v2? Ashley: PersonaMem-v2 evaluates memory by focusing on implicit user personas and preferences, mainly through multiple-choice questions. Here again, naive RAG proves competitive, with a score of 46.8 percent accuracy using Qwen3.6-27B, often higher than several memory-augmented systems.
Evan: So naive RAG holds up well even in preference-heavy tasks. What do the results say about MINT-Eval? Ashley: MINT-Eval involves state tracking and handling multi-target interference in ordered steps. This benchmark is more complex as it requires managing different types of information dynamically. Naive RAG managed 25.8 percent accuracy with Qwen3.5-4B, which was again very competitive compared to dedicated memory systems. Evan: It seems like naive RAG remains strong across different benchmarks.
Are there any specific factors contributing to memory tax in these results? Ashley: Memory tax arises from various sources. One key factor is faithfulness, which measures how accurately past information is preserved. The comparison shows that while some memory systems manage high faithfulness, others experience significant information loss. Evan: Could you give some examples of this information loss? Ashley: Sure. For example, OPENVIKING dropped nearly 40 percent of crucial details, while MEMORY-R2 showed better preservation but still had noticeable losses.
This information loss directly impacts the ability of memory systems to retrieve accurate answers. Evan: How about accessibility? How do memory systems fare in making preserved information easily accessible? Ashley: Accessibility is another challenge. The study shows that relevant facts often get fragmented across multiple units or diluted with unrelated information. For instance, LIGHTMEM often buried relevant details in lengthy profiles, making retrieval difficult even when the evidence was preserved. Evan: So even if the information is preserved, it can still be hard to access?
Ashley: Exactly. The placement and structure of memory units significantly affect retrieval. Systems like MAGMA sometimes rephrased evidence, which weakened the match with the query and delayed retrieval. Evan: And robustness, Ashley? How consistent are these systems across different model backbones? Ashley: Robustness is assessed by varying both the memory construction and QA backbones. Results indicate that some memory systems exhibit noticeable score variation. For instance, MEM-T showed large performance drops with weaker backbones, highlighting additional fragility beyond raw-history retrieval.
Evan: That's a lot to unpack. Any final thoughts on their findings in the Experiment and Results section? Ashley: Their findings underscore the importance of evaluating not just standalone memory performance but considering its net value—balancing benefits and taxes. This can guide more reliable designs that minimize harmful deviations and maximize memory utility. Evan: It certainly provides a fresh perspective on memory system evaluation. That brings us to the end of the Experiment and Results section.
Evan: Next, let’s delve into the Related Work section. Ashley, can you summarize the foundational works that this paper builds upon? Ashley: Sure, Evan. A significant portion of the paper draws on existing research in the domain of long-term memory for agents. Over the years, long-term memory has become increasingly important in supporting the retention of specific information, interactions, and task experiences for AI agents. Evan: What kind of memory representations and mechanisms have been explored in the past?
Ashley: Researchers have explored a variety of memory representations. For instance, there are flat memory stores like SIMPLEMEM and MEMOS, which keep facts or notes in a flat structure indexed for similarity search. Hierarchical organizations like MEMORYOS and LIGHTMEM separate memory into tiers of different lifetimes or abstractions. Graph-based representations such as those employed in HIPPORAG2 link memory units through explicit relations like entities or events. Evan: It sounds like there’s quite a range of approaches.
Ashley: Another variation concerns how memory operations are governed. Some systems use predefined rules for writing, updating, and retrieving memories. Others, like MEM-T and MEMORY-R2, employ reinforcement learning to dynamically govern these operations. Evan: And how does this paper's approach differ or expand on these existing methods? Ashley: This paper takes a holistic view of the net value of memory systems, contrasting previous works that often focus on standalone performance.
The authors introduce the concepts of memory benefit and memory tax to characterize the gains and losses from memory operations relative to direct retrieval. Evan: So they’re assessing whether the complexity of these memory systems truly pays off, right? Ashley: Exactly. By including naive RAG as a comparison baseline, the authors provide a clearer picture of how much dedicated memory systems improve over straightforward retrieval methods, if at all. Evan: Let's dive into some specific works they cite.
How about empirical studies that examine agent memory from different angles? Ashley: Recent empirical studies have characterized existing memory designs by their performance-cost trade-offs, deployment strategies, and where computational resources are used. For example, studies by Jiang et al. and Omri et al. look at how memory systems are designed and their empirical behaviors. Evan: How do these empirical insights integrate with the notion of memory tax? Ashley: Well, this paper goes further by introducing memory tax as a critical concept to capture losses relative to direct retrieval, analyzing how such losses arise both from system designs and evaluation protocols.
Earlier works focus on characterization, but this paper dissects the mechanisms resulting in information loss and accessibility issues. Evan: That sounds like a comprehensive evaluation strategy. Do they also propose design suggestions based on these insights? Ashley: Yes, they suggest simple changes that can be applied to existing memory systems without introducing new architectures. For instance, making memory deviations more recoverable, adopting recursive memory for feedback loops, and modeling future demand instead of past information to guide memory construction.
Evan: That's quite insightful. How about the broader spectrum of AI agents relying on memory? Ashley: There's a rich history of agent memory systems evolving to support long-term tasks, from early approaches like Minerva and MemNet to more sophisticated methods like MIRIX and Voyager. This paper adds to the body of work by emphasizing memory tax and benefit in the context of such agents, advocating for net value assessment. Evan: It fascinatingly connects with broader trends in AI memory research.
To sum up, this section highlights the foundational works and positions this paper within the ongoing dialogue on memory systems in AI. Ashley: Exactly. By reassessing the net value of memory systems and proposing practical improvements, this paper aims to inform more reliable memory system designs. Evan: That’s the end of the Related Work section. Evan: Let's summarize the key contributions and takeaways from this paper, 'Memory Tax: Dissecting the Net Value of Agent Memory.'
Ashley: First, the authors highlight the critical role of memory in long-horizon agents, emphasizing the need for these systems to effectively recall and reuse past information. However, they question the net value of increasingly complex memory systems by comparing them against a straightforward baseline, naive RAG. Evan: A key contribution is their introduction of the concepts of memory benefit and memory tax. Memory benefit captures the positive aspects like reorganization of facts and distillation of preferences, while memory tax addresses the negative impacts like information loss and accessibility challenges.
Ashley: Another important finding is that many dedicated memory systems actually underperform compared to naive RAG in several benchmarks. This suggests that the complexity of these systems does not always translate to better performance, highlighting the need for a balanced assessment of memory systems' true value. Evan: Their comprehensive experiments measuring faithfulness, accessibility, and robustness provide valuable insights into where and why memory tax arises, offering guidelines for designing more effective memory systems.
Ashley: Precisely. The practical implications proposed by the authors include ensuring that memory deviations are recoverable, adopting recursive memory approaches, and modeling future demand to optimize memory construction and utilization. Evan: Ultimately, this work encourages researchers and practitioners to shift their focus from standalone performance to understanding the net value of memory systems, balancing benefits and taxes for more reliable designs. Ashley: And that's the essence of the 'Memory Tax' paper.
We hope you found today's discussion insightful. Evan: Thank you for tuning in to Daily Paper Cast. Join us again for more insightful discussions on the latest research papers in AI. Until next time!
🤗 Upvotes: 41 | cs.AI, cs.SE Authors: Khalil Hennara, Muhammad Hreden, Zeina Aldallal, Sara Chrouf, Safwan AlModhayan Title: Let the Fixer Decide: Training a Code Localizer from the Fixer's Likelihood Arxiv:...