AI & ML Atlas
Reinforcement LearningalgorithmAnimated walkthrough
Asynchronous Advantage Actor-Critic (A3C)
Many workers learn in parallel and update shared weights asynchronously.
The idea
Several actor-learners run on different CPU threads, each with its own copy of the environment, and push gradients to a shared global network without waiting for each other. The diversity of their experience decorrelates the data, so no replay buffer is needed.
Watch it run
The pipeline lights up one step at a time. Use the controls to pause or step through it.
- 1Each worker copies the global weights.
- 2It acts for a few steps in its own environment.
- 3It computes actor and critic gradients.
- 4It applies them to the global network asynchronously.
1/4
Step by step
- 1Each worker copies the global weights.
- 2It acts for a few steps in its own environment.
- 3It computes actor and critic gradients.
- 4It applies them to the global network asynchronously.
Where it is used
Training on CPUs without a replay buffer.
Watch out for
Stale gradients; the synchronous A2C is usually just as good on GPUs.