Loading...
Loading...
Loading Curriculum...
Loading Subject...
Loading Topic...
Loading Lesson...
Loading Lab...
Actor-Critic is a hybrid reinforcement learning architecture that combines the strengths of both policy-based (Actor) and value-based (Critic) methods to achieve stable, sample-efficient learning in complex environments.
Critic calculates the **TD Error** (advantage signal) which guides policy updates in the Actor.
Standard policy gradient algorithms suffer from high variance. Subtracted baselines reduce variance without introducing bias. Here is the complete proof that the expected value of the baseline gradient term equals zero:
Since the sum of probability over all actions is always equal to 1, its gradient with respect to policy parameters
is always 0.This mathematically guarantees that adding any state-dependent baseline
will not introduce bias to our policy gradient estimate.In Actor-Critic frameworks, we use the Critic value function
as the baseline, establishing the Advantage:Watch a 1D Cliff walk agent update its Actor preferences and Critic values in real-time.
Over time, the average return increases as the agent learns to avoid the Cliff (State 5) and reach the Goal (State 6).