papers / a3c2016
Next task →
Research Papers/Deep RL and RLHF/Asynchronous Methods for Deep Reinforcement Learning
Deep RL and RLHF · #2 · seminal

Asynchronous Methods for Deep Reinforcement Learning

Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy P. Lillicrap et al. · 2016 · ICML
reproduction difficulty: mediumReinforcement LearningParallelismDeep Learning

1. Research problem

Deep RL relied on experience replay, which requires large memory and only works with off-policy algorithms.

2. Motivation

The authors wanted a stable on-policy training scheme that uses parallel actors to decorrelate data instead of a replay buffer.

3. Previous approaches

DQN used replay and target networks; earlier parallel RL existed but was not scaled to asynchronous deep networks on a single machine.

4. Core contribution

Introduced asynchronous advantage actor-critic (A3C), where multiple worker agents train a shared network in parallel on separate environment instances with n-step returns.

5. Mathematical formulation

Workers compute policy gradients with advantage estimates and value-function gradients, apply updates asynchronously to shared parameters, using n-step returns to trade bias and variance.

6. Methodology

Run several actor-learner threads with separate environments, compute n-step advantages locally, and push asynchronous gradient updates to one shared parameter set.

7. Architecture

One convolutional policy/value network shared across CPU threads, each with its own environment copy.

8. Experimental setup

Atari games, continuous-control tasks in MuJoCo, and a navigating task in Labyrinth.

9. Datasets

Atari 2600, MuJoCo continuous-control environments, custom maze environments.

10. Results

Matched or exceeded DQN performance using much less wall-clock time on multi-core CPUs, without experience replay, and extended to continuous actions.

11. Limitations

Asynchronous updates introduce staleness and nondeterminism; later synchronous batched implementations often outperform it on GPUs.

12. Critical analysis

A systems-flavored RL result: parallelism replaced replay as the decorrelation mechanism, influencing later distributed RL and PPO implementations.

13. Implementation tasks

  • 1.Implement A3C with several parallel workers on a simple environment and compare with single-thread A2C.
  • 2.Sweep the n-step return length and observe bias-variance effects.
  • 3.Measure throughput scaling with the number of workers.

14. Follow-up work

  • 1.Proximal Policy Optimization Algorithms (Schulman et al., 2017)
  • 2.IMPALA: Scalable Distributed Deep-RL with Importance Weighted Actor-Learner Architectures (Espeholt et al., 2018)

15. Open research questions

  • 1.How much staleness can asynchronous updates tolerate?
  • 2.When is replay better than parallel actors for decorrelation?
16. Reproduce it. Record the hypothesis, configuration, dataset, metrics and discrepancies in the Experiment Tracker. A reproduction is not complete until you have run the experiments, performed at least one ablation and documented the differences from the reported numbers.