无需训练,用结构化模块让小模型复现大模型的智能决策能力
AgentDistill: Training-Free Agent Distillation with Generalizable MCP Boxes
- 利用教师模型自动生成的MCP模块直接复用知识
- 小模型在生物医学和数学任务上接近大模型性能
- 适合构建低成本、可扩展的智能代理系统
尽管知识蒸馏在将大型语言模型压缩为小型模型方面已趋成熟,但基于大模型的智能体(涉及规划、记忆和工具使用)的知识蒸馏仍较少被研究。现有方法通常重放完整教师轨迹或逐步模仿工具使用,难以使学生智能体在新环境中动态规划与行动。我们提出AgentDistill,一种无需训练的智能体蒸馏框架,通过直接复用教师智能体自主生成的结构化、可复用的任务求解模块——模型-上下文-协议(MCP),实现高效可扩展的知识迁移。学生智能体通过复用这些已提炼的MCP模块,可在少监督或无干预情况下跨领域泛化并解决新问题。在生物医学与数学基准测试中,基于小型语言模型构建的学生智能体性能可媲美使用GPT-4o等大型模型的先进系统(如OctoTools),证明了该框架在构建可扩展、低成本智能体方面的有效性。
原文摘要 · Abstract (English)
While knowledge distillation has become a mature field for compressing large language models (LLMs) into smaller ones by aligning their outputs or internal representations, the distillation of LLM-based agents, which involve planning, memory, and tool use, remains relatively underexplored. Existing agent distillation methods typically replay full teacher trajectories or imitate step-by-step teacher tool usage, but they often struggle to train student agents to dynamically plan and act in novel environments. We propose AgentDistill, a novel, training-free agent distillation framework that enables efficient and scalable knowledge transfer via direct reuse of Model-Context-Protocols (MCPs), which are structured and reusable task-solving modules autonomously generated by teacher agents. The reuse of these distilled MCPs enables student agents to generalize their capabilities across domains and solve new problems with minimal supervision or human intervention. Experiments on biomedical and mathematical benchmarks demonstrate that our distilled student agents, built on small language models, can achieve performance comparable to advanced systems using large LLMs such as OctoTools (GPT-4o), highlighting the effectiveness of our framework in building scalable and cost-efficient intelligent agents.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。