← All entries
Paper2026#456

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

Summary

Keeps original interaction traces as the source of record and builds two non-generative views: an entity–context graph (spaCy NER, co-occurrence + adjacency, Personalized PageRank) and a temporal hierarchy (turn/window/episode/local). Query routing fuses the views, then deterministic calibration filters and ranks evidence; only the final-QA reader invokes an LLM. On LoCoMo with GPT-4o-mini, average F1 59.15 vs GAM 53.75; HotpotQA 56K–448K also leads. Memory-operation LLM tokens are 0 and latency falls 57.6% vs LightMem. Official code promised after peer review.

Venue
arXiv
Source
arxiv
Access
free
License
CC BY-NC-SA 4.0
License family
Non-commercial
Language
en
Purpose
Run all agent-memory operations except final QA with zero LLM calls and zero LLM tokens
Scale
LoCoMo single/multi-hop/temporal/open-domain; HotpotQA memory variant 56K/224K/448K tokens; GPT-4o-mini and Qwen2.5-14B readers; top-5 retrieval; RTX 4090
Used for
Unknown
Time period
2026-07-31 (arXiv 2607.29377 v1)
Author type
human
Added
Aug 14, 2026
Verified
Aug 14, 2026
Research status
done
Found via
#random-papers

From the source

Published
Jul 31, 2026
arXiv categories
cs.CL
Citations
2
References
23

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

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}.

Tags

agent-memoryzero-tokenlocomohotpotqagraph-memorytemporal-hierarchypprbm25bge-m3

Topics

LLM agents, memory systems, retrieval

Research notes

  • Primary: arxiv abs (CC BY-NC-SA 4.0, cs.CL). Official repo https://github.com/TheMoon0815/Zero-mem is a placeholder until after peer review. Independent MIT Rust reimplementation exists at ptaranat/zeromem; not the authors' code. Discord posted PDF link.

Similar entries