苏格拉底式技能学习:交错教学与实践以培养可迁移的智能体技能
研究论文 · 2026/10/22
Agent Skills 通过使任务知识跨会话可复用来改进 LLM 智能体。学习可迁移技能需要关于程序及其使用条件的证据,而一次成功的任务尝试可能未经验证。我们引入苏格拉底技能学习(SSL),将专家教学与学生实践交错进行。教育者引导探究,而学生始终是唯一的环境操作者和技能作者,能够质疑、测试和调整建议。为了测试学习任务之外的重用,我们构建了 SkillTransferBench,包含 35 个任务家族和 408 个可执行案例,将公开变体规范与全新求解器会话中的留出评估配对。在主要的 22 个家族、155 个案例的队列上,固定窗口 SSL 达到 0.801 的效用,而无技能时为 0.723,适配的 Trace2Skill(轨迹蒸馏)为 0.761,适配的 SKILL-KD(对比蒸馏)为 0.751。在共享家族上的三对模型中,交错指导优于专家编写和事后教学。过程分析将指导与学生写作和包修订联系起来;案例研究展示了学生测试和完善提议的程序以供后续重用。随着对新课程的需求下降,固定窗口审查的成本增加。问题引导 SSL 在技能修订中跟踪未解决的问题,以选择和聚焦审查,在主要队列上达到 0.805 的效用,同时比固定窗口 SSL 减少 61.7% 的教育者令牌和 16.9% 的总获取令牌。
该研究提出了一种新的技能学习方法,通过教学与实践交错提升智能体技能的可迁移性,并构建了专用基准进行验证,实验结果显示其优于现有方法,且能显著降低教学成本,对智能体技能学习领域有重要参考价值。
Agent Skills improve LLM agents by making task knowledge reusable across sessions. Learning transferable Skills requires evidence about a procedure and its conditions of use, which a successful task attempt can leave untested. We introduce Socratic Skill Learning (SSL), which interleaves expert teaching with Student practice. An Educator guides investigation while the Student remains the sole environment operator and Skill author, able to question, test, and adapt advice. To test reuse beyond the learning task, we construct SkillTransferBench, with 35 task families and 408 executable cases, pairing public variation specifications with held-out evaluation in fresh solver sessions. On the main 22-family, 155-case cohort, Fixed-Window SSL reaches 0.801 utility, versus 0.723 without a Skill, 0.761 for adapted Trace2Skill (trajectory distillation), and 0.751 for adapted SKILL-KD (contrastive distillation). Across three model pairs on shared families, interleaved guidance outperforms expert authoring and post-hoc teaching. Process analysis links guidance to Student writing and package revision; a case study shows the Student testing and refining a proposed procedure for later reuse. As demand for new lessons falls, the cost of fixed-window review grows. Issue-Guided SSL tracks unresolved questions across Skill revisions to select and focus review, reaching 0.805 utility with 61.7% fewer Educator tokens and 16.9% fewer total acquisition tokens than Fixed-Window SSL on the main cohort.