Zero-Mem: Zero-Token Memory Operations for LLM Agents
Yilin Xiao, Zhehan Zhu, Yujing Zhang, Jin Chen, Zijin Hong, Luyao Zhuang, Qinggang Zhang, Shengyuan Chen, Xiaocao Ouyang, Lingfei Ren, Xiao Huang
cs.CL
Submitted: 2026-07-31
Code: https://github.com/TheMoon0815/Zero-mem
License: http://creativecommons.org/licenses/by-nc-sa/4.0/
The gist: LLM agents need memory to act consistently over long interactions, yet many systems use additional LLM calls to operate that memory.
Terminology
Abstract
LLM agents need memory to act consistently over long interactions, yet many systems use additional LLM calls to operate that memory. Generating intermediate records and mediating their retrieval adds recurring token and time costs, while omitted or merged details can obscure the original evidence. We ask whether structured memory access requires generation at all. Zero-Mem introduces zero-token memory operations: no step outside final question answering invokes an LLM or consumes LLM input or output tokens; encoder computation is accounted for separately. Zero-Mem preserves original interaction traces as its source of record. It organizes the traces in two complementary ways. An entity--context graph exposes connections across interactions, while a temporal hierarchy preserves conversational locality and session state. For each query, Zero-Mem weighs the two views, retrieves from both, and follows their structure to recover supporting relations or surrounding context. Deterministic calibration first discards conflicting evidence and then keeps the reader's answer grounded in the retrieved traces. Only the final-QA reader invokes an LLM. Across long-memory and long-context question-answering benchmarks, Zero-Mem achieves competitive performance while eliminating LLM calls and LLM-token consumption from memory operations. With the same final-QA reader and context budget, it reduces memory-operation time cost by 57.6% relative to the fastest compared baseline. Ablations support the contribution of the two views and their query-dependent coordination. Overall, the results show that structured agent memory need not generate an intermediate representation of the past. After peer review, the code and implementation details will be available at https://github.com/TheMoon0815/Zero-mem.
Sources
- Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory
- Memory Matters More: Event-Centric Memory as a Logic Map for Agent Searching and Reasoning
- Memory in the Age of AI Agents
- Large Language Model Agent: A Survey on Methodology, Applications and Challenges
- Zep: A Temporal Knowledge Graph Architecture for Agent Memory
- From Human Memory to AI Memory: A Survey on Memory Mechanisms in the Era of LLMs
- General Agentic Memory Via Deep Research
- Graph-based Agent Memory: Taxonomy, Techniques, and Applications
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering