AutoAct: Automatic Agent Learning from Scratch for QA Via Self-Planning

Shuofei Qiao,Ningyu Zhang,Runnan Fang,Yujie Luo,Wangchunshu Zhou,Yuchen Eleanor Jiang,Chengfei Lv,Huajun Chen
DOI: https://doi.org/10.18653/v1/2024.acl-long.165
2024-01-01
Abstract:Language agents have achieved considerable performance on various complexquestion-answering tasks by planning with external tools. Despite the incessantexploration in this field, existing language agent systems still struggle withcostly, non-reproducible data reliance and face the challenge of compelling asingle model for multiple functions. To this end, we introduce AutoAct, anautomatic agent learning framework for QA that does not rely on large-scaleannotated data and synthetic planning trajectories from closed-source models(e.g., GPT-4). Given limited data with a tool library, AutoAct firstautomatically synthesizes planning trajectories without any assistance fromhumans or strong closed-source models. Then, AutoAct leverages adivision-of-labor strategy to automatically differentiate based on the targettask information and synthesized trajectories, producing a sub-agent group tocomplete the task. We conduct comprehensive experiments with different LLMs,which demonstrates that AutoAct yields better or parallel performance comparedto various strong baselines. Further analysis demonstrates the effectiveness ofthe division-of-labor strategy, with the trajectory quality generated byAutoAct generally outperforming that of others. Code will be available athttps://github.com/zjunlp/AutoAct.
What problem does this paper attempt to address?