Pages and contents
Pages
- Non-Generative World Model Research
- Literature Review
- Literature Notes
- Attention
- Memory
- Neural Episodic Control
- Modern Hopfield Networks
- Retrieval Augmented Reinforcement Learning
- Classical Energy Reasoning
- Energy Based Reasoners
- Planning
- Reviews
- Reinforcement Learning
- World Model Papers
- Biological
- World Models
- Representation
- Training
- Template
- Important Concepts
- Models
- Resources
Retrieval Augmented Reinforcement Learning
0\. Metadata
Field | Value | |
|---|---|---|
| ⋮⋮ | Authors | Goyal, Friesen et. al. |
| ⋮⋮ | Year / Venue | 2022 |
| ⋮⋮ | Link / arXiv | https://arxiv.org/pdf/2202.08417 |
| ⋮⋮ | Code | |
| ⋮⋮ | Read status | |
| ⋮⋮ | My relevance (1-5) | 5 |
| ⋮⋮ | Tags | #memory #rl #reinforcementlearning #augment #retrieval #r2a |
1\. Main Idea (TL;DR)
The authors attach a large memory bank that a RL agent learns to access useful context from.
2\. Problem & Motivation
Most models distill experience into the network through backpropagation which is inefficient for the following reasons:
1. It is computationally expensive
2. It can take many updates to integrate experiences
3. Experiences that are not fully integrated do not appropriately influence the agent's behavior
4. Behavior is limited by the capacity of the model
For networks that learn general rules through iterative weight updates, an agent may not be able to exploit the specific guidance that a handful of individual past experiences could provide, nor rapidly incorporate novel experience that becomes available.
The authors seek to augment an RL agent with a retrieval process of a dataset of past experiences. The retrieval process is trained to retrieve information from the dataset that may be useful in the current context, to help the agent achieve its goal faster and more efficiently.
The authors begin with a hypothetical example
A host is preparing a holiday meal for friends. They remember that the last time they went to the grocery store during the holiday season, all of the fresh produce was sold out. Thinking back to this past experience, they decide to go early! The hypothetical host is employing case-based reasoning (e.g., Kolodner, 1992; Leake, 1996). Here, an agent recalls a situation similar to the current one and uses information from the previous experience to solve the current task. This may involve adapting old solutions to meet new demands, or using previous experiences to make sense of new situations.
3\. Architecture
[image: 2026-07-02_23-25-15.png]
The high-level idea is to have two different processes. First, the retrieval process makes a “query” for relevant contextual information in the dataset. Second, the agent process performs inference and learning based on the information provided by the retrieval process.
The retrieval process is parameterized as a neural network with its own internal state. The agent process ingests the information from the retrieval process, which is passed to the action-value function to select actions.
4\. Method
R2A consists of a retrieval process and an agent process, parameterized by