MLCrack

    REINFORCEMENT LEARNING · INTERVIEW QUESTION

    What is the actor-critic architecture? How does it address limitations of pure policy gradient methods?

    🟡 intermediate · Policy Gradient Methods

    Hint: Actor = policy, Critic = value function. Think about variance reduction.

    Answer

    Pure policy gradient (REINFORCE) uses Monte Carlo returns for gradient estimation — high variance, requires full episodes. Actor-Critic combines: Actor: parameterized policy π_θ(a|s) that selects actions. Critic: value function V_w(s) that evaluates states. The critic provides a baseline, reducing variance: ∇J ≈ Σ ∇log π_θ(a|s) · A(s,a) where advantage A = Q(s,a) - V(s).

    Benefits:

    1. Lower variance than REINFORCE
    2. Can update online (each step)
    3. Works with continuous actions.

    Variants: A2C (synchronous), A3C (asynchronous), GAE (Generalized Advantage Estimation for bias-variance tradeoff). SAC (Soft Actor-Critic) adds entropy maximization for exploration.