Advantage Actor-Critic (A3C): parallel actors, shared policy and value networks. Each actor collects rollouts, computes advantages, and pushes updates asynchronously.
The problem, from first principles
Actor-Critic is good but samples slowly. A3C parallelizes: N workers collect N independent episodes concurrently, all update the same shared network without locks. Massive speedup, no batching needed.
Hint 1: Entropy regularization
H(π) = -π log π, added to actor loss to encourage exploration
Hint 2: Per-worker updates
Each worker maintains local copy, pushes gradients to shared weights
Hint 3: Trajectory processing
Process entire episode from trajectory, compute advantages via bootstrapped values
Keywords
rla3cactor-criticparallel
Python
Run your code to see results
No results yet
Run your code to check it against the examples, or submit to run every test.