# When Does Non-Uniform Replay Matter in Reinforcement Learning?

*Michal Korniak, Mikołaj Czarnecki, Yarden As, Piotr Miłoś, Pieter Abbeel, Michal Nauman*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153281) · [Open on the map](../papers.html#p153281)

Category: [Reinforcement Learning & Games](../pcat/10.md) › [Reinforcement Learning](../pgroup/643.md) · Type: new method · Keywords: non-uniform replay, replay buffer sampling, sample efficiency, reinforcement learning, Truncated Geometric replay

Areas: [RL for LLMs & Agents](../areas/llm-rl.md) › LLM Policy Optimization › LLM Policy Optimization

## Summary
The paper clarifies when non-uniform replay benefits off-policy reinforcement learning and proposes Truncated Geometric replay as a simple high-entropy sampling strategy that improves sample efficiency in low-volume regimes.

## Explained to a 5-year-old
In learning to play games with computers, the computer remembers past experiences. Usually it remembers them all equally. This paper asks when remembering some experiences more often helps. It finds that when there are few memories, picking recent ones helps, but you should still keep the choices varied. The paper suggests a simple way to do this that works well and doesn't need extra computer power.

## Explained to a 5-year-old, longer
When a computer learns to do something, like play a game, it tries many actions and sees what works. After each try, it stores what happened in a memory called a replay buffer. Most of the time, the computer picks old memories at random, without caring which ones are newer. This paper looks at whether picking some memories more often can make the computer learn faster. It studies three things: how many memories are kept, how recent the chosen memories are, and how varied the choices are. The research shows that when there are only a few memories, choosing newer ones helps a lot. Even when memories are recent, it is still important to keep the selection varied. Based on these findings, the authors create a simple rule for picking memories that favors recent ones but stays varied. This rule is easy to add to existing learning systems and does not need extra computer power. They test this rule with many different learning algorithms and many different game environments. The new rule makes the computer learn more efficiently when memory is limited, while still performing well when memory is abundant. In short, the paper gives clear advice on when and how to change the way we remember past experiences in computer learning.

## For a technical reader
The paper investigates when non-uniform sampling from the replay buffer improves off-policy RL over the common uniform sampling baseline. It identifies replay volume, expected recency, and sampling entropy as key factors governing this improvement. Based on these insights, the authors propose Truncated Geometric replay, a simple high-entropy scheme that biases recent experiences while keeping computational overhead negligible. Empirical evaluations across multiple algorithms and benchmark suites confirm that this strategy boosts sample efficiency in low-volume regimes and remains competitive at high volumes.

## Problem
It is unclear when and why non-uniform replay improves over uniform replay in off-policy reinforcement learning. The problem is to understand the factors that govern the effectiveness of non-uniform replay and to provide guidance for designing replay strategies.

## Method
The approach investigates three factors-replay volume, expected recency, and entropy of the sampling distribution-to determine when non-uniform replay is beneficial. It then introduces a simple sampling scheme that biases toward recent experience while maintaining high entropy and low computational cost. Empirical evaluations across multiple algorithms and benchmark suites assess the performance of this scheme in various settings.

## Results
The approach shows improved sample efficiency in low-volume regimes and remains competitive at high replay volumes.

## Contributions
It clarifies the conditions under which non-uniform replay is beneficial, identifies key factors (replay volume, recency, entropy), and proposes a simple high-entropy sampling strategy for replay design.

## Practical relevance
The findings and guidance help practitioners design more effective replay strategies, improving sample efficiency in resource-constrained RL settings.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153281)
