LifelongAgentBench: Evaluating LLM Agents as Lifelong Learners
Junhao Zheng, Xidi Cai, Qiuke Li, Duzhen Zhang, ZhongZhi Li, Yingying Zhang, Le Song, Qianli Ma
TL;DR
LifelongAgentBench introduces a unified, memory-aware benchmark for evaluating how LLM agents acquire, retain, and transfer skills across interdependent tasks in Database, Operating System, and Knowledge Graph environments. It shows that while experience replay can improve performance, it is bounded by context length and memory constraints, and introduces group self-consistency as a scalable enhancement to replay. The framework emphasizes task dependency, automatic label verification, reproducibility, and modularity, enabling fair comparisons and extensible research on memory-enabled agents. The findings highlight both the potential of lifelong learning for LLM agents and the need for memory-efficient strategies and adaptive retrieval to scale beyond short-horizon tasks.
Abstract
Lifelong learning is essential for intelligent agents operating in dynamic environments. Current large language model (LLM)-based agents, however, remain stateless and unable to accumulate or transfer knowledge over time. Existing benchmarks treat agents as static systems and fail to evaluate lifelong learning capabilities. We present LifelongAgentBench, the first unified benchmark designed to systematically assess the lifelong learning ability of LLM agents. It provides skill-grounded, interdependent tasks across three interactive environments, Database, Operating System, and Knowledge Graph, with automatic label verification, reproducibility, and modular extensibility. Extensive experiments reveal that conventional experience replay has limited effectiveness for LLM agents due to irrelevant information and context length constraints. We further introduce a group self-consistency mechanism that significantly improves lifelong learning performance. We hope LifelongAgentBench will advance the development of adaptive, memory-capable LLM agents.
