atlas

Research map / Large language models / Agents, code and math

ExpeL: LLM Agents Are Experiential Learners

AAAI 2024 · Large language models › Agents, code and math · approach: Agent instruction-following benchmarks · 123 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ExpeL, a prompt-only LLM agent that gathers trial-and-error experiences on training tasks, distills cross-task natural-language insights, and retrieves successful trajectories as in-context examples, improving gpt-3.5-turbo ReAct agents on HotpotQA, ALFWorld, WebShop and transferring insights to FEVER without parameter updates.

Problem

LLM agents for decision-making are either finetuned (costly, needs weights, may hurt generalization) or prompted (no memory across tasks, so no learning from experience beyond a few demonstrations). The paper asks how an agent can learn from experience across tasks without parametric updates, e.g.,

Approach

An agent gathers success and failure trajectories via Reflexion-style retries on training tasks, stores them in an experience pool, and uses an stronger LLM (gpt-4) to extract natural-language insights through ADD/EDIT/UPVOTE/DOWNVOTE operations with importance counts. At test time it combines the insight list with top-k similar successful trajectories retrieved by embedding similarity as in-conte

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add adapted HotpotQA insights using target-task demonstrationsExpeL Transfer · FEVERsuccess rate (%): 63 -> \textbf{70}Helped
Add target-task demonstrations when adapting transferred insights (ablation)ExpeL Transfer · FEVERsuccess rate (%): 65 -> \textbf{70}Helped
Add Reflexion to ExpeLExpeL · ALFWorldsuccess rate (%): 54.5\% -> \textbf{\hl{59.0\%}}Helped
Replace LLM-generated insights with hand-crafted insights (ablation)ExpeL · HotpotQAsuccess rate (%): \textbf{39.0} -> 32.0Hurt
Add reflections to insight construction (ablation)ExpeL · HotpotQAsuccess rate (%): \textbf{39.0} -> 29.0Hurt
Use gpt-3.5-turbo instead of gpt-4 for insight extraction (ablation)ExpeL · HotpotQAsuccess rate (%): \textbf{39.0} -> 32.0Hurt
Rank retrieved trajectories by reasoning similarity instead of task similarity (ablation)ExpeL · ALFWorldsuccess rate (%): \textbf{59.0} -> 48.5Hurt
Randomly sample successful trajectories instead of ranking by task similarity (ablation)ExpeL · ALFWorldsuccess rate (%): \textbf{59.0} -> 42.5Hurt
Gather diverse success and failure experiences using Reflexion rather than only ReAct (ablation)ExpeL experience gathering · HotpotQAsuccess rateHelped
Gather autonomous experiences rather than extract insights only from initial fewshot examples (ablation)ExpeL experience gathering · HotpotQAsuccess rateHelped

Surprising findings

Limitations

Experimental setup

Datasets: HotpotQA ALFWorld WebShop FEVER

Benchmarks: HotpotQA ALFWorld WebShop FEVER

Metrics: success rate mean reward

Baselines: ReAct Act Reflexion Imitation learning

Builds on: ReAct Reflexion Faiss

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy