NextMem: Towards Latent Factual Memory for LLM-based Agents
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
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.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 35 of its 42 references that are in the map. First posted on arXiv 26 Feb 2026.
Builds on
35 of 42 references.
Closest ancestors · 7
Same direction, newest first
- 2025Preference-Aware Memory Update for Long-Term LLM Agents10 Oct
- 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agents29 Sep
- 2025Explicit v.s. Implicit Memory: Exploring Multi-hop Complex Reasoning Over Personalized Information18 Aug
- 2025Learn to Memorize: Optimizing LLM-based Agents with Adaptive Memory Framework15 Aug
- 2025MemEngine: A Unified and Modular Library for Developing Advanced Memory of LLM-based Agents4 May
- 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb
Other references · 28
- 2017Attention Is All You Needcited by 60,361
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2025Qwen3 Technical Reportcited by 8,820
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
- 2024A Survey on LLM-as-a-Judgecited by 1,423
16 more
- 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,073
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
- 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 797
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 707
- 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 656
- 2023Learning to Compress Prompts with Gist Tokenscited by 390
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Securitycited by 260
- 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 199
- 2023Recommender Systems with Generative Retrievalcited by 198
- 2025DeepSeek-OCR: Contexts Optical Compressioncited by 183
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 163
- 2025SoftCoT: Soft Chain-of-Thought for Efficient Reasoning with LLMscited by 116
- 2025MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Modelscited by 73
- 2025Deep Research: A Survey of Autonomous Research Agentscited by 66
- 2025Dynamic Parametric Retrieval Augmented Generation for Test-time Knowledge Enhancementcited by 25
Built on by
Citing papers per year: 2026: 12.
12 papers.
- 2026The Latent Space: Foundation, Evolution, Mechanism, Ability, and Outlookcited by 43
- 2026MemOps: Benchmarking Lifecycle Memory Operations in Long-Horizon Conversationscited by 7
- 2026Metis: Memory Foundation Modelcited by 7
- 2026ScrapMem: A Bio-inspired Framework for On-device Personalized Agent Memory via Optical Forgettingcited by 3
- 2026Mem-W: Latent Memory-Native GUI Agentscited by 3
- 2026Know You Before You Speak: User-State Modeling for LLM Personalization in Multi-Turn Conversationcited by 3
- 2026Preference-Aware Rubric Learning for Personalized Evaluationcited by 2
- 2026Joint Agent Memory and Exploration Learning via Novelty Signalscited by 0
- 2026MemDefrag: Latent Memory Defragmentation for Large Language Modelscited by 0
- 2026MaSRead: Content-Addressed Reading of Replicated Latent Storescited by 0
- 2026MemFold: Learning Compact Soft Memory for Long-Context Personalization via On-Policy Optimizationcited by 0
- 2026Learning to Accumulate Knowledge with Mutual Informationcited by 0
- 2026Learning to Accumulate Knowledge with Mutual Information7 Oct 2026
- 2026MemFold: Learning Compact Soft Memory for Long-Context Personalization via On-Policy Optimization29 Sep 2026
- 2026Metis: Memory Foundation Model29 Jul 2026
- 2026MaSRead: Content-Addressed Reading of Replicated Latent Stores21 Jul 2026
- 2026MemOps: Benchmarking Lifecycle Memory Operations in Long-Horizon Conversations14 Jul 2026
- 2026MemDefrag: Latent Memory Defragmentation for Large Language Models7 Jul 2026
- 2026Joint Agent Memory and Exploration Learning via Novelty Signals1 Jun 2026
- 2026Preference-Aware Rubric Learning for Personalized Evaluation29 May 2026
- 2026Know You Before You Speak: User-State Modeling for LLM Personalization in Multi-Turn Conversation23 May 2026
- 2026Mem-W: Latent Memory-Native GUI Agents10 May 2026
- 2026ScrapMem: A Bio-inspired Framework for On-device Personalized Agent Memory via Optical Forgetting5 May 2026
- 2026The Latent Space: Foundation, Evolution, Mechanism, Ability, and Outlook2 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2026ElasticMem: Latent Memory as a Learnable Resource for LLM Agents
- 2026RPMem: Learning Long-Term Recurrent Parametric Memory Across Sessions for LLM Agents
- 2026Less Context, More Accuracy: A Bi-Temporal Memory Engine for LLM Agents Where a Lean Retrieved Context Beats the Full History
- 2026Evaluating Memory Structure in LLM Agents
- 2026LatentMem: Customizing Latent Memory for Multi-Agent Systems
- 2026Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model Agents
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions
- 2026SimpleMem: Efficient Lifelong Memory for LLM Agents