arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.07869cs.CLcs.AIcs.HCcs.LGcs.MA
收藏

智能体工作流生成的基准测试

Benchmarking Agentic Workflow Generation

Zhejiang University(浙江大学);Alibaba Group(阿里巴巴集团)

Shuofei Qiao, Runnan Fang, Zhisong Qiu, Xiaobin Wang, Ningyu Zhang, Yong Jiang, Pengjun Xie, Fei Huang, Huajun Chen

AI总结:

本文提出WorfBench基准和WorfEval评估协议,用于测试LLM智能体生成工作流的能力,发现序列与图规划存在约15%差距,且生成的工作流能提升下游任务性能。

摘要:

大型语言模型(LLMs)凭借其处理广泛任务的卓越能力,在解决推理和规划任务方面取得了显著进展,其中将复杂问题分解为可执行的工作流是这一过程中的关键步骤。现有的工作流评估框架要么仅关注整体性能,要么存在场景覆盖受限、工作流结构简单和评估标准宽松等局限。为此,我们引入了WorfBench,一个统一的工作流生成基准,具有多方面的场景和复杂的图工作流结构。此外,我们提出了WorfEval,一个系统性的评估协议,利用子序列和子图匹配算法来准确量化LLM智能体的工作流生成能力。通过对不同类型的LLM进行全面评估,我们发现LLM智能体的序列规划能力和图规划能力之间存在明显差距,即使GPT-4也表现出约15%的差距。我们还训练了两个开源模型,并在保留任务上评估了它们的泛化能力。此外,我们观察到生成的工作流可以增强下游任务,使它们在推理过程中以更少的时间实现更优的性能。代码和数据集可在https://github.com/zjunlp/WorfBench获取。

英文摘要:

Large Language Models (LLMs), with their exceptional ability to handle a wide range of tasks, have driven significant advancements in tackling reasoning and planning tasks, wherein decomposing complex problems into executable workflows is a crucial step in this process. Existing workflow evaluation frameworks either focus solely on holistic performance or suffer from limitations such as restricted scenario coverage, simplistic workflow structures, and lax evaluation standards. To this end, we introduce WorfBench, a unified workflow generation benchmark with multi-faceted scenarios and intricate graph workflow structures. Additionally, we present WorfEval, a systemic evaluation protocol utilizing subsequence and subgraph matching algorithms to accurately quantify the LLM agent's workflow generation capabilities. Through comprehensive evaluations across different types of LLMs, we discover distinct gaps between the sequence planning capabilities and graph planning capabilities of LLM agents, with even GPT-4 exhibiting a gap of around 15%. We also train two open-source models and evaluate their generalization abilities on held-out tasks. Furthermore, we observe that the generated workflows can enhance downstream tasks, enabling them to achieve superior performance with less time during inference. Code and dataset are available at https://github.com/zjunlp/WorfBench.

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

↑