Abstract
Large Language Model (LLM) agents typically rely on expensive closed-source models for high-quality training data. We present AUTOACT, a framework that enables open-source LLMs to learn tool-use and planning from scratch without external model dependency. By employing a self-planning approach and a "division-of-labor" strategy, AUTOACT synthesizes training trajectories and differentiates a single "Meta-Agent" into a specialized multi-agent group. Our results show that AUTOACT outperforms several strong baselines, including those using GPT-4 trajectories, demonstrating the power of specialized sub-agents.
Introduction
Building effective language agents requires high-quality planning trajectories and models capable of following them. Current approaches face two major hurdles: a heavy dependency on data from closed-source models like GPT-4, and the "generalist burden," where a single model is expected to handle planning, tool invocation, and reflection simultaneously. This often exceeds the "bounded rationality" of smaller open-source models.
AUTOACT addresses these challenges by allowing a model to learn from its own successful attempts. It views a raw LLM as a "Meta-Agent" that can differentiate into specialized sub-agents—Plan-Agent, Tool-Agent, and Reflect-Agent—mimicking a biological differentiation process.
Methods
The AUTOACT pipeline consists of four main stages to transform a Meta-Agent into a specialized Sub-Agent Group.
- Self-Instruct Data Augmentation: The Meta-Agent generates synthetic QA pairs from a few seed examples to create a diverse training set.
- Automatic Tool Selection: The agent identifies relevant tools (e.g., Bing Search, Calculator) from a library for the target task.
- Trajectories Synthesis & Filtering: The Meta-Agent solves tasks using selected tools, retaining only successful trajectories (correct final answers) for training.
- Self-Differentiation: Using successful trajectories, AUTOACT fine-tunes three specialized LoRA modules:
- Plan-Agent: Decomposes questions and decides on tool calls.
- Tool-Agent: Generates technical parameters for tool execution.
- Reflect-Agent: Verifies history and answer correctness.
During inference, these agents collaborate in a "Group Planning" mode to solve new problems.
Results
We evaluated AUTOACT on HotpotQA and ScienceQA using a library of 15 tools.
Performance Gains through Specialization
A key finding is that the "division-of-labor" strategy significantly boosts performance. Splitting cognitive load allows smaller models (Llama-2-7B or 13B) to perform significantly better than when they try to handle all tasks as a single agent.
As shown in the figure above, the "Three" agent configuration consistently outperforms the single-agent baseline, particularly on "hard" tasks. When using Llama-2-70B as the backbone, AUTOACT outperformed GPT-3.5-Turbo by 3.77% on HotpotQA and 6.39% on ScienceQA.
Data Efficiency
Interestingly, performance stabilizes after approximately 200 synthesized trajectories. This suggests that while self-instruction is powerful, the model eventually reaches a limit defined by its internal knowledge and reasoning capabilities.
Conclusion
AUTOACT demonstrates that "self-planning" is a viable alternative to distilling knowledge from closed-source models. By specializing models into distinct roles, we can overcome the cognitive limitations of smaller LLMs. Future work will explore iterative self-improvement and expanding the framework to more complex interactive tasks like robotics.
Summary updated