English

NextMem: Towards Latent Factual Memory for LLM-based Agents

Artificial Intelligence 2026-03-18 v1 Information Retrieval Machine Learning

Abstract

Memory is critical for LLM-based agents to preserve past observations for future decision-making, where factual memory serves as its foundational part. However, existing approaches to constructing factual memory face several limitations. Textual methods impose heavy context and indexing burdens, while parametric methods suffer from catastrophic forgetting and high costs. To address these challenges, we introduce NextMem, a latent factual memory framework that utilizes an autoregressive autoencoder to efficiently construct latent memory while ensuring accurate reconstruction. For better optimization, we propose a two-stage training process, including autoregressive reconstruction alignment and progressive latent substitution. We also incorporate quantization to reduce storage overhead. Extensive experiments demonstrate that NextMem achieves superior performance, and excels in retrieval, robustness, and extensibility properties. We release our code and model checkpoints at https://github.com/nuster1128/NextMem.

Keywords

Cite

@article{arxiv.2603.15634,
  title  = {NextMem: Towards Latent Factual Memory for LLM-based Agents},
  author = {Zeyu Zhang and Rui Li and Xiaoyan Zhao and Yang Zhang and Wenjie Wang and Xu Chen and Tat-Seng Chua},
  journal= {arXiv preprint arXiv:2603.15634},
  year   = {2026}
}

Comments

17 pages, 7 figures, 4 tables

R2 v1 2026-07-01T11:22:48.816Z