Probabilistic Successor Representations with Kalman Temporal Differences

Jesse P. Geerts, Kimberly L. Stachenfeld, Neil BurgessarXiv 2019 · DOI

Abstract

The effectiveness of Reinforcement Learning (RL) depends on an animal's ability to assign credit for rewards to the appropriate preceding stimuli. One aspect of understanding the neural underpinnings of this process involves understanding what sorts of stimulus representations support generalisation. The Successor Representation (SR), which enforces generalisation over states that predict similar outcomes, has become an increasingly popular model in this space of inquiries. Another dimension of credit assignment involves understanding how animals handle uncertainty about learned associations, using probabilistic methods such as Kalman Temporal Differences (KTD). Combining these approaches, we propose using KTD to estimate a distribution over the SR. KTD-SR captures uncertainty about the estimated SR as well as covariances between different long-term predictions. We show that because of this, KTD-SR exhibits partial transition revaluation as humans do in this experiment without additional replay, unlike the standard TD-SR algorithm. We conclude by discussing future applications of the KTD-SR as a model of the interaction between predictive and probabilistic animal reasoning.

Introduction

In Reinforcement Learning, an agent must assign credit for rewards to the states and actions that preceded them. Two prominent frameworks for this are the Successor Representation (SR) and uncertainty-based learning. The SR caches long-term expectations of future state occupancies, facilitating rapid adaptation when rewards change. However, it traditionally struggles with "transition revaluation"—updating values when the environment's structure changes (e.g., a path is blocked)—unless augmented with computationally expensive memory replay. Humans, conversely, exhibit a natural ability for such revaluation. This paper introduces KTD-SR, which integrates Kalman Temporal Differences (KTD) with the SR to model uncertainty and state dependencies, enabling human-like transition revaluation without explicit replay.

Methods

KTD-SR replaces the standard point-estimate Temporal Difference (TD) learning used in SR with a Kalman Filter approach. While the standard SR learns a matrix $M$ where $M(s, s')$ represents the discounted future occupancy of state $s'$ from state $s$, KTD-SR maintains a probability distribution over these parameters, including a mean and a covariance matrix.

This covariance tracks how different entries in the SR matrix relate. When the agent encounters a change in a local transition, the Kalman gain allows for non-local updates; information about a "downstream" state can propagate "upstream" to states not currently being visited. This mimics a form of reasoning without the heavy computational lift of full model-based planning.

Results

The model was evaluated using simulations of human behavioral tasks from Momennejad et al. (2017). In these tasks, participants learn state sequences and then encounter changes in either the reward values or the transition structure.

Kalman SR estimates during learning and re-learning phases.

As shown in the heatmaps above, KTD-SR accurately estimates the SR matrix and adapts its internal representation during re-learning. Crucially, the model captures the uncertainty and covariance associated with these estimates, allowing it to update its world view in a single step using the Kalman gain matrix.

Comparison of revaluation scores across different RL models.

Quantitative results demonstrate that while standard TD-SR fails at transition revaluation (scoring near zero), KTD-SR achieves partial transition revaluation. This performance closely mirrors human data, where revaluation is present but often imperfect. Unlike "Hybrid SR" models that rely on a replay buffer to simulate past experiences, KTD-SR achieves this through its probabilistic update rule, propagating information across the state space instantly.

Discussion and Future Work

KTD-SR offers a biologically plausible mechanism for transition revaluation by leveraging the covariance between state predictions. It explains several animal conditioning phenomena that standard RL cannot, suggesting the brain might perform similar probabilistic updates.

However, the model faces challenges in scalability due to the $O(n^4)$ complexity of the covariance matrix for $n$ states. Future work will explore dimensionality reduction techniques, such as successor features, and test the model on more complex tasks like policy revaluation. By treating the SR as a distribution, KTD-SR provides a robust framework for understanding the interplay between predictive and probabilistic reasoning in biological agents.

Summary updated

Abstract

The effectiveness of Reinforcement Learning (RL) depends on an animal's ability to assign credit for rewards to the appropriate preceding stimuli. One aspect of understanding the neural underpinnings of this process involves understanding what sorts of stimulus representations support generalisation. The Successor Representation (SR), which enforces generalisation over states that predict similar outcomes, has become an increasingly popular model in this space of inquiries. Another dimension of credit assignment involves understanding how animals handle uncertainty about learned associations, using probabilistic methods such as Kalman Temporal Differences (KTD). Combining these approaches, we propose using KTD to estimate a distribution over the SR. KTD-SR captures uncertainty about the estimated SR as well as covariances between different long-term predictions. We show that because of this, KTD-SR exhibits partial transition revaluation as humans do in this experiment without additional replay, unlike the standard TD-SR algorithm. We conclude by discussing future applications of the KTD-SR as a model of the interaction between predictive and probabilistic animal reasoning.
BibTeX
@misc{geerts2019probabilistic,
  author = {Jesse P. Geerts and Kimberly L. Stachenfeld and Neil Burgess},
  title = {{Probabilistic Successor Representations with Kalman Temporal Differences}},
  year = {2019},
  eprint = {1910.02532},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.02532},
}
Figure