cs.CLSep 14, 2026

LifeMem: Enabling Lifelong Experience Reuse for LLM Agents

Authors: Yuli QiuYutong LiWei SuZeming LiuWanxiang CheHeyan HuangHaifeng WangYuang Guo

Abstract

Large language model agents are expected to continuously adapt to new tasks and environments over their lifetime by reusing past experience. However, existing memory-based agents struggle to transfer reusable experience across environments and suffer from catastrophic forgetting as experience accumulated. To address these challenges, we propose LifeMem, a lifelong learning framework that enables agents to transfer knowledge across multiple environments. During learning, LifeMem clusters accumulated interaction trajectories based on underlying workflows to extract reusable skills. When solving a new task at inference time, the agent recalls relevant skills and trajectories to guide actions. To validate our method, we conduct experiments across 10 environments and over 13k tasks with 2k newly annotated interaction trajectories. Results show that LifeMem enables effective experience reuse in lifelong learning, achieving both reduced forgetting on learned tasks and superior cross-task transfer. Further analysis reveals that task streaming impacts learning, while consolidating structurally similar trajectories within memory boosts performance.

Explore similar work

CardsList
  1. AdMem: Advanced Memory for Task-solving Agents

    Jun 5, 2026Runzhe Wang, Huilin Lu, Shengjie Liu +2Agent MemoryLong-Term Memory