A Generative Model for Episodic-Memory-Based Reinforcement Learning

Reinforcement learning algorithms are usually evaluated in environments whose rewards drift smoothly in time, but real environments also contain sudden changes to new events and returns to previously experienced ones. We introduce a generative model of a sequence of two-armed bandit trials, each paired with a contextual cue (a picture). The state of the world drifts as an OrnsteinUhlenbeck process, while the agent's location in that world can move sequentially or jump to new or previously visited states. Exact Bayesian inference in this model is intractable. We argue that a Contextual Episodic learner, which recalls past episodes by temporal context, is a reasonable approximate inference method, and we compare it with RescorlaWagner and Hybrid learners in four scenarios that dier in how often the agent jumps. RescorlaWagner learning collects the most reward when the world changes slowly without jumps, the Hybrid model performs best when sequential exploration is interrupted by occasional jumps, and the Contextual Episodic model performs best when jumps are frequent. These results indicate which environmental statistics favour episodic recall. We do not compare against exact or other approximate inference methods, which remains future work.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24797899
Primary Topic
Reinforcement Learning in Robotics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A Generative Model for Episodic-Memory-Based Reinforcement Learning

Sofia Alejandra Jativa Vega
Zenodo (CERN European Organization for Nuclear Research)
Reinforcement Learning in Robotics
article

A Generative Model for Episodic-Memory-Based Reinforcement Learning

Sofia Alejandra Jativa Vega
article en

Abstract

Reinforcement learning algorithms are usually evaluated in environments whose rewards drift smoothly in time, but real environments also contain sudden changes to new events and returns to previously experienced ones. We introduce a generative model of a sequence of two-armed bandit trials, each paired with a contextual cue (a picture). The state of the world drifts as an OrnsteinUhlenbeck process, while the agent's location in that world can move sequentially or jump to new or previously visited states. Exact Bayesian inference in this model is intractable. We argue that a Contextual Episodic learner, which recalls past episodes by temporal context, is a reasonable approximate inference method, and we compare it with RescorlaWagner and Hybrid learners in four scenarios that dier in how often the agent jumps. RescorlaWagner learning collects the most reward when the world changes slowly without jumps, the Hybrid model performs best when sequential exploration is interrupted by occasional jumps, and the Contextual Episodic model performs best when jumps are frequent. These results indicate which environmental statistics favour episodic recall. We do not compare against exact or other approximate inference methods, which remains future work.

Zenodo (CERN European Organization for Nuclear Research)
Gatsby Computational Neuroscience Unit (GB)
Reinforcement Learning in Robotics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon