Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2508.07602

帮助 | 高级搜索

计算机科学 > 人工智能

arXiv:2508.07602 (cs)
[提交于 2025年8月11日 ]

标题: HGMF:一种分层高斯混合框架,用于模型上下文协议内的可扩展工具调用

标题: HGMF: A Hierarchical Gaussian Mixture Framework for Scalable Tool Invocation within the Model Context Protocol

Authors:Wenpeng Xing, Zhipeng Chen, Changting Lin, Meng Han
摘要: 调用外部工具使大型语言模型(LLMs)能够执行复杂的真实任务,但从大型分层结构的库中选择正确的工具仍然是一个重大挑战。 LLMs 有限的上下文窗口和无关选项的噪声常常导致选择准确性低和计算成本高。 为了解决这个问题,我们提出了分层高斯混合框架(HGMF),这是一种用于可扩展工具调用的概率剪枝方法。 HGMF 首先将用户查询和所有工具描述映射到一个统一的语义空间。 该框架然后分为两个阶段:它使用高斯混合模型(GMM)对服务器进行聚类,并根据查询的可能性进行过滤。 随后,它对所选服务器相关的工具应用相同的基于 GMM 的聚类和过滤。 这一分层过程生成一个紧凑且高相关性的候选集,简化了 LLM 的最终选择任务。 在公共数据集上的实验表明,HGMF 显著提高了工具选择的准确性,同时减少了推理延迟,证实了该框架在大规模工具库中的可扩展性和有效性。
摘要: Invoking external tools enables Large Language Models (LLMs) to perform complex, real-world tasks, yet selecting the correct tool from large, hierarchically-structured libraries remains a significant challenge. The limited context windows of LLMs and noise from irrelevant options often lead to low selection accuracy and high computational costs. To address this, we propose the Hierarchical Gaussian Mixture Framework (HGMF), a probabilistic pruning method for scalable tool invocation. HGMF first maps the user query and all tool descriptions into a unified semantic space. The framework then operates in two stages: it clusters servers using a Gaussian Mixture Model (GMM) and filters them based on the query's likelihood. Subsequently, it applies the same GMM-based clustering and filtering to the tools associated with the selected servers. This hierarchical process produces a compact, high-relevance candidate set, simplifying the final selection task for the LLM. Experiments on a public dataset show that HGMF significantly improves tool selection accuracy while reducing inference latency, confirming the framework's scalability and effectiveness for large-scale tool libraries.
主题: 人工智能 (cs.AI)
引用方式: arXiv:2508.07602 [cs.AI]
  (或者 arXiv:2508.07602v1 [cs.AI] 对于此版本)
  https://doi.org/10.48550/arXiv.2508.07602
通过 DataCite 发表的 arXiv DOI(待注册)

提交历史

来自: Wenpeng Xing [查看电子邮件]
[v1] 星期一, 2025 年 8 月 11 日 04:13:06 UTC (100 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • HTML(实验性)
  • TeX 源代码
  • 其他格式
查看许可
当前浏览上下文:
cs.AI
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-08
切换浏览方式为:
cs

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号