dopamine

Baseline data

This directory provides information about the baseline data provided by Dopamine. The default hyperparameter configuration for the agents we are providing yields a standardized “apples to apples” comparison between them.

The default configuration files files for these agents (set up with gin configuration framework) are:

Visualization

We provide a website where you can quickly visualize the training runs for all our default agents.

The plots are rendered from a set of JSON files which we compiled. These may prove useful in their own right to compare against results obtained from other frameworks.

Legacy TensorFlow models

Dopamine agents originally used TensorFlow for its networks and agents, but has since migrated to Jax. The default configuration files files for the legacy TF agents (set up with gin configuration framework) are:

Hyperparemeter comparison

Our results compare the agents with the same hyperparameters: target network update frequency, frequency at which exploratory actions are selected (ε), the length of the schedule over which ε is annealed, and the number of agent steps before training occurs. Changing these parameters can significantly affect performance, without necessarily being indicative of an algorithmic difference. Unsurprisingly, DQN performs much better when trained with 1% of exploratory actions instead of 10% (as used in the original Nature paper). Step size and optimizer were taken as published. The table below summarizes our choices. All numbers are in ALE frames.

Note that these numbers were obtained with the legacy TensorFlow implementations.

  Our baseline results DQN C51 Rainbow IQN
Training ε 0.01 0.1 0.01 0.01 0.01
Evaluation ε 0.001 0.01 0.001 * 0.001
ε decay schedule 1,000,000 frames 4,000,000 frames 4,000,000 frames 1,000,000 frames 4,000,000 frames
Min. history to start learning 80,000 frames 200,000 frames 200,000 frames 80,000 frames 200,000 frames
Target network update frequency 32,000 frames 40,000 frames 40,000 frames 32,000 frames 40,000 frames