MetaReflection: Learning Instructions for Language Agents using Past Reflections
On the map: LLM agents and tool use → Reinforcement learning for LLM agents
Abstract (arXiv)
The popularity of Large Language Models (LLMs) have unleashed a new age ofLanguage Agents for solving a diverse range of tasks. While contemporary frontier LLMs are capable enough to power reasonably good Language agents, the closed-API model makes it hard to improve in cases they perform sub-optimally. To address this, recent works have explored ways to improve their performance using techniques like self-reflection and prompt optimization. Unfortunately, techniques like self-reflection can be used only in an online setup, while contemporary prompt optimization techniques are designed and tested to work on simple tasks. To this end, we introduce MetaReflection, a novel offline reinforcement learning technique that enhances the performance of Language Agents by augmenting a semantic memory based on experiential learnings from past trials. We demonstrate the efficacy of MetaReflection by evaluating across multiple domains, including complex logical reasoning, biomedical semantic similarity, open world question answering, and vulnerability threat detection, in Infrastructure-as-Code, spanning different agent designs. MetaReflection boosts Language agents' performance by 4% to 16.82% over the raw GPT-4 baseline and performs on par with existing state-of-the-art prompt optimization techniques while requiring fewer LLM calls.
Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 24 of its 45 references that are in the map. First posted on arXiv 13 May 2024.
Builds on
24 of 45 references.
References · 24
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
12 more
- 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
- 2023Language Models can Solve Computer Taskscited by 371
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
- 2023PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimizationcited by 226
- 2023Take a Step Back: Evoking Reasoning via Abstraction in Large Language Modelscited by 157
- 2023Large Language Models can Learn Rulescited by 66
- 2023Self-Polish: Enhance Reasoning in Large Language Models via Problem Refinementcited by 43
- 2023Auto-Instruct: Automatic Instruction Generation and Ranking for Black-Box Language Modelscited by 21
- 2023Semantic HELM: A Human-Readable Memory for Reinforcement Learningcited by 17
- 2023Building Your Own Product Copilot: Challenges, Opportunities, and Needscited by 17
- 2020The act of remembering: a study in partially observable reinforcement learningcited by 11
- 2023TSTR: Target Similarity Tuning Meets the Real Worldcited by 1
Built on by
Citing papers per year: 2024: 3; 2025: 7; 2026: 9.
19 papers.
Sort:
By area:
- 2025A Survey on the Optimization of Large Language Model-based Agentscited by 45
- 2025Look Before You Leap: A GUI-Critic-R1 Model for Pre-Operative Error Diagnosis in GUI Automationcited by 27
- 2025Training LLM-Based Agents with Synthetic Self-Reflected Trajectories and Partial Maskingcited by 16
- 2025SAMULE: Self-Learning Agents Enhanced by Multi-level Reflectioncited by 15
- 2024Honesty to Subterfuge: In-Context Reinforcement Learning Can Make Honest Models Reward Hackcited by 8
- 2025TableTalk: Scaffolding Spreadsheet Development with a Language Agentcited by 5
- 2024STACKFEED: Structured Textual Actor-Critic Knowledge Base Editing with FeedBackcited by 4
- 2025Improving Language Agents through BREW: Bootstrapping expeRientially-learned Environmental knoWledgecited by 3
- 2026From Experience to Skill: Multi-Agent Generative Engine Optimization via Reusable Strategy Learningcited by 3
- 2026Anticipate and Learn: Unleashing Idle-Time Compute in Proactive Agentscited by 3
- 2026FinEvolveBench: A Benchmark for Self-Evolving Agents on Low-Repetition Tasks with Implicit Rewardscited by 3
- 2025Textual Gradients are a Flawed Metaphor for Automatic Prompt Optimizationcited by 2
7 more
- 2026Meta-TTL: Meta-Learning Self-Improvement Policies for Language Agentscited by 2
- 2026STRIDE: A Self-Reflective Agent Framework for Reliable Automatic Equation Discoverycited by 2
- 2026From Cognitive Architectures to Language Agents: A Mechanism-Level Review of Lineage, Convergence, and Migration Gapscited by 1
- 2024Context-Masked Meta-Prompting for Privacy-Preserving LLM Adaptation in Financecited by 0
- 2026Beyond Fault Localization: A Trajectory-Level Study of LLM Agents for Microservice Root Cause Analysiscited by 0
- 2026Self-Evolving Multimedia Verification through Memory Consolidation of Contestation Experiencescited by 0
- 2026Do Self-Evolving Skills Generalize to Held-Out Tasks?cited by 0
- 2026Do Self-Evolving Skills Generalize to Held-Out Tasks?30 Sep 2026
- 2026Self-Evolving Multimedia Verification through Memory Consolidation of Contestation Experiences23 Sep 2026
- 2026Beyond Fault Localization: A Trajectory-Level Study of LLM Agents for Microservice Root Cause Analysis21 Aug 2026
- 2026From Cognitive Architectures to Language Agents: A Mechanism-Level Review of Lineage, Convergence, and Migration Gaps27 Jul 2026
- 2026FinEvolveBench: A Benchmark for Self-Evolving Agents on Low-Repetition Tasks with Implicit Rewards5 Jun 2026
- 2026Anticipate and Learn: Unleashing Idle-Time Compute in Proactive Agents25 May 2026
- 2026STRIDE: A Self-Reflective Agent Framework for Reliable Automatic Equation Discovery18 May 2026
- 2026From Experience to Skill: Multi-Agent Generative Engine Optimization via Reusable Strategy Learning21 Apr 2026
- 2026Meta-TTL: Meta-Learning Self-Improvement Policies for Language Agents1 Apr 2026
- 2025Textual Gradients are a Flawed Metaphor for Automatic Prompt Optimization15 Dec 2025
- 2025Improving Language Agents through BREW: Bootstrapping expeRientially-learned Environmental knoWledge25 Nov 2025
- 2025SAMULE: Self-Learning Agents Enhanced by Multi-level Reflection24 Sep 2025
7 more
- 2025Look Before You Leap: A GUI-Critic-R1 Model for Pre-Operative Error Diagnosis in GUI Automation5 Jun 2025
- 2025Training LLM-Based Agents with Synthetic Self-Reflected Trajectories and Partial Masking26 May 2025
- 2025A Survey on the Optimization of Large Language Model-based Agents16 Mar 2025
- 2025TableTalk: Scaffolding Spreadsheet Development with a Language Agent13 Feb 2025
- 2024STACKFEED: Structured Textual Actor-Critic Knowledge Base Editing with FeedBack14 Oct 2024
- 2024Honesty to Subterfuge: In-Context Reinforcement Learning Can Make Honest Models Reward Hack9 Oct 2024
- 2024Context-Masked Meta-Prompting for Privacy-Preserving LLM Adaptation in Finance9 Jul 2024
- 2025A Survey on the Optimization of Large Language Model-based Agentscited by 45
- 2025Training LLM-Based Agents with Synthetic Self-Reflected Trajectories and Partial Maskingcited by 16
- 2025SAMULE: Self-Learning Agents Enhanced by Multi-level Reflectioncited by 15
- 2025TableTalk: Scaffolding Spreadsheet Development with a Language Agentcited by 5
- 2025Improving Language Agents through BREW: Bootstrapping expeRientially-learned Environmental knoWledgecited by 3
- 2026FinEvolveBench: A Benchmark for Self-Evolving Agents on Low-Repetition Tasks with Implicit Rewardscited by 3
- 2026STRIDE: A Self-Reflective Agent Framework for Reliable Automatic Equation Discoverycited by 2
- 2026Beyond Fault Localization: A Trajectory-Level Study of LLM Agents for Microservice Root Cause Analysiscited by 0
- 2026Beyond Fault Localization: A Trajectory-Level Study of LLM Agents for Microservice Root Cause Analysis21 Aug 2026
- 2026FinEvolveBench: A Benchmark for Self-Evolving Agents on Low-Repetition Tasks with Implicit Rewards5 Jun 2026
- 2026STRIDE: A Self-Reflective Agent Framework for Reliable Automatic Equation Discovery18 May 2026
- 2025Improving Language Agents through BREW: Bootstrapping expeRientially-learned Environmental knoWledge25 Nov 2025
- 2025SAMULE: Self-Learning Agents Enhanced by Multi-level Reflection24 Sep 2025
- 2025Training LLM-Based Agents with Synthetic Self-Reflected Trajectories and Partial Masking26 May 2025
- 2025A Survey on the Optimization of Large Language Model-based Agents16 Mar 2025
- 2025TableTalk: Scaffolding Spreadsheet Development with a Language Agent13 Feb 2025
- 2026From Experience to Skill: Multi-Agent Generative Engine Optimization via Reusable Strategy Learningcited by 3
- 2026Anticipate and Learn: Unleashing Idle-Time Compute in Proactive Agentscited by 3
- 2025Textual Gradients are a Flawed Metaphor for Automatic Prompt Optimizationcited by 2
- 2026Meta-TTL: Meta-Learning Self-Improvement Policies for Language Agentscited by 2
- 2026From Cognitive Architectures to Language Agents: A Mechanism-Level Review of Lineage, Convergence, and Migration Gapscited by 1
- 2024Context-Masked Meta-Prompting for Privacy-Preserving LLM Adaptation in Financecited by 0
- 2026Self-Evolving Multimedia Verification through Memory Consolidation of Contestation Experiencescited by 0
- 2026Do Self-Evolving Skills Generalize to Held-Out Tasks?cited by 0
- 2026Do Self-Evolving Skills Generalize to Held-Out Tasks?30 Sep 2026
- 2026Self-Evolving Multimedia Verification through Memory Consolidation of Contestation Experiences23 Sep 2026
- 2026From Cognitive Architectures to Language Agents: A Mechanism-Level Review of Lineage, Convergence, and Migration Gaps27 Jul 2026
- 2026Anticipate and Learn: Unleashing Idle-Time Compute in Proactive Agents25 May 2026
- 2026From Experience to Skill: Multi-Agent Generative Engine Optimization via Reusable Strategy Learning21 Apr 2026
- 2026Meta-TTL: Meta-Learning Self-Improvement Policies for Language Agents1 Apr 2026
- 2025Textual Gradients are a Flawed Metaphor for Automatic Prompt Optimization15 Dec 2025
- 2024Context-Masked Meta-Prompting for Privacy-Preserving LLM Adaptation in Finance9 Jul 2024
Similar, not cited
Close in wording, no citation either way
- 2026MAGE: Meta-Reinforcement Learning for Language Agents toward Strategic Exploration and Exploitation
- 2023Reflexion: Language Agents with Verbal Reinforcement Learning
- 2025Meta-Policy Reflexion: Reusable Reflective Memory and Rule Admissibility for Resource-Efficient LLM Agent
- 2023Retroformer: Retrospective Large Language Agents with Policy Gradient Optimization
- 2026LoongReflect: Boosting Long-Horizon Reflection in Search Agents via Global Perspective Distillation
- 2025Meta-RL Induces Exploration in Language Agents
- 2025Improving Retrospective Language Agents via Joint Policy Gradient Optimization
- 2026MetaEvo: A Meta-Optimization Framework for Experience-Driven Agent Evolution