Reflexion: Language Agents with Verbal Reinforcement Learning
Indexed inarxivdatacite
Abstract
Large language models (LLMs) have been increasingly used to interact with external environments (e.g., games, compilers, APIs) as goal-driven agents. However, it remains challenging for these language agents to quickly and efficiently learn from trial-and-error as traditional reinforcement learning methods require extensive training samples and expensive model fine-tuning. We propose Reflexion, a novel framework to reinforce language agents not by updating weights, but instead through linguistic feedback. Concretely, Reflexion agents verbally reflect on task feedback signals, then maintain their own reflective text in an episodic memory buffer to induce better decision-making in subsequent trials. Reflexion is…
Citation impact
264
total citations
- FWCI
- —
- Percentile
- —
- References
- 0
Citations per year
Authors
6- NSNoah ShinnCorresponding
- CFCassano, Federico
- BEBerman, Edward
- GAGopinath, Ashwin
- NKNarasimhan, Karthik
Topics & keywords
Topics
Keywords
- Computer science
- Reinforcement learning
- Coding (social sciences)
- Benchmark (surveying)
- Compiler
- Language model
- Artificial intelligence
- Programming language
UN Sustainable Development Goals
- Peace, Justice and strong institutions
No related works found for this paper.