Empowering Large Language Model Agents through Action Learning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Zhao, Haiteng, Ma, Chang, Wang, Guoyin, Su, Jing, Kong, Lingpeng, Xu, Jingjing, Deng, Zhi-Hong, Yang, Hongxia
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910560117850112
author Zhao, Haiteng
Ma, Chang
Wang, Guoyin
Su, Jing
Kong, Lingpeng
Xu, Jingjing
Deng, Zhi-Hong
Yang, Hongxia
author_facet Zhao, Haiteng
Ma, Chang
Wang, Guoyin
Su, Jing
Kong, Lingpeng
Xu, Jingjing
Deng, Zhi-Hong
Yang, Hongxia
contents Large Language Model (LLM) Agents have recently garnered increasing interest yet they are limited in their ability to learn from trial and error, a key element of intelligent behavior. In this work, we argue that the capacity to learn new actions from experience is fundamental to the advancement of learning in LLM agents. While humans naturally expand their action spaces and develop skills through experiential learning, LLM agents typically operate within fixed action spaces, limiting their potential for growth. To address these challenges, our study explores open-action learning for language agents. We introduce a framework LearnAct with an iterative learning strategy to create and improve actions in the form of Python functions. In each iteration, LLM revises and updates the currently available actions based on the errors identified in unsuccessful training tasks, thereby enhancing action effectiveness. Our experimental evaluations across Robotic Planning and Alfworld environments reveal that after learning on a few training task instances, our approach to open-action learning markedly improves agent performance for the type of task (by 32 percent in AlfWorld compared to ReAct+Reflexion, for instance) highlighting the importance of experiential action learning in the development of more intelligent LLM agents.
format Preprint
id arxiv_https___arxiv_org_abs_2402_15809
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Empowering Large Language Model Agents through Action Learning
Zhao, Haiteng
Ma, Chang
Wang, Guoyin
Su, Jing
Kong, Lingpeng
Xu, Jingjing
Deng, Zhi-Hong
Yang, Hongxia
Artificial Intelligence
Computation and Language
Large Language Model (LLM) Agents have recently garnered increasing interest yet they are limited in their ability to learn from trial and error, a key element of intelligent behavior. In this work, we argue that the capacity to learn new actions from experience is fundamental to the advancement of learning in LLM agents. While humans naturally expand their action spaces and develop skills through experiential learning, LLM agents typically operate within fixed action spaces, limiting their potential for growth. To address these challenges, our study explores open-action learning for language agents. We introduce a framework LearnAct with an iterative learning strategy to create and improve actions in the form of Python functions. In each iteration, LLM revises and updates the currently available actions based on the errors identified in unsuccessful training tasks, thereby enhancing action effectiveness. Our experimental evaluations across Robotic Planning and Alfworld environments reveal that after learning on a few training task instances, our approach to open-action learning markedly improves agent performance for the type of task (by 32 percent in AlfWorld compared to ReAct+Reflexion, for instance) highlighting the importance of experiential action learning in the development of more intelligent LLM agents.
title Empowering Large Language Model Agents through Action Learning
topic Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2402.15809