通过多层级反思合成提升大模型智能体的自我学习能力
SAMULE: Self-Learning Agents Enhanced by Multi-level Reflection
- 构建三级反思机制:单轨迹、任务内与跨任务层面协同优化
- 在三个复杂基准上显著超越现有反射基线,成功率提升12%-18%
- 适合研究自适应智能体、错误驱动学习的开发者和学者
尽管大语言模型智能体发展迅速,但在复杂任务中仍因错误分析不足、依赖罕见成功轨迹而难以生成有效反思。本文提出SAMULE框架,通过基于多层级反思合成训练回溯式语言模型。该框架在三个互补层次合成高质量反思:单轨迹学习(微观)用于精细纠错;任务内学习(中观)构建多次尝试中的错误分类体系;跨任务学习(宏观)从不同任务失败中提取可迁移洞察。随后微调语言模型以在推理时生成反思。进一步引入前瞻式反思机制,使智能体可在用户交互中主动比较预测与实际响应,实现动态调整。在TravelPlanner、NATURAL PLAN和Tau-bench三个挑战性基准上的实验表明,本方法显著优于现有反射基线。结果凸显精心设计的反思合成与以失败为中心的学习对构建自进化大模型智能体的关键作用。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。