cs.AIFeb 28, 2026

MemPO: Self-Memory Policy Optimization for Long-Horizon Agents

Authors: Ruoran Li, Xinghua Zhang, Haiyang Yu, Shitong Duan, Xiang Li, Wenxin Xiang, Chonghua Liao, Xudong Guo, 

Organizations: Tsinghua University · Tongyi Lab, Alibaba Group

Abstract

Long-horizon agents face the challenge of growing context size during interaction with environment, which degrades the performance and stability. Existing methods typically introduce the external memory module and look up the relevant information from the stored memory, which prevents the model itself from proactively managing its memory content and aligning with the agent's overarching task objectives. To address these limitations, we propose the self-memory policy optimization algorithm (MemPO), which enables the agent (policy model) to autonomously summarize and manage their memory during interaction with environment. By improving the credit assignment mechanism based on memory effectiveness, the policy model can selectively retain crucial information, significantly reducing token consumption while preserving task performance. Extensive experiments and analyses confirm that MemPO achieves absolute F1 score gains of 25.98 over the base model and 7.1 over the previous SOTA baseline, while reducing token usage by 67.58% and 73.12%. The code is released at https://github.com/TheNewBeeKing/MemPO.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. SelfMem: Self-Optimizing Memory for AI Agents

    Jul 4, 2026Shu Yang, Junchao Wu, Derek F. Wong +1LLM Agent MemoryLong-Term Conversational Memory

  2. MemOPD: On-Policy Distillation through Memory State Alignment for Long-Horizon Agents

    Aug 7, 2026Zhiyuan Liu, Tinghong Ye, Chenghao Liu +2On-Policy DistillationMemory-Augmented Agents

  3. HiMPO: Hindsight-Informed Memory Policy Optimization for Less-Entangled Credit in Long-Horizon Agents

    Jun 15, 2026Jiangze Yan, Yi Shen, Wenjing Zhang +6Credit Assignment in RLLong-Horizon Agent Tasks