arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.27995cs.AI
收藏

AsyncTool: 多任务场景下异步函数调用能力的评估

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

University of Science and Technology of China(中国科学技术大学);University of Toronto(多伦多大学)

Kou Shi, Ziao Zhang, Shiting Huang, Avery Nie, Zhen Fang, Qiuchen Wang, Lin Chen, Huaian Chen, Zehui Chen, Feng Zhao

AI总结:

提出AsyncTool基准,通过模拟工具响应延迟的多任务环境,评估基于大语言模型的智能体在异步工具调用中的任务协调与效率。

摘要:

基于大语言模型的智能体在使用外部工具解决复杂任务方面展现出强大能力。然而,现有评估往往忽视了工具使用的时间维度,尤其是工具响应延迟的影响,并且通常局限于单任务场景。在实际应用中,多个任务通常需要并发执行,整体效率取决于智能体是否能在等待工具响应时利用空闲时间。我们将这种能力称为异步工具调用。为评估该能力,我们提出了AsyncTool,一个用于评估基于大语言模型的智能体在具有延迟工具反馈的交互式多任务工具使用环境中的基准。AsyncTool同时呈现多个异构任务,并在执行过程中模拟真实的工具响应延迟。利用混合数据演化策略,我们构建了一个覆盖多种场景和工具使用模式的多样化异步多任务数据集。我们在步骤、子任务和任务级别评估模型,并引入面向效率的指标来衡量任务协调和完成效率。大量实验表明,延迟的工具反馈对当前智能体构成了重大挑战,并导致明显的性能下降。能够更好地协调任务切换、依赖跟踪和状态维护的模型在AsyncTool上取得了更强的性能。我们的分析识别了当前工具使用智能体的关键失败模式,并为设计未来具有更强时间推理和协调能力的系统提供了实用见解。

英文摘要:

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 impact of tool response latency, and are usually limited to single-task settings. In real-world applications, multiple tasks often need to be executed concurrently, and overall efficiency depends on whether an agent can use idle time while waiting for tool responses. We refer to this capability as asynchronous tool calling. To evaluate it, we propose AsyncTool, a benchmark for assessing LLM-based agents in interactive multi-task tool-use environments with delayed tool feedback. AsyncTool presents multiple heterogeneous tasks simultaneously and simulates realistic tool response latency during execution. Using a hybrid data evolution strategy, we construct a diverse asynchronous multitasking dataset that covers multiple scenarios and tool-use patterns. We evaluate models at the step, sub-task, and task levels, and introduce efficiency-oriented metrics to measure task coordination and completion efficiency. Extensive experiments show that delayed tool feedback poses substantial challenges to current agents and leads to clear performance degradation. Models that better coordinate task switching, dependency tracking, and state maintenance achieve stronger performance on AsyncTool. Our analysis identifies key failure modes of current tool-using agents and provides practical insights for designing future systems with stronger temporal reasoning and coordination capabilities.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑