mlsanityData to 7 Oct 2026

An LLM-Tool Compiler for Fused Parallel Function Calling

arXiv 2405.17438 ↗First posted 7 May 2024cs.PL cs.AI cs.LGcited by 14

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

State-of-the-art sequential reasoning in Large Language Models (LLMs) has expanded the capabilities of Copilots beyond conversational tasks to complex function calling, managing thousands of API calls. However, the tendency of compositional prompting to segment tasks into multiple steps, each requiring a round-trip to the GPT APIs, leads to increased system latency and costs. Although recent advancements in parallel function calling have improved tool execution per API call, they may necessitate more detailed in-context instructions and task breakdown at the prompt level, resulting in higher engineering and production costs. Inspired by the hardware design principles of multiply-add (MAD) operations, which fuse multiple arithmetic operations into a single task from the compiler's perspective, we propose LLM-Tool Compiler, which selectively fuses similar types of tool operations under a single function at runtime, presenting them as a unified task to the LLM. This selective fusion inherently enhances parallelization and efficiency. Benchmarked on a large-scale Copilot platform, LLM-Tool Compiler achieves up to four times more parallel calls than existing methods, reducing token costs and latency by up to 40% and 12%, respectively.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 23 of its 40 references that are in the map. First posted on arXiv 7 May 2024.

Builds on

23 of 40 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023An LLM Compiler for Parallel Function Calling7 Dec

Other references · 22

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  4. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
  5. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
  6. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
  7. 2022A Survey on In-context Learningcited by 717
  8. 2023MM-REACT: Prompting ChatGPT for Multimodal Reasoning and Actioncited by 511
  9. 2024TOFU: A Task of Fictitious Unlearning for LLMscited by 507
  10. 2023Adapting Language Models to Compress Contextscited by 350
  11. 2023ToolQA: A Dataset for LLM Question Answering with External Toolscited by 273
  12. 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentationcited by 253
10 more
  1. 2023Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generationcited by 103
  2. 2023Extending Context Window of Large Language Models via Semantic Compressioncited by 45
  3. 2024GeoLLM-Engine: A Realistic Environment for Building Geospatial Copilotscited by 27
  4. 2024APAR: LLMs Can Do Auto-Parallel Auto-Regressive Decodingcited by 23
  5. 2023Efficient Prompting via Dynamic In-Context Learningcited by 18
  6. 2024Evaluating Tool-Augmented Agents in Remote Sensing Platformscited by 17
  7. 2023OmniBoost: Boosting Throughput of Heterogeneous Embedded Devices under Multi-DNN Workloadcited by 12
  8. 2024GeckOpt: LLM System Efficiency via Intent-Based Tool Selectioncited by 12
  9. 2018Hardware-Aware Machine Learning: Modeling and Optimizationcited by 11
  10. 2023Hardware-Aware DNN Compression via Diverse Pruning and Mixed-Precision Quantizationcited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 8; 2026: 3.

14 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025Unified Tool Integration for LLMs: A Protocol-Agnostic Approach to Function Calling
  2. 2023CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets
  3. 2026OoO-Spec: Out-of-Order Semantic Speculation for Fast Tool Calling
  4. 2026Concurrency without Model Changes: Future-based Asynchronous Function Calling for LLMs
  5. 2025REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Serving
  6. 2026SchemaFill: Efficient LLM Tool Calling via Slot-Parallel Speculative Decoding
  7. 2026Harness Engineering in LLM Tool Use via Agent-Native Reusable Tool Primitives
  8. 2025Hogwild! Inference: Parallel LLM Generation via Concurrent Attention