Skip to main content
QUICK REVIEW

[Paper Review] TDAG: A Multi-Agent Framework based on Dynamic Task Decomposition and Agent Generation

Yaoxiang Wang, Zhiyong Wu|arXiv (Cornell University)|Feb 15, 2024
Multi-Agent Systems and NegotiationComputer Science5 citations
TL;DR

TDAG introduces dynamic task decomposition and subagent generation to improve LLM-based agents, evaluated with the ItineraryBench travel-planning benchmark and fine-grained metrics.

ABSTRACT

The emergence of Large Language Models (LLMs) like ChatGPT has inspired the development of LLM-based agents capable of addressing complex, real-world tasks. However, these agents often struggle during task execution due to methodological constraints, such as error propagation and limited adaptability. To address this issue, we propose a multi-agent framework based on dynamic Task Decomposition and Agent Generation (TDAG). This framework dynamically decomposes complex tasks into smaller subtasks and assigns each to a specifically generated subagent, thereby enhancing adaptability in diverse and unpredictable real-world tasks. Simultaneously, existing benchmarks often lack the granularity needed to evaluate incremental progress in complex, multi-step tasks. In response, we introduce ItineraryBench in the context of travel planning, featuring interconnected, progressively complex tasks with a fine-grained evaluation system. ItineraryBench is designed to assess agents' abilities in memory, planning, and tool usage across tasks of varying complexity. Our experimental results reveal that TDAG significantly outperforms established baselines, showcasing its superior adaptability and context awareness in complex task scenarios.

Motivation & Objective

  • Motivate the need for more adaptable LLM-based agents in real-world, multi-step tasks.
  • Propose a multi-agent framework that dynamically decomposes tasks and generates subagents tailored to subtasks.
  • Introduce ItineraryBench to enable fine-grained evaluation of incremental progress in complex tasks.
  • Demonstrate TDAG's superiority over baselines and analyze the impact of dynamic decomposition and agent generation.

Proposed method

  • Decompose a complex task with a MainAgent into subtasks and assign each to a dynamically generated SubAgent.
  • Dynamically Update subtasks based on preceding subtasks’ results to handle failures and new information.
  • Generate subagents via LLM prompting, including tool document refinement and an incremental skill library.
  • Maintain a evolving skill library with retrieval via a small SentenceBERT model to match subtasks to skills.
  • Compare TDAG against baselines (ReAct, P&S, P&E, ADAPT) and perform ablations (remove agent generation or dynamic decomposition).

Experimental results

Research questions

  • RQ1Can dynamic task decomposition improve adaptability and context awareness in multi-step tasks?
  • RQ2Does automatic subagent generation reduce manual effort and improve performance across diverse tasks?
  • RQ3How does fine-grained evaluation (partial progress) correlate with traditional success metrics in complex planning tasks?

Key findings

  • TDAG outperforms established baselines across ItineraryBench task types.
  • Ablations show both dynamic decomposition and agent generation are crucial for achieving peak performance.
  • Fixed-plan methods (e.g., P&E) underperform ReAct due to lack of plan adaptability.
  • TDAG maintains lower rates of commonsense, external information, and constraint errors compared to baselines.
  • On additional benchmarks (WebShop, TextCraft), TDAG still surpasses baselines in reward score and success rate.
  • Fine-grained evaluation reveals progress even when full task success is not achieved, unlike binary scoring.

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.