AutoRefine: 从轨迹到可重用的专业知识为连续LLM代理优化
AutoRefine: Compiling Trajectories into Validated Typed Agent Artifacts
AI总结:
AutoRefine通过提取和维护双重形式的经验模式,提升连续LLM代理的知识积累与维护效率,实现98.4%的准确率提升。
摘要:
大型语言模型代理往往无法从经验中积累知识,将每个任务视为独立挑战。最近的方法将经验提取为扁平的文本知识,无法捕捉复杂子任务的程序逻辑。它们也缺乏维护机制,导致经验积累时仓库退化。我们介绍了AutoRefine,一个框架,从代理执行历史中提取和维护双重形式的经验模式。对于程序性子任务,我们提取具有独立推理和记忆的专用子代理。对于静态知识,我们提取技能模式作为指南或代码片段。一个连续的维护机制对模式进行评分、修剪和合并,以防止仓库退化。在ALFWorld、ScienceWorld和TravelPlanner上评估,AutoRefine分别达到98.4%、70.4%和27.1%,分别减少20-73%的步骤。在TravelPlanner上,自动提取优于手动设计的系统(27.1% vs 12.1%),证明了其捕捉程序协调能力。
英文摘要:
Large language model agents repeatedly encounter related tasks, yet systems that learn from trajectories commit every lesson to one predefined artifact form. A local constraint, a reusable procedure, and a delegated objective require different amounts of runtime ownership, so one form either under-specifies the correction or wraps it in execution machinery it does not need. We present AutoRefine, which treats trajectory learning as typed artifact compilation. It contrasts failed against successful trajectories to derive a type-neutral, evidence-linked intervention specification, then compiles that specification into the first Rule, Skill, or bounded Subagent that closes it under a runtime-relative ownership order: the selected schema must own every specified observation, state variable, dependent decision, and completion condition. Validation is stated in the same terms: a type-specific contract gate tests whether the generated object realizes its declared boundary, and a replay gate admits it only when it improves the correction cases linked to its source failures without regression on preservation cases. With GPT-5.6-terra as the shared backbone, AutoRefine records the highest success on ALFWorld, ScienceWorld, TravelPlanner, and SpreadsheetBench, and ties the best result on SkillCraft; on TravelPlanner it reaches 80.56% success against 50.0% for the strongest baseline. Removing boundary closure or replay validation costs 15.00 and 16.11 percentage points, the two largest losses among our construction and admission policies. In a longitudinal TravelPlanner stream, the repository holds 89--91% held-out success after 60 learning tasks with no net loss on previously solved tasks, and frozen repositories improve all 25 evaluated source--target pairs, more within a domain (14.20 points on average) than across domains (6.99).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。