Memory Tax: Dissecting the Net Value of Agent Memory
AuthorsXuan He, Sining Zhoubian, Ruozhen Yang, Yuhao Wen, Zhineng Wang, Yuyang Hu, Ke Yang, Yuyu Zhang, Ping Nie, Jiawei Han, ChengXiang Zhai
AffiliationsUniversity of Illinois Urbana Champaign · Tsinghua University · Renmin University of China · Verdent.ai · University of Waterloo
The paper asks whether agent memory actually helps, or whether it can lose useful evidence compared with retrieving directly from history.
Key results
GPT-5.6 Luna score.
Qwen3.6-27B score.
Qwen3.6-27B score after retrieving from source history alongside memory.
Qwen3.6-27B score after retrieving from source history alongside memory.
Down from 12.0% on LongMemEval-s.
What the paper found
This paper asks whether building long-term memory actually helps more than retrieving directly from raw conversation history. Across LongMemEval-s, PersonaMem-v2, and MINT-Eval, the authors compare dedicated systems with naive retrieval-augmented generation, or RAG, using Qwen models and GPT-5.6 Luna through OpenAI. Many systems, including SimpleMem, MAGMA, and MemoryOS, underperform RAG despite higher processing costs. The paper’s key idea is to split memory’s net value into memory benefit—when reorganizing information helps—and memory tax, when processing loses evidence or makes it harder to retrieve. The authors trace that tax to three sources: reduced faithfulness, weaker accessibility, and sensitivity to the model used to build or query memory. For example, two-round RAG scores 90.0% on LongMemEval-s with GPT-5.6 Luna and 48.7% on PersonaMem-v2 with Qwen3.6-27B. A simple recovery strategy that retrieves from the original history alongside stored memory raises SimpleMem’s accuracy to 82.8% on LongMemEval-s and 49.6% on PersonaMem-v2; on LongMemEval-s, it also cuts SimpleMem’s memory tax from 12.0% to 5.2%. The analysis extends beyond conversational memory to task-experience and world-model memory, suggesting that reliable systems should measure gains against direct retrieval and preserve a route back to source evidence.
Original 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/
Read the original paperMore in AI Agents
Browse all 68 papers →Build, Don't Play: Self-Improving LLM Research Agents Develop a Hearthstone Battlegrounds AI That Rivals Top Players
Changlian Ma, Limin Wang
A team of LLM research agents builds a Hearthstone Battlegrounds AI that reportedly outperforms top human players on the live ladder.
Your Policy Is Secretly a Harness: The Decision Geometry of Agent Interfaces
Jian Mu, Ruibo Shen, Yao Shu
An agent’s performance depends not just on its model, but on how well its learned preferences fit the harness it is given.
AutoEnvScaling: Automating the Data Flywheel with Terminal Agents
Simon Yu, Baolin Peng, Bo Liu, Zhengyan Shi, Zhaoyang Wang, Hao Cheng, Qianhui Wu, Wenlin Yao, Natasha Jaques, Weiyan Shi, Jianfeng Gao
AutoEnvScaling has agents create the training environments that help terminal agents get better at solving tasks.