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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ge, Yubin, Romeo, Salvatore, Cai, Jason, Sunkara, Monica, Zhang, Yi
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912603666644992
author Ge, Yubin
Romeo, Salvatore
Cai, Jason
Sunkara, Monica
Zhang, Yi
author_facet Ge, Yubin
Romeo, Salvatore
Cai, Jason
Sunkara, Monica
Zhang, Yi
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2509_20562
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SAMULE: Self-Learning Agents Enhanced by Multi-level Reflection
Ge, Yubin
Romeo, Salvatore
Cai, Jason
Sunkara, Monica
Zhang, Yi
Artificial Intelligence
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.
title SAMULE: Self-Learning Agents Enhanced by Multi-level Reflection
topic Artificial Intelligence
url https://arxiv.org/abs/2509.20562