SAMULE: Self-Learning Agents Enhanced by Multi-level Reflection

Yubin Ge, Salvatore Romeo, Jason Cai, Monica Sunkara, Yi Zhang
9/24/2025
cs.AI

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Despite the rapid advancements in LLM agents, they still face the challenge of generating meaningful reflections due to inadequate error analysis and a reliance on rare successful trajectories, especially in complex tasks. In this work, we propose SAMULE, a new framework for self-learning agents powered by a retrospective language model that is trained based on Multi-Level Reflection Synthesis. It first synthesizes high-quality reflections across three complementary levels: Single-Trajectory Learning (micro-level) for detailed error correction; Intra-Task Learning (meso-level) to build error taxonomies across multiple trials of the same task, and Inter-Task Learning (macro-level) to extract transferable insights based on same typed errors from diverse task failures. Then we fine-tune a language model serving as the retrospective model to generate reflections during inference. We further extend our framework to interactive settings through a foresight-based reflection mechanism, enabling agents to proactively reflect and adapt during user interactions by comparing predicted and actual responses. Extensive experiments on three challenging benchmarks - TravelPlanner, NATURAL PLAN, and Tau-bench - demonstrate that our approach significantly outperforms reflection-based baselines. Our results highlight the critical role of well-designed reflection synthesis and failure-centric learning in building self-improving LLM agents.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ge2025samule,
  title  = {SAMULE: Self-Learning Agents Enhanced by Multi-level Reflection},
  author = {Yubin Ge and Salvatore Romeo and Jason Cai and Monica Sunkara and Yi Zhang},
  year   = {2025},
  eprint = {2509.20562},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.20562v1}
}

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

Discussion