paper-with-me

Papers

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

2025-08-15 · Zeyu Zhang, Quanyu Dai, Rui Li, Xiaohe Bo, Xu Chen, Zhenhua Dong 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 experts, leading to higher labor costs and suboptimal performance. In addition, these methods overlook the memory cycle effect in interactive scenarios, which is critical to optimizing LLM-based agents for specific environments. To address these challenges, in this paper, we propose to optimize LLM-based agents with an adaptive and data-driven memory framework by modeling memory cycles. Specifically, we design an MoE gate function to facilitate memory retrieval, propose a learnable aggregation process to improve memory utilization, and develop task-specific reflection to adapt memory storage. Our memory framework empowers LLM-based agents to learn how to memorize information effectively in specific environments, with both off-policy and on-policy optimization. In order to evaluate the effectiveness of our proposed methods, we conduct comprehensive experiments across multiple aspects. To benefit the research community in this area, we release our project at https://github.com/nuster1128/learn_to_memorize.

📄 PDF Abstract BibTeX arXiv:2508.16629

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Task-Focused Memorization for Multimodal Agents

2026-05-29 · Tao Zou, Yichen He, Tian Qiu, Yuan Lin 외 arxiv

Long-term memory is essential for multimodal agents to build coherent experience, accumulate world knowledge, and achieve continual learning. However, constructing effective memory goes beyond memory module design and ba…

Continual Learning

STAMP: Training Explicit Memory for Mobile GUI Agents in Controllable and Scalable Virtual Environments

2026-05-28 · Junyang Wang, Haiyang Xu, Xi Zhang, Zhaoqing Zhu 외 arxiv

Mobile GUI agents excel at immediate reactive control but frequently fail in realistic, long-horizon tasks that require memory. This failure stems from a fundamental conflict between limited context windows and token-hea…

Reinforcement Learning

The difference between memory and prediction in linear recurrent networks

2017-06-26 · Sarah Marzen

Recurrent networks are trained to memorize their input better, often in the hopes that such training will increase the ability of the network to predict. We show that networks designed to memorize input can be arbitraril…

Prediction

ATLAS: Learning to Optimally Memorize the Context at Test Time

2025-05-29 · Ali Behrouz, Zeman Li, Praneeth Kacham, Majid Daliri 외

Transformers have been established as the most popular backbones in sequence modeling, mainly due to their effectiveness in in-context retrieval tasks and the ability to learn at scale. Their quadratic memory and time co…

Common Sense ReasoningLanguage ModelingLanguage ModellingLong-Context Understanding

Augmenting Language Models with Long-Term Memory

2023-06-12 · NeurIPS 2023 11 · Weizhi Wang, Li Dong, Hao Cheng, Xiaodong Liu 외

Existing large language models (LLMs) can only afford fix-sized inputs due to the input length limit, preventing them from utilizing rich long-context information from past inputs. To address this, we propose a framework…

FormIn-Context LearningLanguage ModelingLanguage Modelling+1