[Paper Review] A general sample complexity analysis of vanilla policy gradient
This paper provides a general sample complexity analysis of vanilla policy gradient (PG) methods using a novel ABC assumption on gradient variance, which subsumes common bounded gradient assumptions. It establishes a tight $ tilde{ m O}(^{-4})$ sample complexity for convergence to a first-order stationary point and $ tilde{ m O}(^{-3})$ for global optimum under a relaxed gradient domination condition, enabling broader hyperparameter flexibility including single-trajectory learning.
We adapt recent tools developed for the analysis of Stochastic Gradient Descent (SGD) in non-convex optimization to obtain convergence and sample complexity guarantees for the vanilla policy gradient (PG). Our only assumptions are that the expected return is smooth w.r.t. the policy parameters, that its $H$-step truncated gradient is close to the exact gradient, and a certain ABC assumption. This assumption requires the second moment of the estimated gradient to be bounded by $A\geq 0$ times the suboptimality gap, $B \geq 0$ times the norm of the full batch gradient and an additive constant $C \geq 0$, or any combination of aforementioned. We show that the ABC assumption is more general than the commonly used assumptions on the policy space to prove convergence to a stationary point. We provide a single convergence theorem that recovers the $\widetilde{\mathcal{O}}(ε^{-4})$ sample complexity of PG to a stationary point. Our results also affords greater flexibility in the choice of hyper parameters such as the step size and the batch size $m$, including the single trajectory case (i.e., $m=1$). When an additional relaxed weak gradient domination assumption is available, we establish a novel global optimum convergence theory of PG with $\widetilde{\mathcal{O}}(ε^{-3})$ sample complexity. We then instantiate our theorems in different settings, where we both recover existing results and obtain improved sample complexity, e.g., $\widetilde{\mathcal{O}}(ε^{-3})$ sample complexity for the convergence to the global optimum for Fisher-non-degenerated parametrized policies.
Motivation & Objective
- To provide a unified theoretical framework for analyzing the sample complexity of vanilla policy gradient (PG) methods in reinforcement learning.
- To weaken the assumptions required for convergence guarantees by introducing the ABC assumption on gradient variance, which generalizes existing bounded gradient-type assumptions.
- To establish tight sample complexity bounds for convergence to a first-order stationary point (FOSP) and, under additional conditions, to the global optimum.
- To enable broader hyperparameter choices, including single-trajectory learning (batch size $m=1$), while maintaining convergence guarantees.
- To recover and improve upon existing results in specific settings, such as softmax and log-barrier parametrizations.
Proposed method
- Introduce the ABC assumption, which bounds the second moment of the estimated gradient by a linear combination of the suboptimality gap, the norm of the full-batch gradient, and a constant.
- Adapt tools from non-convex stochastic optimization (e.g., SGD analysis) to analyze PG under the ABC assumption, leveraging smoothness of the expected return and truncation error of the $H$-step gradient.
- Derive a single convergence theorem that unifies analysis for both REINFORCE and GPOMDP variants under the ABC assumption and smoothness conditions.
- Use adaptive step size rules (e.g., $\eta_t = \min(1/b, 2/(μ(t - t_0 + 2b/\mu))$) to balance convergence rate and variance control.
- Establish global convergence under a relaxed weak gradient domination assumption, leading to improved sample complexity.
- Instantiate the general theorems in specific settings (e.g., softmax, log-barrier, tabular, LQR) to recover or improve prior results.
Experimental results
Research questions
- RQ1Can a general and unified convergence analysis be developed for vanilla PG that subsumes existing assumptions and improves sample complexity?
- RQ2How does the ABC assumption compare in generality and applicability to commonly used bounded gradient assumptions in PG analysis?
- RQ3What sample complexity bounds can be derived for PG under the ABC assumption, particularly for convergence to a first-order stationary point?
- RQ4Can the analysis be extended to global convergence, and what sample complexity is achievable under a relaxed gradient domination condition?
- RQ5In specific policy parametrizations (e.g., softmax, log-barrier), does the general framework yield tighter or improved sample complexity compared to prior work?
Key findings
- The paper establishes a $ tilde{ m O}(^{-4})$ sample complexity for convergence to a first-order stationary point under the ABC assumption, which is tighter than previous results in some settings.
- The ABC assumption is shown to be more general than standard bounded gradient assumptions and includes them as special cases.
- The analysis allows for flexible hyperparameters, including single-trajectory learning ($m=1$), and recovers the ${ m O}(^{-2})$ complexity for exact PG.
- Under a relaxed weak gradient domination assumption, the paper achieves a novel $ tilde{ m O}(^{-3})$ sample complexity for global optimum convergence, improving upon prior results.
- The framework recovers and improves upon existing sample complexity bounds in specific settings, such as $ tilde{ m O}(^{-6})$ for softmax with log-barrier (improving over prior $ tilde{ m O}(^{-6})$ with extra steps) and $ tilde{ m O}(^{-3})$ for Fisher-non-degenerate policies.
- The analysis is general enough to recover known results in settings like tabular policies, LQR, and projected PG, while extending the range of valid hyperparameters.
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.