paper-with-me

Papers

Asynchronous LLM Function Calling

2024-12-09 · In Gim, Seung-seob Lee, Lin Zhong

Large language models (LLMs) use function calls to interface with external tools and data source. However, the current approach to LLM function calling is inherently synchronous, where each call blocks LLM inference, limiting LLM operation and concurrent function execution. In this work, we propose AsyncLM, a system for asynchronous LLM function calling. AsyncLM improves LLM's operational efficiency by enabling LLMs to generate and execute function calls concurrently. Instead of waiting for each call's completion, AsyncLM introduces an interrupt mechanism to asynchronously notify the LLM in-flight when function calls return. We design an in-context protocol for function calls and interrupts, provide fine-tuning strategy to adapt LLMs to the interrupt semantics, and implement these mechanisms efficiently on LLM inference process. We demonstrate that AsyncLM can reduce end-to-end task completion latency from 1.6x-5.4x compared to synchronous function calling on a set of benchmark tasks in the Berkeley function calling leaderboard (BFCL). Furthermore, we discuss how interrupt mechanisms can be extended to enable novel human-LLM or LLM-LLM interactions.

📄 PDF Abstract BibTeX arXiv:2412.07017

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Concurrency without Model Changes: Future-based Asynchronous Function Calling for LLMs

2026-05-14 · Guangyu Feng, Huanzhi Mao, Prabal Dutta, Joseph E. Gonzalez arxiv

Function calling, also known as tool use, is a core capability of modern LLM agents but is typically constrained by synchronous execution semantics. Under these semantics, LLM decoding is blocked until each function call…

Speculative Interaction Agents: Building Real-Time Agents with Asynchronous I/O and Speculative Tool Calling

2026-05-13 · Coleman Hooper, Minwoo Kang, Suhong Moon, Nicholas Lee 외 arxiv

There is a growing demand for agentic AI technologies for a range of downstream applications like customer service and personal assistants. For applications where the agent needs to interact with a person, real-time low-…

Synthetic Data Generation

AsyncTool: Evaluating the Asynchronous Function Calling Capability under Multi-Task Scenarios

2026-05-27 · Kou Shi, Ziao Zhang, Shiting Huang, Avery Nie 외 arxiv

Large language model (LLM)-based agents have shown strong capabilities in using external tools to solve complex tasks. However, existing evaluations often overlook the temporal dimension of tool use, especially the impac…

ToolCaching: Towards Efficient Caching for LLM Tool-calling

2026-01-20 · Yi Zhai, Dian Shen, Junzhou Luo, Bin Yang arxiv

Recent advances in Large Language Models (LLMs) have revolutionized web applications, enabling intelligent search, recommendation, and assistant services with natural language interfaces. Tool-calling extends LLMs with t…

Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Tasks

2024-06-27 · Ibrahim Abdelaziz, Kinjal Basu, Mayank Agarwal, Sadhana Kumaravel 외

Large language models (LLMs) have recently shown tremendous promise in serving as the backbone to agentic systems, as demonstrated by their performance in multi-faceted, challenging benchmarks like SWE-Bench and Agent-Be…

Multi-Task LearningResponse Generation