English

An Equivalence between Loss Functions and Non-Uniform Sampling in Experience Replay

Machine Learning 2020-10-23 v2 Machine Learning

Abstract

Prioritized Experience Replay (PER) is a deep reinforcement learning technique in which agents learn from transitions sampled with non-uniform probability proportionate to their temporal-difference error. We show that any loss function evaluated with non-uniformly sampled data can be transformed into another uniformly sampled loss function with the same expected gradient. Surprisingly, we find in some environments PER can be replaced entirely by this new loss function without impact to empirical performance. Furthermore, this relationship suggests a new branch of improvements to PER by correcting its uniformly sampled loss function equivalent. We demonstrate the effectiveness of our proposed modifications to PER and the equivalent loss function in several MuJoCo and Atari environments.

Keywords

Cite

@article{arxiv.2007.06049,
  title  = {An Equivalence between Loss Functions and Non-Uniform Sampling in Experience Replay},
  author = {Scott Fujimoto and David Meger and Doina Precup},
  journal= {arXiv preprint arXiv:2007.06049},
  year   = {2020}
}

Comments

NeurIPS 2020

R2 v1 2026-06-23T17:03:33.099Z