arXiv:2608.29860cs.LGAug 2026

Manuscript Offprint

arXiv:2608.29860

Uncertainty-Driven Replay Memory for Reinforcement Learning

Sheeraja Rajakrishnan, Alexander G. Ororbia, Travis Desell, Daniel E. Krutz

ABSTRACT

Uncertainty estimation provides promising capabilities for reinforcement learning (RL) agents. Notably, estimating uncertainty can reduce the training time and enable agents to obtain greater rewards over time by exploiting information related to whether an action would facilitate exploration of portions of an environment that are well-known versus those that are relatively unknown. In this work, we propose a novel formulation of the experience replay buffer commonly used in RL that we call uncertainty-driven replay memory (UDRM), which entails an update scheme for internally stored memories based on uncertainty estimates obtained by an RL model during training. In contrast to existing forms of RL, which typically use temporal difference error or the distribution of transitions to update the replay memory buffer and train RL controllers, our scheme biases the memory buffer to store more uncertain transitions that will improve an RL agent's generalization throughout training. Experimental results demonstrate that our proposed uncertainty-aware replay buffer enables an RL agent to obtain higher rewards during training compared to other existing uncertainty-aware RL frameworks.

Keywords Reinforcement Learning · Uncertainty Estimation · Experience Replay · Memory

1 Introduction

Predictions made by statistical learning models can be unreliable and are frequently overconfident [22, 31, 57]. This is an issue in reinforcement learning (RL) and one that uncertainty-aware models are equipped to tackle, leading to improved performance and trustworthiness [48, 58]. In RL, agents often make use of a memory replay buffer to learn from prior experience(s) [34]. However, many existing frameworks populate this replay buffer based on recency (for example, implementing a ring buffer data structure for storing transitions), temporal difference (TD) error [45], or with respect to certain features of the transitions/states. In this work, we propose a modified approach for populating the replay buffer based on the uncertainty as estimated by an agent model's action selection mechanism. In essence, in our framework, using uncertainty enables the RL model to make more optimal decisions when there is limited information about the model's action space. In this work, we make the following key contributions:

• We introduce a novel uncertainty-driven RL framework where an agent’s memory buffer is populated based on its prediction uncertainty.

• We provide empirical evidence that our proposed memory model, UDRM, obtains higher scores during training and higher overall average cumulative return when compared with UADQN [8] and CEQR-DQN [50] baselines.

• We demonstrate the performance of UDRM on MinAtar [55], Classic Control, and Toy Text Gym environments [53], to show the applicability of our model across varied environments.

References (28)