Skip to main content
QUICK REVIEW

[Paper Review] TaskBench: Benchmarking Large Language Models for Task Automation

Yongliang Shen, Kaitao Song|arXiv (Cornell University)|Nov 30, 2023
Topic ModelingComputer Science7 citations
TL;DR

TaskBench introduces a comprehensive benchmark to evaluate large language models (LLMs) in task automation by modeling three core stages: task decomposition, tool invocation, and parameter prediction. Using a back-instruct method with Tool Graphs for data synthesis and a multi-metric evaluation framework (TaskEval), TaskBench shows strong alignment with human evaluation (Kendall’s τ = 0.89) and reveals GPT-4's superior performance over open-source models, especially in parameter prediction (v-F1 = 71.14%).

ABSTRACT

In recent years, the remarkable progress of large language models (LLMs) has sparked interest in task automation, which involves decomposing complex tasks described by user instructions into sub-tasks and invoking external tools to execute them, playing a central role in autonomous agents. However, there is a lack of systematic and standardized benchmarks to promote the development of LLMs in task automation. To address this, we introduce TaskBench, a comprehensive framework to evaluate the capability of LLMs in task automation. Specifically, task automation can be divided into three critical stages: task decomposition, tool selection, and parameter prediction. To tackle the complexities inherent in these stages, we introduce the concept of Tool Graph to represent decomposed tasks and adopt a back-instruct method to generate high-quality user instructions. We propose TaskEval, a multi-faceted evaluation methodology that assesses LLM performance across these three stages. Our approach combines automated construction with rigorous human verification, ensuring high consistency with human evaluation. Experimental results demonstrate that TaskBench effectively reflects the capabilities of various LLMs in task automation. It provides insights into model performance across different task complexities and domains, pushing the boundaries of what current models can achieve. TaskBench offers a scalable, adaptable, and reliable benchmark for advancing LLM-based autonomous agents.

Motivation & Objective

  • Address the lack of a standardized, systematic benchmark for evaluating LLMs in real-world task automation, which involves multiple stages beyond standard NLP tasks.
  • Overcome the challenge of collecting high-quality, diverse evaluation data for complex, multi-stage task automation scenarios involving external tools and dependencies.
  • Develop a reliable, automated evaluation framework that captures the full pipeline of task automation: decomposition, tool selection, and parameter prediction.
  • Ensure evaluation fidelity by validating automated metrics against human judgments, achieving high correlation with human rankings (Kendall’s τ = 0.89).
  • Identify key performance factors in LLMs for task automation, such as reasoning, instruction following, code pretraining, and alignment techniques.

Proposed method

  • Introduce the Tool Graph (TG) as a structured representation of tools and their dependencies, enabling systematic sampling of task automation scenarios.
  • Employ a back-instruct method to generate realistic user instructions by reversing from predefined sub-tasks and tool invocation graphs in the Tool Graph.
  • Design TaskEval, a multi-dimensional evaluation framework that measures performance across three stages: task decomposition (n-F1), tool invocation (n-F1), and parameter prediction (v-F1).
  • Use a hybrid data collection strategy combining automated generation with human verification to ensure high-quality, realistic evaluation data.
  • Apply statistical metrics (Kendall’s τ and Spearman’s ρ) to validate alignment between TaskBench scores and human evaluation rankings.
  • Evaluate diverse LLMs—including GPT-4 and open-source models like Code-Llama and Vicuna—across three domains: Hugging Face, multimedia, and daily-life APIs.

Experimental results

Research questions

  • RQ1To what extent can automated data generation with back-instruction and Tool Graphs produce high-fidelity, realistic task automation instructions that reflect real-world complexity?
  • RQ2How well do existing LLMs perform across the three core stages of task automation: decomposition, tool invocation, and parameter prediction?
  • RQ3How closely does the TaskBench evaluation correlate with human judgment in terms of executability and problem-solving efficacy?
  • RQ4What model characteristics (e.g., code pretraining, instruction tuning, RLHF alignment) most significantly impact LLM performance in task automation?
  • RQ5How do open-source LLMs compare to proprietary models like GPT-4 in end-to-end task automation capability?

Key findings

  • TaskBench demonstrates strong alignment with human evaluation, achieving a Kendall’s τ of 0.89 and Spearman’s ρ of 0.78, confirming its reliability as a benchmark.
  • GPT-4 achieves the highest performance across domains, with a v-F1 score of 71.14% in daily-life APIs, significantly outperforming open-source models.
  • Open-source models fine-tuned with instruction-following data (e.g., Vicuna-13b, WizardLLM-13b) outperform base Llama-2-13b, highlighting the importance of instruction tuning.
  • Code-pretrained models like Code-Llama show a 12.76% improvement in v-F1 over non-code-pretrained models, indicating that code understanding enhances parameter prediction.
  • Models with human alignment techniques (e.g., RLHF) exhibit stronger reasoning and generalization, reducing overfitting and improving automation performance.
  • The average v-F1 score for open-source LLMs across domains is 60.86% (Hugging Face), 72.31% (multimedia), and 71.14% (daily-life), revealing a persistent gap in parameter prediction accuracy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.