paper-with-me

홈 › Papers

ElasticMem: Latent Memory as a Learnable Resource for LLM Agents

2026-05-29 · Tao Feng, Chongrui Ye, Tianyang Luo, Jingjun Xu, Xueqiang Xu, Haozhen Zhang, Ge Liu, Jiaxuan You 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 improves ALFWorld success rate by 66.3% and 27.2%, respectively, over the strongest baselines, while achieving the lowest ALFWorld token cost. 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. Our code for ElasticMem will be released at https://github.com/ulab-uiuc/ElasticMem.

📄 PDF Abstract BibTeX arXiv:2605.30690

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Resource-Efficient Separation Transformer

2022-06-19 · Luca Della Libera, Cem Subakan, Mirco Ravanelli, Samuele Cornell 외

Transformers have recently achieved state-of-the-art performance in speech separation. These models, however, are computationally demanding and require a lot of learnable parameters. This paper explores Transformer-based…

Speech Separation

Learn to Memorize: Optimizing LLM-based Agents with Adaptive Memory Framework

2025-08-15 · Zeyu Zhang, Quanyu Dai, Rui Li, Xiaohe Bo 외 arxiv

LLM-based agents have been extensively applied across various domains, where memory stands out as one of their most essential capabilities. Previous memory mechanisms of LLM-based agents are manually predefined by human …

Mem-W: Latent Memory-Native GUI Agents

2026-05-10 · Guibin Zhang, Yaohui Ling, Fanci Meng, Kun Wang 외 arxiv

GUI agents are beginning to operate the web, mobile, and desktop as interactive worlds, where successful control depends on carrying forward visual, procedural, and task-level evidence beyond the fleeting present screen.…

LatentMem: Customizing Latent Memory for Multi-Agent Systems

2026-02-03 · Muxin Fu, Xiangyuan Xue, Yafu Li, Zefeng He 외 arxiv

Large language model (LLM)-powered multi-agent systems (MAS) demonstrate remarkable collective intelligence, wherein multi-agent memory serves as a pivotal mechanism for continual adaptation. However, existing multi-agen…

E-MD3C: Taming Masked Diffusion Transformers for Efficient Zero-Shot Object Customization

2025-02-13 · Trung X. Pham, Zhang Kang, Ji Woo Hong, Xuran Zheng 외

We propose E-MD3C ($\underline{E}$fficient $\underline{M}$asked $\underline{D}$iffusion Transformer with Disentangled $\underline{C}$onditions and $\underline{C}$ompact $\underline{C}$ollector), a highly efficient framew…

Computational EfficiencyDenoisingGPUSSIM