Experience Replay with Random Reshuffling

Yasuhiro Fujita
3/4/2025
1 citation
cs.LGcs.AI
rl

Official code: pfnet-research/errr (6 stars, Python, last commit 2025-05-13).

Abstract

Experience replay is a key component in reinforcement learning for stabilizing learning and improving sample efficiency. Its typical implementation samples transitions with replacement from a replay buffer.

Show full abstract

In contrast, in supervised learning with a fixed dataset, it is a common practice to shuffle the dataset every epoch and consume data sequentially, which is called random reshuffling (RR). RR enjoys theoretically better convergence properties and has been shown to outperform with-replacement sampling empirically. To leverage the benefits of RR in reinforcement learning, we propose sampling methods that extend RR to experience replay, both in uniform and prioritized settings, and analyze their properties via theoretical analysis and simulations. We evaluate our sampling methods on Atari benchmarks, demonstrating their effectiveness in deep reinforcement learning. Code is available at https://github.com/pfnet-research/errr.

View on arXivView PDF

Code Implementations(1)

Code for the paper "Experience Replay with Random Reshuffling"

60PythonMar 4, 20251 years agoNOASSERTION

Similar Papers

Cite this paper

@article{fujita2025experience,
  title  = {Experience Replay with Random Reshuffling},
  author = {Yasuhiro Fujita},
  year   = {2025},
  eprint = {2503.02269},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.02269v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.02269.svg)](https://codeofpaper.com/paper/2503.02269)

Discussion