AgentGen: Enhancing Planning Abilities for Large Language Model based Agent via Environment and Task Generation

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Hu, Mengkang, Zhao, Pu, Xu, Can, Sun, Qingfeng, Lou, Jianguang, Lin, Qingwei, Luo, Ping, Rajmohan, Saravan
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913680409493504
author Hu, Mengkang
Zhao, Pu
Xu, Can
Sun, Qingfeng
Lou, Jianguang
Lin, Qingwei
Luo, Ping
Rajmohan, Saravan
author_facet Hu, Mengkang
Zhao, Pu
Xu, Can
Sun, Qingfeng
Lou, Jianguang
Lin, Qingwei
Luo, Ping
Rajmohan, Saravan
contents Large Language Model-based agents have garnered significant attention and are becoming increasingly popular. Furthermore, planning ability is a crucial component of an LLM-based agent, which generally entails achieving a desired goal from an initial state. This paper investigates enhancing the planning abilities of LLMs through instruction tuning, referred to as agent training. Recent studies have demonstrated that utilizing expert-level trajectory for instruction-tuning LLMs effectively enhances their planning capabilities. However, existing work primarily focuses on synthesizing trajectories from manually designed planning tasks and environments. The labor-intensive nature of creating these environments and tasks impedes the generation of sufficiently varied and extensive trajectories. To address this limitation, this paper explores the automated synthesis of diverse environments and a gradual range of planning tasks, from easy to difficult. We introduce a framework, AgentGen, that leverages LLMs first to generate environments and subsequently generate planning tasks conditioned on these environments. Specifically, to improve environmental diversity, we propose using an inspiration corpus composed of various domain-specific text segments as the context for synthesizing environments. Moreover, to increase the difficulty diversity of generated planning tasks, we propose a bidirectional evolution method, Bi-Evol, that evolves planning tasks from easier and harder directions to synthesize a task set with a smoother difficulty curve. The evaluation results derived from AgentBoard show that AgentGen greatly improves LLMs' planning ability, e.g., the AgentGen instruction-tuned Llama-3.1-8B surpasses GPT-3.5 in overall performance. Moreover, the AgentGen-tuned Llama-3.1-70B model achieves state-of-the-art results in planning tasks. Project page: https://agent-gen.github.io/.
format Preprint
id arxiv_https___arxiv_org_abs_2408_00764
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle AgentGen: Enhancing Planning Abilities for Large Language Model based Agent via Environment and Task Generation
Hu, Mengkang
Zhao, Pu
Xu, Can
Sun, Qingfeng
Lou, Jianguang
Lin, Qingwei
Luo, Ping
Rajmohan, Saravan
Computation and Language
Artificial Intelligence
Machine Learning
Large Language Model-based agents have garnered significant attention and are becoming increasingly popular. Furthermore, planning ability is a crucial component of an LLM-based agent, which generally entails achieving a desired goal from an initial state. This paper investigates enhancing the planning abilities of LLMs through instruction tuning, referred to as agent training. Recent studies have demonstrated that utilizing expert-level trajectory for instruction-tuning LLMs effectively enhances their planning capabilities. However, existing work primarily focuses on synthesizing trajectories from manually designed planning tasks and environments. The labor-intensive nature of creating these environments and tasks impedes the generation of sufficiently varied and extensive trajectories. To address this limitation, this paper explores the automated synthesis of diverse environments and a gradual range of planning tasks, from easy to difficult. We introduce a framework, AgentGen, that leverages LLMs first to generate environments and subsequently generate planning tasks conditioned on these environments. Specifically, to improve environmental diversity, we propose using an inspiration corpus composed of various domain-specific text segments as the context for synthesizing environments. Moreover, to increase the difficulty diversity of generated planning tasks, we propose a bidirectional evolution method, Bi-Evol, that evolves planning tasks from easier and harder directions to synthesize a task set with a smoother difficulty curve. The evaluation results derived from AgentBoard show that AgentGen greatly improves LLMs' planning ability, e.g., the AgentGen instruction-tuned Llama-3.1-8B surpasses GPT-3.5 in overall performance. Moreover, the AgentGen-tuned Llama-3.1-70B model achieves state-of-the-art results in planning tasks. Project page: https://agent-gen.github.io/.
title AgentGen: Enhancing Planning Abilities for Large Language Model based Agent via Environment and Task Generation
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2408.00764