mlsanityData to 14 Oct 2026

LazyMem: Retrieve Broadly, Construct Selectively for Efficient Long-Term Agent Memory

arXiv 2607.22690 ↗First posted 17 Jul 2026cs.AIcited by 5

On the map: LLM agents and tool use → Agent memory systems

Abstract (arXiv)

Long-term memory enables LLM agents to leverage past interactions, but dialogue histories quickly exceed the context window, forcing agents to retrieve relevant subsets at query time. Because useful evidence is sparse and scattered across verbose conversations, retrieval faces a fundamental tension: broadening recall improves coverage but floods downstream reasoning with noise, while compressing memories at write time eases retrieval but irreversibly discards details that future queries may need. We introduce LazyMem, which resolves this tension by deferring all memory construction to query time. Given a retrieved candidate pool, a lightweight model processes it in overlapping parallel windows, selectively retaining and compressing only query-relevant content. The model is trained with supervised fine-tuning followed by reinforcement learning, using a reward that jointly encourages the identification of relevant messages and the generation of compressions that are faithful to the source and useful for answering the query. On LongMemEval, LazyMem-4B achieves an LLM-judge accuracy of 0.85, outperforming the strongest non-oracle baseline while using only 213 answer-context memory tokens, 21.0 times fewer than the baseline. It further generalizes to LoCoMo without target-domain training and reduces mean latency relative to the prior query-time baseline. Code is available at https://github.com/allacnobug/LazyMem.

Key facts. Cited by 5 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 28 of its 39 references that are in the map. First posted on arXiv 17 Jul 2026.

Builds on

28 of 39 references.

Closest ancestors · 9

Same direction, newest first

  1. 2026AMA-Bench: Evaluating Long-Horizon Memory for Agentic Applications26 Feb
  2. 2026MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agents2 Feb
  3. 2026TiMem: Temporal-Hierarchical Memory Consolidation for Long-Horizon Conversational Agents6 Jan
  4. 2025MemEvolve: Meta-Evolution of Agent Memory Systems21 Dec
  5. 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learning27 Aug
  6. 2025Hierarchical Memory for High-Efficiency Long-Term Reasoning in LLM Agents23 Jul
  7. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
  8. 2025A-MEM: Agentic Memory for LLM Agents17 Feb
  9. 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb

Other references · 19

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  4. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  5. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  6. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  7. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
  8. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
  9. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
  10. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
  11. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
  12. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 841
7 more
  1. 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 707
  2. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 556
  3. 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentationcited by 256
  4. 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMscited by 202
  5. 2025LightMem: Lightweight and Efficient Memory-Augmented Generationcited by 180
  6. 2026Mem-T: Densifying Rewards for Long-Horizon Memory Agentscited by 18
  7. 2026StructMem: Structured Memory for Long-Horizon Behavior in LLMscited by 18

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026LeanMem: Simple and Efficient Long-Term Memory for LLM Agents
  2. 2026EdgeMem: LLM-Free Agent Memory Construction and Retrieval via Evidence-Preserving Multi-Anchor Hypergraph
  3. 2026DeferMem: Query-Time Evidence Distillation via Reinforcement Learning for Long-Term Agent Memory
  4. 2025Look Back to Reason Forward: Revisitable Memory for Long-Context LLM Agents
  5. 2026ElasticMem: Latent Memory as a Learnable Resource for LLM Agents
  6. 2026Beyond Memory Construction: Rethinking Memory Access for LLM-based Conversational Agents
  7. 2026MemRetriever: Learning to Search, Reflect, and Retrieve from Long-Term Memory ↗
  8. 2026SimpleMem: Efficient Lifelong Memory for LLM Agents