Deterministic Implementations for Reproducibility in Deep Reinforcement Learning

Prabhat Nagarajan, Garrett Warnell, Peter Stone
9/15/2018
cs.AI
rl

Official code: prabhatnagarajan/repro_dqn (6 stars, Python, MIT, last commit 2019-04-19).

Abstract

While deep reinforcement learning (DRL) has led to numerous successes in recent years, reproducing these successes can be extremely challenging. One reproducibility challenge particularly relevant to DRL is nondeterminism in the training process, which can substantially affect the results.

Show full abstract

Motivated by this challenge, we study the positive impacts of deterministic implementations in eliminating nondeterminism in training. To do so, we consider the particular case of the deep Q-learning algorithm, for which we produce a deterministic implementation by identifying and controlling all sources of nondeterminism in the training process. One by one, we then allow individual sources of nondeterminism to affect our otherwise deterministic implementation, and measure the impact of each source on the variance in performance. We find that individual sources of nondeterminism can substantially impact the performance of agent, illustrating the benefits of deterministic implementations. In addition, we also discuss the important role of deterministic implementations in achieving exact replicability of results.

View on arXivView PDF

Code Implementations(1)

MIT

This repository contains a reproducible implementation of Deep Q-learning using PyTorch and Python 2.7. This is done in the Arcade Learning Environment.

63Python, ShellApr 5, 20187 years agoMIT

Similar Papers

Cite this paper

@article{nagarajan2018deterministic,
  title  = {Deterministic Implementations for Reproducibility in Deep Reinforcement Learning},
  author = {Prabhat Nagarajan and Garrett Warnell and Peter Stone},
  year   = {2018},
  eprint = {1809.05676},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.05676}
}

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/1809.05676.svg)](https://codeofpaper.com/paper/1809.05676)

Discussion