Papers › Empowering Large Language Model Agents through Action Learning

Empowering Large Language Model Agents through Action Learning

24 Feb 2024arXiv:2402.15809archive 2025-07-28

Haiteng Zhao, Chang Ma, Guoyin Wang, Jing Su, Lingpeng Kong, Jingjing Xu, Zhi-Hong Deng, Hongxia Yang

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2402.15809")

Code

Syntology Ran 12 of 17 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 12 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 12 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zhao-ht/learnact officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 12 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

12ran
5unverified

Licence: 17 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from zhao-ht/learnact. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_api_agent_args zhao-ht/learnact/model/model_arguments.py official repository ran no licence file found · pointer only · be016c6de5f601d7 · report
add_learnact_agent_args zhao-ht/learnact/model/model_arguments.py official repository ran no licence file found · pointer only · 7caf0b02e41211df · report
add_py_agent_args zhao-ht/learnact/model/model_arguments.py official repository ran no licence file found · pointer only · 6859a11371fed89f · report
answer_eval zhao-ht/learnact/pipelines.py official repository ran no licence file found · pointer only · b7f08cfff2002157 · report
copy zhao-ht/learnact/aux_func/copy.py official repository ran no licence file found · pointer only · 9dfdb5e4175893d8 · report
execute zhao-ht/learnact/aux_func/aux_func.py official repository ran no licence file found · pointer only · a9ab3708c00ae21a · report
get_max_context_length zhao-ht/learnact/model/get_model.py official repository ran no licence file found · pointer only · 5cc44cb6d5cddbbc · report
get_tool_improve_prompt_format_description zhao-ht/learnact/model/learnact_agent/learnact_learner.py official repository ran no licence file found · pointer only · d12c286b918664d5 · report
get_tool_maker_decompose_combination_prompt zhao-ht/learnact/model/learnact_agent/learnact_learner.py official repository ran no licence file found · pointer only · 65a2191cc48b12b8 · report
result_is_plan zhao-ht/learnact/model/learnact_agent/learnact_learner.py official repository ran no licence file found · pointer only · 24c0689eb0fad494 · report
resume_result_pd zhao-ht/learnact/pipelines.py official repository ran no licence file found · pointer only · 53e3f2d42a930b19 · report
run_with_timeout zhao-ht/learnact/aux_func/aux_func.py official repository ran no licence file found · pointer only · f8a4de0b6faeff3a · report
call_chat_gpt zhao-ht/learnact/backbone/gpt.py official repository unverified no licence file found · pointer only · 96896b883b68a043 · report
execute_basic zhao-ht/learnact/aux_func/aux_func.py official repository unverified no licence file found · pointer only · 8b1dcbddb6017e53 · report
load_backbone zhao-ht/learnact/model/get_model.py official repository unverified no licence file found · pointer only · 6c4aba17c8429917 · report
num_tokens_from_messages zhao-ht/learnact/backbone/gpt.py official repository unverified no licence file found · pointer only · f17d8dea2f3b9842 · report
resume_result_jsonl zhao-ht/learnact/pipelines.py official repository unverified no licence file found · pointer only · 996a26fe0469527e · report

Tasks

Language ModelingLanguage ModellingLarge Language Modelmodel

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections