学习体验知识
Learning to Learn Experiential Knowledge
AI总结:
提出NoteTaker方法训练笔记本模型,通过两阶段学习优化记忆更新策略,在多任务流上提升了任务成功率,且增益可迁移至多场景。
摘要:
语言模型在通过经验学习提升一系列任务的性能方面仍存在局限。我们研究体验知识积累:将早期任务轨迹转化为可复用的自由形式文本知识,以提升后续任务的性能。尽管记忆利用机制与工作流有效,但仅靠它们还不够:模型常无法抽象出可复用的关键规则或流程,反而记录无法泛化到未来任务的任务特定细节。因此,我们提出从后续任务的结果中学习记忆更新策略,采用极简机制让模型自由决定保留内容。我们的方法NoteTaker训练一个笔记本模型,在每个任务后重写持久化笔记本,分两阶段:首先在教师生成的笔记本更新上进行SFT,随后在短任务流上进行RL,其中每个更新仅从它能影响的后续任务的奖励中获得信用。在来自AppWorld、ALFWorld和MiniGrid的40任务流上,使用Qwen3.5-9B解决任务时,我们训练的9B笔记本模型将平均保留任务成功率从33.6%提升至53.8%,优于结合未训练模型的现有记忆利用机制,以及几个大得多的笔记本模型。这些增益还可迁移到保留的工具与环境、其他任务模型的轨迹、比训练中更长的任务流,以及多数情况下的其他基准。我们的分析表明,我们的因果累积奖励比现有工作中使用的轨迹结果奖励和下一个任务奖励学习更高效,因为知识往往在数个任务后才显现价值。
英文摘要:
Language models remain limited at improving across a stream of tasks by learning from experience. We study experiential knowledge accumulation: converting earlier task trajectories into reusable knowledge in free-form text that improves performance on later tasks. Although memory harnesses and workflows are effective, they are insufficient alone: models often fail to abstract rules or procedures that are salient for reuse, and instead record task-specific details that do not generalize to future tasks. We therefore propose to learn the memory update policy from outcomes on later tasks, using a minimal harness that leaves the model free to decide what to retain. Our method, NoteTaker, trains a notebook model that rewrites a persistent notebook after each task, in two stages: SFT on teacher-generated notebook updates, followed by RL on short task streams, where each update receives credit only from the rewards of subsequent tasks it can influence. On 40-task streams from AppWorld, ALFWorld, and MiniGrid, with Qwen3.5-9B solving the tasks, our trained 9B notebook model raises average held-out success from 33.6 to 53.8, outperforming prior memory harnesses paired with the untrained model, as well as several much larger notebook models. These gains also transfer to held-out tools and environments, to trajectories from other task models, to streams longer than those seen in training, and to other benchmarks in most cases. Our analysis shows that our causal accumulated reward learns more efficiently than the trajectory-outcome and next-task rewards used in prior work, since knowledge often pays off several tasks later.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。