NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

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 HuangarXiv 2026

TL;DR

Zero-Mem is a novel framework for LLM agent memory that eliminates the need for expensive LLM calls during memory management. By replacing generative abstractions with structured, non-generative views of interaction history, it achieves state-of-the-art performance while slashing memory-operation latency by 57.6% and reducing token costs for memory processing to zero.

What Problem Does This Paper Address?

For LLM agents to be useful in long-term scenarios—like a personal assistant that remembers your preferences over months—they need a reliable memory system. Most current systems rely on "generative memory," where an LLM is used to summarize past interactions, build indexes, or reflect on experiences.

This approach has three major drawbacks:

  1. Cost and Latency: Every time the agent "thinks" about its memory, it triggers additional LLM calls, consuming tokens and increasing response time.
  2. Information Loss: Summaries and abstractions often omit fine-grained details or merge distinct events, obscuring the original evidence.
  3. Traceability: Once an interaction is turned into a summary, it's harder to trace a specific piece of information back to the exact moment it was said.

The authors of Zero-Mem ask a fundamental question: Does structured memory access actually require an LLM to generate anything at all?

Methods

Zero-Mem introduces the concept of zero-token memory operations. It manages the entire lifecycle of memory—construction, organization, retrieval, and calibration—without invoking an LLM until the very final step of answering the user's question.

The system relies on a "Dual-View" architecture to organize raw interaction traces:

  • Entity-Context Graph: This view uses non-generative Named Entity Recognition (NER) to link entities (like people or places) to specific interaction units. It captures relational connections across different sessions, allowing the agent to follow "relational bridges."
  • Temporal Hierarchy: This view organizes traces into a hierarchy of turns, windows, and episodes. It preserves the chronological order and local context of conversations, which is vital for understanding session-specific states.
Figure 2: Overview of Zero-Mem. Original interaction traces are organized into a provenance-preserving entity–context graph and temporal hierarchy without generative abstraction. Query-conditioned routing weights the two views, whose retrieved evidence is fused and completed with relational bridges and local neighbors. Deterministic calibration filters and ranks the evidence and checks the reader output. All memory operations are token-free; the final-QA reader is the only LLM call.

At query time, Zero-Mem uses a Query-Conditioned Router to decide which view is more relevant. For example, a question about a specific person might prioritize the graph, while a question about "what happened yesterday" would prioritize the temporal hierarchy. Finally, a Deterministic Evidence Calibration step applies hard constraints (like time boundaries or entity matches) to filter the retrieved evidence before passing it to the "Reader" LLM.

Datasets

The authors evaluated Zero-Mem on two primary benchmarks:

  1. LoCoMo: A benchmark designed for long-term conversational memory, testing an agent's ability to recall entity-specific and temporal information across multiple sessions.
  2. HotpotQA: A standard multi-hop question-answering dataset. The authors adapted it into a long-context challenge by adding up to 448K tokens of "distractor" passages to test the system's retrieval precision.

Key Insights and Ideas

  • Structure > Generation: The core "aha moment" is that deterministic structures (graphs and hierarchies) are often more effective at preserving and retrieving evidence than LLM-generated summaries. By keeping the raw traces, Zero-Mem avoids the "hallucinations" that can occur during summarization.
  • Complementarity is Key: The ablation studies (see Figure 3) reveal that neither the graph nor the hierarchy is sufficient on its own. The graph excels at multi-hop reasoning, while the hierarchy is essential for maintaining conversational flow.
  • Zero-Token Efficiency: By moving memory logic out of the LLM and into deterministic algorithms (like Personalized PageRank for the graph), the system achieves a massive speedup without sacrificing accuracy.
Figure 3: Ablation study on HotpotQA with 56K-token con- texts and GPT-4o-mini. The full model outperforms both single-view variants, demonstrating the complementarity of graph-based relational retrieval and hierarchical contextual retrieval. Evidence closure and calibration provide further gains on both F1 and BLEU-1.

Key Results

  • Latency Reduction: Zero-Mem reduced memory-operation time by 57.6% compared to LightMem, the fastest existing baseline.
  • Zero Token Cost: While baselines like GAM consumed millions of tokens for memory management, Zero-Mem's token usage for these operations was exactly zero.
  • Superior Accuracy: On the LoCoMo benchmark, Zero-Mem achieved the highest average F1 and BLEU-1 scores across both GPT-4o-mini and Qwen2.5-14B models, outperforming complex generative systems like GAM and CompassMem.
  • Scalability: In the 448K-token HotpotQA test, Zero-Mem maintained high performance, showing it can handle extremely long contexts where flat retrieval methods typically fail.

Limitations and Future Work

  • Computational Overhead: While "zero-token" means no LLM generation costs, the system still requires computation for embedding models (encoders) and graph processing. The authors note that these costs are accounted for separately.
  • NER Dependency: The quality of the entity-context graph depends on the accuracy of the underlying NER model (e.g., spaCy). Errors in entity extraction could lead to missing links in the graph.
  • Future Directions: The authors suggest that future work could explore even more sophisticated deterministic calibration rules and investigate how this "zero-token" approach scales to even larger, multi-agent environments.

Summary updated

BibTeX
@misc{xiao2026zero,
  author = {Yilin Xiao and Zhehan Zhu and Yujing Zhang and Jin Chen and Zijin Hong and Luyao Zhuang and Qinggang Zhang and Shengyuan Chen and Xiaocao Ouyang and Lingfei Ren and Xiao Huang},
  title = {{Zero-Mem: Zero-Token Memory Operations for LLM Agents}},
  year = {2026},
  eprint = {2607.29377},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.29377},
}
Figure