mlsanityData to 14 Oct 2026

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

arXiv 2508.07602 ↗First posted 11 Aug 2025cs.AIcited by 0

On the map: LLM agents and tool use → Tool learning and function calling

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 16 of its 27 references that are in the map. First posted on arXiv 11 Aug 2025.

Builds on

16 of 27 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025ScaleMCP: Dynamic and Auto-Synchronizing Model Context Protocol Tools for LLM Agents9 May
  2. 2024Can Tool-augmented Large Language Models be Aware of Incomplete Conditions?18 Jun
  3. 2023Gorilla: Large Language Model Connected with Massive APIs24 May
  4. 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb

Other references · 12

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  4. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  5. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  6. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
  7. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  8. 2025Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directionscited by 265
  9. 2024Advancing Tool-Augmented Large Language Models: Integrating Insights from Errors in Inference Treescited by 38
  10. 2025Towards Robust and Secure Embodied AI: A Survey on Vulnerabilities and Attackscited by 34
  11. 2025SRAF: Stealthy and Robust Adversarial Fingerprint for Copyright Verification of Large Language Modelscited by 8
  12. 2025Latent Fusion Jailbreak: Blending Harmful and Harmless Representations to Elicit Unsafe LLM Outputscited by 6

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Semantic Tool Discovery for Large Language Models: A Vector-Based Approach to MCP Tool Selection
  2. 2025Verification-Guided Context Optimization for Tool Calling via Hierarchical LLMs-as-Editors
  3. 2025Alignment for Efficient Tool Calling of Large Language Models
  4. 2026PORTS: Preference-Optimized Retrievers for Tool Selection with Large Language Models
  5. 2025RAG-MCP: Mitigating Prompt Bloat in LLM Tool Selection via Retrieval-Augmented Generation
  6. 2025Divide-Then-Aggregate: An Efficient Tool Learning Method via Parallel Tool Invocation
  7. 2025Enhancing Tool Learning in Large Language Models with Hierarchical Error Checklists
  8. 2024Data-Efficient Massive Tool Retrieval: A Reinforcement Learning Approach for Query-Tool Alignment with Language Models