English

A general sample complexity analysis of vanilla policy gradient

Machine Learning 2022-11-21 v5 Optimization and Control Machine Learning

Abstract

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 HH-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 A0A\geq 0 times the suboptimality gap, B0B \geq 0 times the norm of the full batch gradient and an additive constant C0C \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 O~(ϵ4)\widetilde{\mathcal{O}}(\epsilon^{-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 mm, including the single trajectory case (i.e., m=1m=1). When an additional relaxed weak gradient domination assumption is available, we establish a novel global optimum convergence theory of PG with O~(ϵ3)\widetilde{\mathcal{O}}(\epsilon^{-3}) sample complexity. We then instantiate our theorems in different settings, where we both recover existing results and obtain improved sample complexity, e.g., O~(ϵ3)\widetilde{\mathcal{O}}(\epsilon^{-3}) sample complexity for the convergence to the global optimum for Fisher-non-degenerated parametrized policies.

Keywords

Cite

@article{arxiv.2107.11433,
  title  = {A general sample complexity analysis of vanilla policy gradient},
  author = {Rui Yuan and Robert M. Gower and Alessandro Lazaric},
  journal= {arXiv preprint arXiv:2107.11433},
  year   = {2022}
}

Comments

Accepted at AISTATS 2022. This version updates references and adds acknowledgement to Matteo Papini who greatly improved our work before the submission

R2 v1 2026-06-24T04:28:32.922Z