Agents

LearnAct

First page
LearnAct
Paper summary

LearnAct lets language agents expand and refine their own action space over time by writing and revising Python functions in response to execution feedback.

Ask this paper

Key points
01

Open-action learning: Rather than picking from a fixed list of actions, the agent proposes new actions as Python functions, tests them, and iteratively revises them based on what worked.

02

Iterative refinement loop: Each cycle adds or updates actions using execution feedback, so the agent's effective toolkit grows along with task experience.

03

Strong results on AlfWorld: Achieves a 32% absolute improvement over ReAct+Reflexion on AlfWorld, with additional gains on robotic planning tasks.

04

Closer to human learning: Mirrors the way humans acquire new skills by composing and revising procedures rather than selecting from a static repertoire, pointing toward more capable long-horizon agents.

Abstract

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.

Every Monday
Get next week’s papers.
Subscribe on Substack