An LLM-Tool Compiler for Fused Parallel Function Calling
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
Other references · 22
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
- 2022A Survey on In-context Learningcited by 717
- 2023MM-REACT: Prompting ChatGPT for Multimodal Reasoning and Actioncited by 511
- 2024TOFU: A Task of Fictitious Unlearning for LLMscited by 507
- 2023Adapting Language Models to Compress Contextscited by 350
- 2023ToolQA: A Dataset for LLM Question Answering with External Toolscited by 273
- 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentationcited by 253
10 more
- 2023Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generationcited by 103
- 2023Extending Context Window of Large Language Models via Semantic Compressioncited by 45
- 2024GeoLLM-Engine: A Realistic Environment for Building Geospatial Copilotscited by 27
- 2024APAR: LLMs Can Do Auto-Parallel Auto-Regressive Decodingcited by 23
- 2023Efficient Prompting via Dynamic In-Context Learningcited by 18
- 2024Evaluating Tool-Augmented Agents in Remote Sensing Platformscited by 17
- 2023OmniBoost: Boosting Throughput of Heterogeneous Embedded Devices under Multi-DNN Workloadcited by 12
- 2024GeckOpt: LLM System Efficiency via Intent-Based Tool Selectioncited by 12
- 2018Hardware-Aware Machine Learning: Modeling and Optimizationcited by 11
- 2023Hardware-Aware DNN Compression via Diverse Pruning and Mixed-Precision Quantizationcited by 9
Built on by
Citing papers per year: 2024: 3; 2025: 8; 2026: 3.
14 papers.
Sort:
By area:
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 49
- 2025LLM-based Agentic Reasoning Frameworks: A Survey from Methods to Scenarioscited by 25
- 2024Asynchronous LLM Function Callingcited by 18
- 2025Optimizing Agentic Language Model Inference via Speculative Tool Callscited by 11
- 2026Toward Efficient Agents: Memory, Tool learning, and Planningcited by 11
- 2025Efficient Prompt Compression with Evaluator Heads for Long-Context Transformer Inferencecited by 10
- 2025SynWorld: Virtual Scenario Synthesis for Agentic Action Knowledge Refinementcited by 9
- 2024LLM-dCache: Improving Tool-Augmented LLMs with GPT-Driven Localized Data Cachingcited by 7
- 2025FunReason: Enhancing Large Language Models' Function Calling via Self-Refinement Multiscale Loss and Automated Data Refinementcited by 5
- 2026Optimizing Agentic Workflows using Meta-toolscited by 4
- 2026Agent-X: Full Pipeline Acceleration of On-device AI Agentscited by 4
- 2025PARALLELPROMPT: Extracting Parallelism from Large Language Model Queriescited by 3
- 2026Agent-X: Full Pipeline Acceleration of On-device AI Agents11 May 2026
- 2026Optimizing Agentic Workflows using Meta-tools29 Jan 2026
- 2026Toward Efficient Agents: Memory, Tool learning, and Planning20 Jan 2026
- 2025Optimizing Agentic Language Model Inference via Speculative Tool Calls17 Dec 2025
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directions23 Sep 2025
- 2025LLM-based Agentic Reasoning Frameworks: A Survey from Methods to Scenarios25 Aug 2025
- 2025Mind the Gap: Time-of-Check to Time-of-Use Vulnerabilities in LLM-Enabled Agents23 Aug 2025
- 2025PARALLELPROMPT: Extracting Parallelism from Large Language Model Queries23 Jun 2025
- 2025FunReason: Enhancing Large Language Models' Function Calling via Self-Refinement Multiscale Loss and Automated Data Refinement26 May 2025
- 2025SynWorld: Virtual Scenario Synthesis for Agentic Action Knowledge Refinement4 Apr 2025
- 2025Efficient Prompt Compression with Evaluator Heads for Long-Context Transformer Inference22 Jan 2025
- 2024Asynchronous LLM Function Calling9 Dec 2024
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 49
- 2025Optimizing Agentic Language Model Inference via Speculative Tool Callscited by 11
- 2026Toward Efficient Agents: Memory, Tool learning, and Planningcited by 11
- 2025SynWorld: Virtual Scenario Synthesis for Agentic Action Knowledge Refinementcited by 9
- 2024LLM-dCache: Improving Tool-Augmented LLMs with GPT-Driven Localized Data Cachingcited by 7
- 2026Optimizing Agentic Workflows using Meta-toolscited by 4
- 2026Agent-X: Full Pipeline Acceleration of On-device AI Agentscited by 4
- 2024Less is More: Optimizing Function Calling for LLM Execution on Edge Devicescited by 1
- 2025Mind the Gap: Time-of-Check to Time-of-Use Vulnerabilities in LLM-Enabled Agentscited by 0
- 2026Agent-X: Full Pipeline Acceleration of On-device AI Agents11 May 2026
- 2026Optimizing Agentic Workflows using Meta-tools29 Jan 2026
- 2026Toward Efficient Agents: Memory, Tool learning, and Planning20 Jan 2026
- 2025Optimizing Agentic Language Model Inference via Speculative Tool Calls17 Dec 2025
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directions23 Sep 2025
- 2025Mind the Gap: Time-of-Check to Time-of-Use Vulnerabilities in LLM-Enabled Agents23 Aug 2025
- 2025SynWorld: Virtual Scenario Synthesis for Agentic Action Knowledge Refinement4 Apr 2025
- 2024Less is More: Optimizing Function Calling for LLM Execution on Edge Devices23 Nov 2024
- 2024LLM-dCache: Improving Tool-Augmented LLMs with GPT-Driven Localized Data Caching10 Jun 2024
- 2024Asynchronous LLM Function Callingcited by 18
- 2024Asynchronous LLM Function Calling9 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2025Unified Tool Integration for LLMs: A Protocol-Agnostic Approach to Function Calling
- 2023CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets
- 2026OoO-Spec: Out-of-Order Semantic Speculation for Fast Tool Calling
- 2026Concurrency without Model Changes: Future-based Asynchronous Function Calling for LLMs
- 2025REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Serving
- 2026SchemaFill: Efficient LLM Tool Calling via Slot-Parallel Speculative Decoding
- 2026Harness Engineering in LLM Tool Use via Agent-Native Reusable Tool Primitives
- 2025Hogwild! Inference: Parallel LLM Generation via Concurrent Attention