[Paper Review] Global Convergence of Policy Gradient Methods to (Almost) Locally Optimal Policies
The paper shows that random-horizon policy gradient methods can unbiasedly estimate the infinite-horizon gradient and converge to stationary points, and introduces a modified RPG with periodically enlarged stepsizes to escape saddle points and approach locally optimal policies, validated by inverted pendulum experiments.
Policy gradient (PG) methods are a widely used reinforcement learning methodology in many applications such as video games, autonomous driving, and robotics. In spite of its empirical success, a rigorous understanding of the global convergence of PG methods is lacking in the literature. In this work, we close the gap by viewing PG methods from a nonconvex optimization perspective. In particular, we propose a new variant of PG methods for infinite-horizon problems that uses a random rollout horizon for the Monte-Carlo estimation of the policy gradient. This method then yields an unbiased estimate of the policy gradient with bounded variance, which enables the tools from nonconvex optimization to be applied to establish global convergence. Employing this perspective, we first recover the convergence results with rates to the stationary-point policies in the literature. More interestingly, motivated by advances in nonconvex optimization, we modify the proposed PG method by introducing periodically enlarged stepsizes. The modified algorithm is shown to escape saddle points under mild assumptions on the reward and the policy parameterization. Under a further strict saddle points assumption, this result establishes convergence to essentially locally-optimal policies of the underlying problem, and thus bridges the gap in existing literature on the convergence of PG methods. Results from experiments on the inverted pendulum are then provided to corroborate our theory, namely, by slightly reshaping the reward function to satisfy our assumption, unfavorable saddle points can be avoided and better limit points can be attained. Intriguingly, this empirical finding justifies the benefit of reward-reshaping from a nonconvex optimization perspective.
Motivation & Objective
- Motivate rigorous understanding of global convergence for policy gradient methods in infinite-horizon MDPs.
- Introduce random-horizon Monte-Carlo rollouts to obtain unbiased gradient estimates.
- Link policy gradient convergence to nonconvex optimization tools and establish rates to stationary points.
- Propose Modified RPG with periodically enlarged stepsizes to escape saddles and converge to essentially locally-optimal policies.
- Demonstrate reward shaping benefits from a nonconvex optimization viewpoint and validate with experiments.
Proposed method
- Define RPG with random geometric rollout horizons to unbiasedly estimate Q and policy gradient.
- Provide EstQ and EstV subroutines to generate unbiased Q and value estimates via finite-horizon rollouts.
- Derive unbiased policy-gradient estimators (including baseline/advantage variants) and prove their boundedness.
- Prove asymptotic convergence of RPG to stationary points using a supermartingale argument.
- Propose Modified RPG (MRPG) with periodically enlarged stepsizes to escape saddle points under mild reward and parameterization assumptions.
- Show how baselines can reduce gradient variance and improve convergence.
Experimental results
Research questions
- RQ1Can random-horizon policy gradient methods asymptotically converge to stationary points of the infinite-horizon objective J(θ)?
- RQ2Under what conditions can policy gradient methods escape saddle points and converge to (approximately) second-order stationary points?
- RQ3Does reward shaping and regular policy parameterization influence the ability to attain locally optimal policies in RL?
- RQ4Do periodically enlarged stepsize strategies enhance convergence properties of policy gradient methods in nonconvex RL settings?
Key findings
- RPG with random horizons yields unbiased gradient estimates and converges almost surely to stationary points of J(θ).
- Finite-sample analysis yields convergence rates and establishes a constant learning-rate corollary for RL under standard assumptions.
- MRPG with periodically enlarged stepsizes can escape saddle points and converge to approximate second-order stationary points under mild reward and regularity assumptions.
- In practice, reward reshaping can help avoid unfavorable saddle points and improve limiting solutions, providing empirical support for the nonconvex optimization viewpoint.
- Baseline integration in gradient estimates reduces variance and maintains convergence to stationary points.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.