AEL: Agent Evolving Learning for Open-Ended Environments

Wujiang Xu, Jiaojiao Han, Minghao Guo, Kai Mei, Xi Zhu +2 more
4/23/2026
cs.CLcs.AIcs.CE

Official code: WujiangXu/AEL (7 stars, MIT, last commit 2026-04-29).

Abstract

LLM agents increasingly operate in open-ended environments spanning hundreds of sequential episodes, yet they remain largely stateless: each task is solved from scratch without converting past experience into better future behavior. The central obstacle is not \emph{what} to remember but \emph{how to use} what has been remembered, including which retrieval policy to apply, how to interpret prior outcomes, and when the current strategy itself must change. We introduce \emph{Agent Evolving Learning} (\ael{}), a two-timescale framework that addresses this obstacle. At the fast timescale, a Thompson Sampling bandit learns which memory retrieval policy to apply at each episode; at the slow timescale, LLM-driven reflection diagnoses failure patterns and injects causal insights into the agent's decision prompt, giving it an interpretive frame for the evidence it retrieves. On a sequential portfolio benchmark (10 sector-diverse tickers, 208 episodes, 5 random seeds), \ael{} achieves a Sharpe ratio of 2.13$\pm$0.47, outperforming five published self-improving methods and all non-LLM baselines while maintaining the lowest variance among all LLM-based approaches. A nine-variant ablation reveals a ``less is more'' pattern: memory and reflection together produce a 58\% cumulative improvement over the stateless baseline, yet every additional mechanism we test (planner evolution, per-tool selection, cold-start initialization, skill extraction, and three credit assignment methods) \emph{degrades} performance. This demonstrates that the bottleneck in agent self-improvement is \emph{self-diagnosing how to use} experience rather than adding architectural complexity. Code and data: https://github.com/WujiangXu/AEL.

View on arXivView PDF

Code Implementations(1)

WujiangXu/AELOfficial100%
MIT
70Shell, PythonApr 1, 20265 months agoMIT

Similar Papers

Cite this paper

@article{xu2026ael,
  title  = {AEL: Agent Evolving Learning for Open-Ended Environments},
  author = {Wujiang Xu and Jiaojiao Han and Minghao Guo and Kai Mei and Xi Zhu and Han Zhang and Dimitris N. Metaxas},
  year   = {2026},
  eprint = {2604.21725},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.21725v1}
}

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/2604.21725.svg)](https://codeofpaper.com/paper/2604.21725)

Discussion