Actor-Critic with neural networks: separate networks for policy (actor) and value (critic). Actor uses critic's gradient to reduce variance.
The problem, from first principles
Policy gradients have high variance. Actor-Critic uses learned baseline V(s) to compute advantage, reducing variance dramatically. Both networks trained jointly.
Hint 1: Separate networks
Actor outputs policy, critic outputs scalar value
Hint 2: Advantage computation
A(s,a) = r + γV(s') - V(s)
Hint 3: Joint training
Sample trajectory once, update both networks
Keywords
rlactor-criticdeep-learningpolicy-gradient
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.