arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.11485cs.CL
收藏

错误笔记本学习:用于无训练代理适应的批量聚类失败

Mistake Notebook Learning: Batch-Clustered Failures for Training-Free Agent Adaptation

Bairong Inc.(柏龙公司);School of Mathematics, Harbin Institute of Technology(哈尔滨工业大学数学学院);School of Software, Jilin University(吉林大学软件学院)

Xuanbo Su, Yingfang Zhang, Hao Luo, Xiaoteng Liu, Leo Huang

AI总结:

MNL通过批量聚类失败提炼结构化错误笔记,提升代理适应性和鲁棒性,无需参数更新。

摘要:

随着大型语言模型(LLM)代理在持续的现实世界角色中越来越广泛的应用,它们自然会遇到连续的任务流和不可避免的故障。然而,一个关键的限制是它们无法系统地从这些错误中学习,迫使它们在相似的上下文中重复相同的错误。与以往无训练方法主要存储原始实例级经验或专注于检索成功轨迹不同,我们提出了错误笔记本学习(MNL),一种新的记忆框架,使代理能够从批量聚类失败中自我整理可推广的指导。这种机制允许代理将共享的错误模式提炼成结构化的

英文摘要:

With the growing adoption of Large Language Model (LLM) agents in persistent, real-world roles, they naturally encounter continuous streams of tasks and inevitable failures. A key limitation, however, is their inability to systematically learn from these mistakes, forcing them to repeat identical errors in similar contexts. Unlike prior training-free methods that primarily store raw instance-level experience or focus on retrieving successful trajectories, we propose Mistake Notebook Learning (MNL), a novel memory framework that enables agents to self-curate generalizable guidance from batch-clustered failures. This mechanism allows agents to distill shared error patterns into structured "mistake notes," updating an external memory only when batch performance improves to ensure stability. To further amplify adaptability, we integrate MNL with test-time scaling, leveraging aggregated failure patterns to actively steer the search process away from known pitfalls. Experiments on mathematical reasoning, Text-to-SQL, and interactive agent benchmarks show that MNL achieves competitive performance compared to existing memory mechanisms and in-context methods in both effectiveness and efficiency. These findings position structured mistake abstraction as a critical lever for robust agent evolution, enabling continuous improvement without the cost of parameter updates. The code is available at https://github.com/Bairong-Xdynamics/MistakeNotebookLearning/tree/main.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑