MemRL: Self-Evolving Agents via Runtime Reinforcement Learning on Episodic Memory

Shengtao Zhang, Jiaqian Wang, Ruiwen Zhou, Junwei Liao, Yuchen Feng +9 more
1/6/2026
cs.CL

Official code: MemTensor/MemRL (148 stars, MIT, last commit 2026-04-09). 1 more implementation below.

Abstract

The hallmark of human intelligence is the self-evolving ability to master new skills by learning from past experiences. However, current AI agents struggle to emulate this self-evolution: fine-tuning is computationally expensive and prone to catastrophic forgetting, while existing memory-based methods rely on passive semantic matching that often retrieves noise. To address these challenges, we propose MemRL, a non-parametric approach that evolves via reinforcement learning on episodic memory. By decoupling stable reasoning from plastic memory, MemRL employs a Two-Phase Retrieval mechanism to filter noise and identify high-utility strategies through environmental feedback. Extensive experiments on HLE, BigCodeBench, ALFWorld, and Lifelong Agent Bench demonstrate that MemRL significantly outperforms state-of-the-art baselines, confirming that MemRL effectively reconciles the stability-plasticity dilemma, enabling continuous runtime improvement without weight updates. Code is available at https://github.com/MemTensor/MemRL.

View on arXivView PDF

Code Implementations(2)

MemTensor/MemRLOfficial100%
MIT

Paper: “MEMRL: SELF-EVOLVING AGENTS VIA RUNTIME REINFORCEMENT LEARNING ON EPISODIC MEMORY” Open-Source Code

14814PythonJan 12, 20266 months agoMIT
anvanster/temperaCommunity72%
RustApache-2.0

MemRL: MCP Server for Self-Evolving Agents via Reinforcement Learning on Episodic Memory

64Rust, ShellJan 28, 20266 months agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2026memrl,
  title  = {MemRL: Self-Evolving Agents via Runtime Reinforcement Learning on Episodic Memory},
  author = {Shengtao Zhang and Jiaqian Wang and Ruiwen Zhou and Junwei Liao and Yuchen Feng and Zhuo Li and Yujie Zheng and Weinan Zhang and Ying Wen and Zhiyu Li and Feiyu Xiong and Yutao Qi and Bo Tang and Muning Wen},
  year   = {2026},
  eprint = {2601.03192},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.03192v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.03192.svg)](https://codeofpaper.com/paper/2601.03192)

Discussion