Zero-Mem: Zero-Token Memory Operations for LLM Agents

📅 2026-07-31
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the inefficiencies of existing large language model (LLM) agents in long-horizon interactions, where conventional memory mechanisms incur excessive token consumption, latency, and information distortion due to repeated LLM invocations for memory operations. To overcome these limitations, the authors propose a zero-token memory framework that defers LLM usage exclusively to the final question-answering stage, performing all intermediate memory operations directly on raw interaction logs without any generative steps. The approach leverages an entity-context graph integrated with a temporal hierarchy to enable efficient collaborative retrieval and employs deterministic evidence filtering to ensure answer faithfulness. Experimental results demonstrate competitive performance on long-memory and long-context question-answering benchmarks, achieving a 57.6% reduction in memory operation latency compared to the fastest baseline while introducing no additional LLM token overhead.
📝 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 \emph{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 \textcolor{blue}{https://github.com/TheMoon0815/Zero-mem}.
Problem

Research questions and friction points this paper is trying to address.

LLM agents
memory operations
token efficiency
long-context QA
structured memory
Innovation

Methods, ideas, or system contributions that make the work stand out.

zero-token memory
LLM agents
memory operations
entity-context graph
temporal hierarchy
🔎 Similar Papers
Yilin Xiao
Yilin Xiao
Hong Kong Polytechnic University
LLMRAGComputer visionGNN
Z
Zhehan Zhu
School of Computing and Artificial Intelligence, Southwestern University of Finance and Economics
Y
Yujing Zhang
The Hong Kong Polytechnic University, Hong Kong SAR
J
Jin Chen
School of Computing and Artificial Intelligence, Southwestern University of Finance and Economics
Zijin Hong
Zijin Hong
The Hong Kong Polytechnic University
Text-to-SQLLarge Language ModelsNatural Language Processing
L
Luyao Zhuang
The Hong Kong Polytechnic University, Hong Kong SAR
Qinggang Zhang
Qinggang Zhang
The Hong Kong Polytechnic University
Knowledge GraphsLarge Language ModelsRetrieval-Augmented GenerationText-to-SQL
Shengyuan Chen
Shengyuan Chen
The Hong Kong Polytechnic University
reasoningknowledge graphsLLMs
X
Xiaocao Ouyang
School of Computing and Artificial Intelligence, Southwestern University of Finance and Economics
L
Lingfei Ren
School of Computing and Artificial Intelligence, Southwestern University of Finance and Economics
Xiao Huang
Xiao Huang
Assistant Professor at The Hong Kong Polytechnic University
LLM reasoningretrieval-augmented generationtext-to-SQLgraph learningcollaborative filtering