TLDR: This research introduces a memory-augmented framework for LLM agents to learn from labeled examples and model-generated critiques without parameter updates. It uses episodic memory for instance-level experiences and semantic memory for task-level guidance. The approach shows significant accuracy gains, especially on preference-based tasks for OpenAI models and fact-oriented tasks for open-source models, and introduces ‘suggestibility’ to explain how models internalize feedback.
Large Language Models (LLMs) are incredibly powerful, but making them continuously learn and adapt to new tasks without expensive and time-consuming retraining has been a significant challenge. Traditional methods often involve fine-tuning, which means updating the model’s internal parameters. This process can be costly, inflexible, and difficult to understand.
A new research paper, titled “Learning from Supervision with Semantic and Episodic Memory: A Reflective Approach to Agent Adaptation,” introduces an innovative framework that allows LLM agents to learn and improve without altering their core parameters. Instead, it leverages a sophisticated memory system, drawing inspiration from how humans learn through experience and reflection.
A New Way to Learn: Memory-Augmented Agents
The core idea is to equip LLM agents with two types of external memory: episodic memory and semantic memory. This framework involves two main components: a Performance Agent (PA) that performs tasks and a Critic Agent (CA) that provides feedback.
When the Performance Agent makes a prediction, the Critic Agent steps in. It takes the agent’s prediction and the correct answer, then generates a detailed critique. These critiques are structured into three parts:
- Assertion: A clear statement of the correct answer and whether the PA’s initial response was right or wrong.
- Rationale: A specific explanation for why the correct answer is valid for that particular instance.
- Reflection: A broader, generalizable insight that could be useful for similar questions in the future.
This structured feedback helps to ground the critiques in supervised data, preventing the Critic Agent from simply reinforcing the LLM’s existing biases.
Two Types of Memory for Smarter Learning
The critiques are then incorporated into the agent’s memory:
- Episodic Memory: This stores instance-level critiques, capturing specific past experiences. Think of it like remembering a particular event and the lessons learned from it. When the agent encounters a new, similar task, it can retrieve these specific past critiques to inform its decision. This is akin to a retrieval-augmented generation (RAG) approach, where the agent recalls relevant examples.
- Semantic Memory: This distills the broader, generalizable insights (reflections) from many critiques into reusable, task-level guidance. It’s like forming general rules or principles from a collection of experiences. This memory provides high-level advice and cautions that can be added to the agent’s prompt during inference.
The research also explores a hybrid strategy, EP+SEM_CRIT, which combines both episodic and semantic memory to provide the Performance Agent with both specific examples and general guidance, aiming for more robust and adaptive reasoning.
Key Findings Across Diverse Tasks
The researchers evaluated their memory-augmented learning strategies across a variety of datasets, including fact-oriented tasks (like medical question answering and ranking) and personal preference-based tasks (like predicting user movie or game preferences). They compared their methods against baselines that relied only on labels or simple retrieval of examples.
A significant finding was that incorporating critiques led to substantial accuracy improvements, up to 24.8% over retrieval-based baselines. Interestingly, the benefits varied depending on the type of LLM and the nature of the task:
- OpenAI Models (GPT-4o-mini, o4-mini): These models showed more consistent gains from critique-based memory on preference-based datasets, where they lack inherent parametric knowledge about individual user preferences.
- Open-Source Models (Llama 4 Scout, Mixtral 8x22B, Llama 3.1 8B): These models demonstrated clearer improvements on fact-oriented data. They also benefited more when critiques were generated by higher-quality OpenAI models, suggesting that the quality of the critique itself is crucial.
Generally, episodic memory strategies (EP_CRIT) tended to outperform semantic memory (SEM_CRIT), indicating that models often benefit more from concrete, targeted examples than from high-level summaries.
Understanding “Suggestibility”
To better understand how models respond to feedback, the researchers introduced a novel metric called “suggestibility.” This measures how much an agent’s performance changes when given a helpful critique versus a misleading one. It helps explain why some models are more receptive to certain types of feedback than others.
The study found that models are generally more suggestible on preference data than on fact-oriented data. This is likely because LLMs have less pre-trained knowledge about individual preferences, making them more open to external guidance. Critiques, by providing rationale and reflection, generally increase suggestibility, making the provided labels more persuasive.
Also Read:
- Enhancing LLM Personalization with Critique-Post-Edit Learning
- LightMem: Enhancing LLM Memory with Human-Inspired Efficiency
The Future of Adaptive LLM Agents
This research highlights the immense potential of memory-driven, reflective learning for building more adaptive and interpretable LLM agents. By continuously learning from structured feedback and storing these insights in a reusable memory, agents can improve their performance and generalize more effectively to new tasks without the need for costly parameter updates. This approach offers a lightweight and transparent way for LLMs to continuously evolve and adapt, paving the way for more intelligent and responsive AI systems. You can read the full paper here: Learning from Supervision with Semantic and Episodic Memory: A Reflective Approach to Agent Adaptation.


