ElasticMem: Latent Memory as a Learnable Resource for LLM Agents
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Long-term memory is essential for LLM agents to reason coherently across extended interactions, personalize responses, and reuse past experience. However, existing memory-augmented methods typically treat memory as a fixed resource: text-space approaches concatenate retrieved memories into the context window, causing substantial token overhead and sensitivity to noisy evidence, while latent-space approaches reduce textual cost but still rely on rigid retrieval or fixed-capacity memory interfaces. This creates a mismatch between query-dependent memory utility and fixed memory allocation. We propose ElasticMem, a memory-augmented LLM framework that learns to use memory as an elastic latent resource. ElasticMem builds an offline latent memory bank with retrieval keys and content caches, retrieves memories adaptively from the reasoner's hidden state, assigns each retrieved memory a variable latent budget through a learned policy, and injects selected latent states as soft memory tokens for generation. The full memory-use process is optimized with downstream task rewards through group-relative policy optimization. We evaluate ElasticMem on MemorySuite, covering memory-intensive QA and embodied agent control. Across Qwen2.5-3B-Instruct and Qwen2.5-7B-Instruct backbones, ElasticMem improves weighted-average QA accuracy by 26.2% and 24.6% and ALFWorld success rate by 66.3% and 27.2% relative to the strongest baselines, while consuming the fewest tokens on ALFWorld on average. Ablations and qualitative analyses further show that adaptive retrieval and elastic budget allocation help ElasticMem prioritize useful evidence and transferable plans beyond rigid cosine similarity.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 48 of its 55 references that are in the map. First posted on arXiv 29 May 2026.
Builds on
48 of 55 references.
Closest ancestors · 11
Same direction, newest first
- 2025PersonaMem-v2: Towards Personalized Intelligence via Learning Implicit User Personas and Agentic Memory7 Dec
- 2025Preference-Aware Memory Update for Long-Term LLM Agents10 Oct
- 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agents29 Sep
- 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learning27 Aug
- 2025Memp: Exploring Agent Procedural Memory8 Aug
- 2025Memory OS of AI Agent30 May
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
- 2024HiAgent: Hierarchical Working Memory Management for Solving Long-Horizon Agent Tasks with Large Language Model18 Aug
- 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 · 37
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2023Let's Verify Step by Stepcited by 3,598
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
- 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,276
25 more
- 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,143
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
- 2025Group Sequence Policy Optimizationcited by 788
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
- 2024Self-Play Fine-Tuning Converts Weak Language Models to Strong Language Modelscited by 552
- 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 539
- 2025The Entropy Mechanism of Reinforcement Learning for Reasoning Language Modelscited by 463
- 2024Training Language Models to Self-Correct via Reinforcement Learningcited by 405
- 2023Adapting Language Models to Compress Contextscited by 350
- 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 196
- 2023Synapse: Trajectory-as-Exemplar Prompting with Memory for Computer Controlcited by 180
- 2025LightMem: Lightweight and Efficient Memory-Augmented Generationcited by 163
- 2025On Memory Construction and Retrieval for Personalized Conversational Agentscited by 101
- 2024Agent-Pro: Learning to Evolve via Policy-Level Reflection and Optimizationcited by 93
- 2024DISCOVERYWORLD: A Virtual Environment for Developing and Evaluating Automated Scientific Discovery Agentscited by 89
- 2025Multi-Agent Evolve: LLM Self-Improve through Co-evolutioncited by 58
- 2025Beyond a Million Tokens: Benchmarking and Enhancing Long-Term Memory in LLMscited by 52
- 2025M+: Extending MemoryLLM with Scalable Long-Term Memorycited by 51
- 2025SePer: Measure Retrieval Utility Through The Lens Of Semantic Perplexity Reductioncited by 24
- 2024SmartRAG: Jointly Learn RAG-Related Tasks From the Environment Feedbackcited by 19
- 2025Adaptation of Agentic AI: A Survey of Post-Training, Memory, and Skillscited by 19
- 2024Similarity is Not All You Need: Endowing Retrieval Augmented Generation with Multi Layered Thoughtscited by 16
- 2025Training a Utility-based Retriever Through Shared Context Attribution for Retrieval-Augmented Language Modelscited by 13
- 2025Memory-T1: Reinforcement Learning for Temporal Reasoning in Multi-session Agentscited by 11
- 2026Evoking User Memory: Personalizing LLM via Recollection-Familiarity Adaptive Retrievalcited by 8
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Latent On-Policy Self-Distillationcited by 6
- 2026CoEvo-Mem: Co-Evolving Retrieval Policy and Memory Bank for LLM Agentscited by 3
- 2026Rosetta Memory: Adaptive Memory for Cross-LLM Agentscited by 0
- 2026MemFold: Learning Compact Soft Memory for Long-Context Personalization via On-Policy Optimizationcited by 0
- 2026MemFold: Learning Compact Soft Memory for Long-Context Personalization via On-Policy Optimization29 Sep 2026
- 2026Latent On-Policy Self-Distillation13 Aug 2026
- 2026CoEvo-Mem: Co-Evolving Retrieval Policy and Memory Bank for LLM Agents3 Aug 2026
- 2026Rosetta Memory: Adaptive Memory for Cross-LLM Agents5 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026MemoryCPT: An End-to-End Agent Memory Framework for Cost-Performance Trade-off
- 2026Evaluating Memory Structure in LLM Agents
- 2026MemGym: a Long-Horizon Memory Environment for LLM Agents
- 2026Memory is Reconstructed, Not Retrieved: Graph Memory for LLM Agents
- 2026LazyMem: Retrieve Broadly, Construct Selectively for Efficient Long-Term Agent Memory
- 2026NextMem: Towards Latent Factual Memory for LLM-based Agents
- 2026ActMem: Bridging the Gap Between Memory Retrieval and Reasoning in LLM Agents
- 2026LatentMem: Customizing Latent Memory for Multi-Agent Systems