paper-with-me

홈 › Papers

Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learning

2025-08-27 · Sikuan Yan, Xiufeng Yang, Zuchao Huang, Ercong Nie, Zifeng Ding, Zonggen Li, Xiaowen Ma, Jinhe Bi, Kristian Kersting, Jeff Z. Pan, Hinrich Schütze, Volker Tresp, Yunpu Ma arxiv

Large Language Models (LLMs) have demonstrated impressive capabilities across a wide range of NLP tasks, but they remain fundamentally stateless, constrained by limited context windows that hinder long-horizon reasoning. Recent efforts to address this limitation often augment LLMs with an external memory bank, yet most existing pipelines are static and heuristic-driven, lacking a learned mechanism for deciding what to store, update, or retrieve. We present Memory-R1, a reinforcement learning (RL) framework that equips LLMs with the ability to actively manage and utilize external memory through two specialized agents: a Memory Manager that learns structured operations, including ADD, UPDATE, DELETE, and NOOP; and an Answer Agent that pre-selects and reasons over relevant entries. Both agents are fine-tuned with outcome-driven RL (PPO and GRPO), enabling adaptive memory management with minimal supervision. With only 152 training QA pairs, Memory-R1 outperforms strong baselines and generalizes across diverse question types, three benchmarks (LoCoMo, MSC, LongMemEval), and multiple model scales (3B-14B).

📄 PDF Abstract BibTeX arXiv:2508.19828

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement Learning

Similar Papers 제목 키워드 기반

Integrating Temporal Representations for Dynamic Memory Retrieval and Management in Large Language Models

2024-10-17 · Yuki Hou, Haruki Tamoto, Homei Miyashita

Conventional dialogue agents often struggle with effective memory recall, leading to redundant retrieval and inadequate management of unique user associations. To address this, we propose SynapticRAG, a novel approach in…

ManagementRAGRetrievalRetrieval-augmented Generation

UMEM: Unified Memory Extraction and Management Framework for Generalizable Memory

2026-02-11 · Yongshi Ye, Hui Jiang, Feihu Jiang, Tian Lan 외 arxiv

Self-evolving memory serves as the trainable parameters for Large Language Models (LLMs)-based agents, where extraction (distilling insights from experience) and management (updating the memory bank) must be tightly coor…

AgentSafe: Safeguarding Large Language Model-based Multi-agent Systems via Hierarchical Data Management

2025-03-06 · Junyuan Mao, Fanci Meng, Yifan Duan, Miao Yu 외

Large Language Model based multi-agent systems are revolutionizing autonomous communication and collaboration, yet they remain vulnerable to security threats like unauthorized access and data breaches. To address this, w…

Language ModelingLanguage ModellingLarge Language ModelManagement

SCOPE: Prompt Evolution for Enhancing Agent Effectiveness

2025-12-17 · Zehua Pei, Hui-Ling Zhen, Shixiong Kai, Sinno Jialin Pan 외 arxiv

Large Language Model (LLM) agents are increasingly deployed in environments that generate massive, dynamic contexts. However, a critical bottleneck remains: while agents have access to this context, their static prompts …

Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model Agents

2026-01-05 · Yi Yu, Liuyi Yao, Yuexiang Xie, Qingquan Tan 외 arxiv

Large language model (LLM) agents face fundamental limitations in long-horizon reasoning due to finite context windows, making effective memory management critical. Existing methods typically handle long-term memory (LTM…

Reinforcement Learning