Skip to main content
QUICK REVIEW

[Paper Review] Greedy-GQ with Variance Reduction: Finite-time Analysis and Improved Complexity

Shaocong Ma, Ziyi Chen|arXiv (Cornell University)|Mar 30, 2021
Reinforcement Learning in RoboticsComputer Science36 references7 citations
TL;DR

This paper proposes VR-Greedy-GQ, a variance-reduced two time-scale reinforcement learning algorithm for off-policy optimal control under linear function approximation and Markovian sampling. By integrating the SVRG scheme to reduce stochastic gradient variance in both time-scale updates, the method achieves an improved sample complexity of $\mathcal{O}(\epsilon^{-2})$, significantly reducing the $\mathcal{O}(\epsilon^{-3})$ complexity of the original Greedy-GQ while maintaining convergence to an $\epsilon$-stationary point.

ABSTRACT

Greedy-GQ is a value-based reinforcement learning (RL) algorithm for optimal control. Recently, the finite-time analysis of Greedy-GQ has been developed under linear function approximation and Markovian sampling, and the algorithm is shown to achieve an $ε$-stationary point with a sample complexity in the order of $\mathcal{O}(ε^{-3})$. Such a high sample complexity is due to the large variance induced by the Markovian samples. In this paper, we propose a variance-reduced Greedy-GQ (VR-Greedy-GQ) algorithm for off-policy optimal control. In particular, the algorithm applies the SVRG-based variance reduction scheme to reduce the stochastic variance of the two time-scale updates. We study the finite-time convergence of VR-Greedy-GQ under linear function approximation and Markovian sampling and show that the algorithm achieves a much smaller bias and variance error than the original Greedy-GQ. In particular, we prove that VR-Greedy-GQ achieves an improved sample complexity that is in the order of $\mathcal{O}(ε^{-2})$. We further compare the performance of VR-Greedy-GQ with that of Greedy-GQ in various RL experiments to corroborate our theoretical findings.

Motivation & Objective

  • To address the high sample complexity of Greedy-GQ under Markovian sampling, which stems from large stochastic variance in off-policy temporal difference updates.
  • To develop a variance-reduction scheme tailored for the two time-scale updates in Greedy-GQ, leveraging the SVRG framework to stabilize learning.
  • To establish finite-time convergence guarantees for the proposed algorithm under linear function approximation and Markovian sampling.
  • To demonstrate theoretically and empirically that variance reduction leads to improved sample efficiency in optimal control.

Proposed method

  • The algorithm applies the SVRG-based variance reduction technique to both the fast and slow time-scale updates in Greedy-GQ, using a reference batch of size $M$ to compute control variates.
  • It maintains a snapshot of parameters $\widetilde{\theta}^{(m)}$ and $\widetilde{\omega}^{(m)}$ at the start of each outer loop to reduce variance in stochastic gradients.
  • The method uses two separate learning rates $\eta_\theta$ and $\eta_\omega$ for the policy parameter $\theta$ and the value function parameter $\omega$, respectively, in a two time-scale update scheme.
  • Theoretical analysis bounds the bias and variance errors at $\mathcal{O}(M^{-1})$ and $\mathcal{O}(\eta_\theta M^{-1})$, respectively, showing that variance is reduced by a factor of $M$ compared to Greedy-GQ.
  • The algorithm is designed for off-policy learning with linear function approximation, using experience replay and Markovian sampling from a behavior policy.
  • The convergence analysis extends SVRG-style arguments to two time-scale, non-convex settings, requiring novel variance and bias control techniques under Markovian dependence.

Experimental results

Research questions

  • RQ1Can a variance-reduction scheme be effectively applied to the two time-scale updates in Greedy-GQ to reduce stochastic gradient variance under Markovian sampling?
  • RQ2Does the proposed variance-reduced algorithm achieve a better sample complexity than the original Greedy-GQ in finite-time settings?
  • RQ3Can the SVRG framework be adapted to handle the correlated, non-convex updates in two time-scale reinforcement learning?
  • RQ4What is the theoretical trade-off between batch size $M$, learning rate $\eta_\theta$, and convergence error in the variance-reduced setting?
  • RQ5How does the bias and variance of the updates scale with $M$ and $\eta_\theta$ in the finite-time regime?

Key findings

  • VR-Greedy-GQ achieves an $\epsilon$-stationary point with a sample complexity of $\mathcal{O}(\epsilon^{-2})$, improving upon the $\mathcal{O}(\epsilon^{-3})$ complexity of the original Greedy-GQ.
  • The bias error due to Markovian sampling is reduced to $\mathcal{O}(M^{-1})$, and the variance error is reduced to $\mathcal{O}(\eta_\theta M^{-1})$, both by a factor of $M$ compared to Greedy-GQ.
  • Theoretical analysis confirms that the variance-reduction mechanism significantly reduces both bias and variance in the two time-scale updates under linear function approximation.
  • Empirical evaluations on the Garnet and Frozen Lake environments show that VR-Greedy-GQ converges faster and achieves higher maximum expected rewards than Greedy-GQ.
  • The algorithm maintains stable performance across multiple trajectories, with the maximum estimated reward increasing steadily over training, indicating effective policy optimization.
  • The improvement in sample complexity is attributed to the SVRG-based control variate mechanism, which reduces gradient noise in both time-scale updates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.