MCPDisCo:面向MCP原生智能体的缓解跷跷板效应的调优方法
MCPDisCo: Seesaw-Mitigated Tuning for MCP-Native Agents
AI总结:
针对MCP原生智能体的联合学习失败模式,提出结合令牌掩码奖励归因与双向梯度手术的MCPDisCo框架,在基准测试中实现更高成功率且具备良好泛化性。
摘要:
模型上下文协议(Model Context Protocol,MCP)为智能体网络提供了共享交互基础,允许异构服务通过标准化接口暴露能力。学习使用该生态系统需要掌握一系列能力:工具格式技能、服务器级迁移以及跨服务器组合。我们提出MCPDisCo,这是一种面向MCP原生智能体的生态系统规模强化学习框架。该框架采用思想马尔可夫决策过程(Thought-MDP),在路由、执行和终止过程中明确表示内部推理,并在覆盖6个领域的70个MCP服务器和527个工具的真实服务器长周期交互上进行训练。我们研究了推理-工具跷跷板问题,这是一种联合学习失败模式,即一个目标的改进会伴随另一个目标的恶化。为缓解潜在干扰,MCPDisCo结合了令牌掩码奖励归因与双向梯度手术:前者分离推理和动作跨度的直接监督,后者从共享参数的两个目标梯度中移除冲突组件。MCPDisCo在更少的思维链令牌下实现了更高的成功率。在分布外的MCP-Atlas和GAIA基准测试中,MCPDisCo保持了单调增益,证实所学行为可泛化到训练服务器分布之外及更广泛的智能体任务。模型权重和实现代码已公开。
英文摘要:
The Model Context Protocol provides a shared interaction substrate for the agentic web, allowing heterogeneous services to expose capabilities through a standardized interface. Learning to use this ecosystem entails a hierarchy of capabilities: tool-format skills, server-level transfer, and cross-server composition. We present MCPDisCo, an ecosystem-scale reinforcement learning framework for MCP-native agents. Using a Thought-Markov Decision Process (Thought-MDP), the framework explicitly represents internal reasoning alongside routing, execution, and termination and trains on real-server, long-horizon interactions spanning 70 MCP servers and 527 tools across six domains. We study the reasoning--tool seesaw, a joint-learning failure mode in which improvement in one objective can accompany deterioration in the other. To mitigate potential interference, MCPDisCo combines token-masked reward attribution with bidirectional gradient surgery: the former separates direct supervision for reasoning and action spans, while the latter removes conflicting components from both objective gradients in shared parameters. MCPDisCo achieves higher success with fewer chain-of-thought tokens. On the out-of-distribution MCP-Atlas and the GAIA benchmark, MCPDisCo maintains monotone gains, confirming that the learned behavior generalizes beyond the training server distribution and broader agentic tasks. Model weight and implementation are available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。