Experiential Reflective Learning for Self-Improving LLM Agents

Allard Marc-Antoine, Arnaud Teinturier, Victor Xing, Gautier ViaudMemAgent @ ICLR 2026

TL;DR

This paper introduces Experiential Reflective Learning (ERL), a framework that allows LLM agents to learn from their past experiences without needing to be retrained. ERL extracts "heuristics" – actionable lessons learned from successful or failed tasks – and uses them to guide future performance, significantly improving adaptation to new environments and task reliability.

What Problem Does This Paper Address?

Large Language Model (LLM) agents are becoming increasingly capable of complex tasks, but they often struggle to adapt to new environments or learn from their past interactions. When faced with a new task, they tend to start from scratch, even if they've encountered similar situations before. This lack of continuous learning and adaptation limits their real-world applicability, especially in dynamic or specialized domains. While fine-tuning can help, it's resource-intensive and not always feasible for closed-source models. Existing methods for learning from experience often require extensive data, multiple attempts per task, or inject irrelevant information, hindering efficiency and effectiveness.

Methods

The core of ERL lies in two main components:

  1. Heuristic Generation: After completing a task, the agent analyzes its trajectory (the sequence of actions, tool calls, and outcomes) and the final reward (success or failure). It then generates a structured "heuristic" that includes:
  2. An analysis of what led to success or failure.
  3. A learned guideline with explicit trigger conditions and recommended actions. These guidelines are designed to be generalizable and transferable.
  4. Retrieval-Augmented Execution: When a new task arrives, the agent uses an LLM to:
  5. Analyze the new task and break it down into potential sub-tasks.
  6. Score existing heuristics from its persistent pool for relevance to the current task.
  7. Retrieve the top-k most relevant heuristics.
  8. Inject these selected heuristics into the agent's system prompt, providing task-specific guidance without overwhelming it.

This approach allows for parameter-free improvement and rapid adaptation by leveraging distilled knowledge from past experiences.

Datasets

  • Gaia2: This benchmark was used for evaluating the primary performance of ERL. It features a simulated mobile environment with applications and tools, focusing on "Search and Execution" splits that involve information retrieval and multi-step problem-solving.
  • T²-bench: Used for evaluating ERL in a multi-domain setting (Airline, Retail, Telecom) that simulates customer service scenarios, including user interaction.

Key Insights and Ideas

  • Heuristics are more transferable than raw trajectories: Distilling experiences into concise, actionable heuristics is significantly more effective for agent improvement than simply feeding raw past trajectories as examples. Heuristics capture generalized principles, making them applicable across different but related tasks.
  • Selective retrieval is crucial: Simply injecting all learned heuristics is inefficient and can be detrimental. Using an LLM to intelligently select the most relevant heuristics for a given task is key to ERL's success.
  • Failure-derived heuristics are powerful, especially for search tasks: Learning from mistakes proves particularly beneficial for tasks requiring exploration and information gathering (Search), as it helps prune ineffective strategies. Success-derived heuristics are more impactful for tasks requiring precise execution (Execution).
  • Iterative learning can lead to overfitting: While an iterative approach where the heuristic pool grows over time shows promise during training, it can lead to a "generalization gap," where the agent performs worse on unseen test tasks. This suggests that learning from independent experiences might be more robust for broad adaptation.

Key Results

  • Significant performance boost on Gaia2: ERL achieved an overall success rate of 56.1% on the Gaia2 benchmark, an improvement of +7.8% over the ReAct baseline and +5.2% over the strongest prior method (ExpeL).
  • Improved reliability: ERL showed substantial gains in "pass^3" (requiring success on all three runs), indicating more stable and reliable task completion, especially on the Search split (+10.6%).
  • Outperforms prior methods: ERL surpassed existing experiential learning methods like ExpeL and AutoGuide, particularly in its ability to adapt to new environments.
  • Few-shot trajectory prompting is ineffective: Simply appending raw trajectories as few-shot examples actually decreased performance compared to the baseline.
  • T²-bench results: ERL showed improvements on Airline and Retail domains but a slight drop on Telecom. This highlights potential challenges in complex, dual-control domains where user interaction is highly variable.

Limitations and Future Work

  • Telecom domain challenges: The paper notes that ERL's performance on the Telecom domain of T²-bench was suboptimal. This is attributed to the combinatorial nature of tasks and the unpredictability of user interactions in dual-control settings. Future work could explore better ways to capture user coordination strategies.
  • Heuristic representation and scaling: While ERL is effective, the paper suggests future work could focus on more compact heuristic representations to reduce computational overhead and address challenges in scaling large heuristic pools, such as resolving conflicting guidelines.
  • Synthetic task generation: Bootstrapping heuristic accumulation via synthetic task generation is proposed as a future direction.

Summary updated

BibTeX
@inproceedings{marcantoine2026experiential,
  author = {Allard Marc-Antoine and Arnaud Teinturier and Victor Xing and Gautier Viaud},
  title = {{Experiential Reflective Learning for Self-Improving LLM Agents}},
  booktitle = {MemAgent @ ICLR},
  year = {2026},
  url = {https://openreview.net/forum?id=hQgSl6kj1W},
}
Figure