techlist.io

Baseline

1 posts

OpenAI2018-03-192 min readCurated summary

Variance reduction for policy gradient with action-dependent factorized baselines

Policy gradient methods work well in deep reinforcement learning, but their gradient estimates have high variance, especially in long-horizon tasks and those with high-dimensional action spaces. This post derives a bias-free, action-dependent baseline that uses the structure of the stochastic policy without adding assumptions about the MDP. The authors show through theory and experiments that it reduces variance and speeds learning, and that it scales to high-dimensional control. ## The Variance Problem in Policy Gradients - Policy gradient estimates often vary widely between samples, which slows and destabilizes learning. - The problem worsens as the horizon grows or the action space becomes higher-dimensional. ## An Action-Dependent, Bias-Free Baseline - The baseline depends on the action as well as the state, going beyond the conventional state-dependent baselines. - It exploits the factorized form of the stochastic policy itself, so it needs no additional assumptions about the environment. - The method stays computationally efficient, which makes it practical for large problems. ## Theoretical and Empirical Results - The authors quantify the variance benefit of the action-dependent baseline analytically. - They also analyze how suboptimal the optimal state-dependent baseline is, which shows the gap the new baseline closes. - On standard RL benchmarks and high-dimensional hand manipulation tasks, the action-dependent baseline yields faster learning. ## Scaling and Extensions - The approach scales to a synthetic 2000-dimensional target matching task. - The general idea of adding extra information to baselines also extends to partially observed and multi-agent settings. For practitioners facing high-dimensional action spaces or long horizons, the post suggests that an action-dependent factorized baseline is a low-cost way to reduce gradient variance without introducing bias.