[Paper Review] AutoAct: Automatic Agent Learning from Scratch for QA via Self-Planning
AutoAct is a novel framework for automatic agent learning from scratch in question-answering tasks, enabling zero-shot self-planning and division-of-labor without relying on closed-source models or large-scale annotated data. It synthesizes planning trajectories via self-instruct and fine-tunes sub-agents for task decomposition, tool invocation, and self-reflection, achieving performance on par with or better than strong baselines across multiple LLMs.
Language agents have achieved considerable performance on various complex question-answering tasks by planning with external tools. Despite the incessant exploration in this field, existing language agent systems still struggle with costly, non-reproducible data reliance and face the challenge of compelling a single model for multiple functions. To this end, we introduce AutoAct, an automatic agent learning framework for QA that does not rely on large-scale annotated data and synthetic planning trajectories from closed-source models (e.g., GPT-4). Given limited data with a tool library, AutoAct first automatically synthesizes planning trajectories without any assistance from humans or strong closed-source models. Then, AutoAct leverages a division-of-labor strategy to automatically differentiate based on the target task information and synthesized trajectories, producing a sub-agent group to complete the task. We conduct comprehensive experiments with different LLMs, which demonstrates that AutoAct yields better or parallel performance compared to various strong baselines. Further analysis demonstrates the effectiveness of the division-of-labor strategy, with the trajectory quality generated by AutoAct generally outperforming that of others. Code will be available at https://github.com/zjunlp/AutoAct.
Motivation & Objective
- To address the limitations of existing agent learning frameworks that depend on costly, non-reproducible data and closed-source models like GPT-4.
- To reduce the burden on individual agents by enabling a division-of-labor strategy that assigns specialized roles based on self-synthesized trajectories.
- To enable zero-shot agent learning from limited user-provided data examples and a tool library, without requiring large-scale annotated trajectories.
- To improve resource efficiency and performance by using parameter-efficient fine-tuning on self-generated planning sequences.
- To establish a self-sustaining agent learning pipeline that avoids reliance on external supervision or strong pre-trained models.
Proposed method
- The Meta-Agent initiates the process by using self-instruct to expand the initial task database from limited user-provided examples.
- Given a tool library and task information, the Meta-Agent autonomously synthesizes planning trajectories without human or closed-source model assistance.
- A division-of-labor strategy differentiates the Meta-Agent into three sub-agents: one for task decomposition, one for tool invocation, and one for self-reflection, based on the synthesized trajectories.
- Each sub-agent is fine-tuned via parameter-efficient adaptation on the self-synthesized trajectories, enabling specialized, collaborative behavior.
- The framework operates in a zero-shot manner, relying only on open-source LLMs and minimal initial data.
- The self-differentiation process mimics biological cell differentiation, with the Meta-Agent acting as a stem cell that generates specialized agents for distinct functions.
Experimental results
Research questions
- RQ1Can an agent system learn to plan and collaborate effectively without relying on large-scale annotated data or synthetic trajectories from closed-source models?
- RQ2How effective is a division-of-labor strategy in improving agent performance compared to a single generalist agent?
- RQ3Can self-instruct and self-synthesis of planning trajectories enable high-quality agent behavior with minimal human or model supervision?
- RQ4Does the proposed framework maintain strong performance across diverse LLM backbones and complex question-answering tasks?
- RQ5To what extent can the framework be extended to real-world interactive tasks beyond question-answering?
Key findings
- AutoAct achieves better or competitive performance compared to strong baselines across multiple LLMs, including Llama-2-chat, without using closed-source models.
- The division-of-labor strategy significantly improves planning trajectory quality and task completion accuracy by assigning specialized roles to sub-agents.
- The framework successfully synthesizes high-quality planning trajectories using only self-instruct and a minimal set of initial examples, enabling zero-shot agent learning.
- Parameter-efficient fine-tuning on self-synthesized trajectories enables effective specialization of sub-agents with low computational cost.
- The method demonstrates robustness across different LLM backbones and complex question-answering tasks, suggesting broad applicability.
- The approach avoids ethical and reproducibility issues associated with closed-source model dependencies and large-scale data collection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.