Skip to main content
QUICK REVIEW

[Paper Review] Finite-Time Analysis of Stochastic Gradient Descent under Markov Randomness

Thinh T. Doan, Lam M. Nguyen|arXiv (Cornell University)|Mar 24, 2020
Stochastic Gradient Optimization TechniquesComputer Science19 references11 citations
TL;DR

This paper provides a finite-time convergence analysis of stochastic gradient descent (SGD) when gradients are sampled from a Markov process, showing that convergence rates are within a logarithmic factor of those under i.i.d. sampling. The key contribution is establishing convergence without requiring bounded iterates or gradients, with the logarithmic factor tied to the Markov chain's mixing time.

ABSTRACT

Motivated by broad applications in reinforcement learning and machine learning, this paper considers the popular stochastic gradient descent (SGD) when the gradients of the underlying objective function are sampled from Markov processes. This Markov sampling leads to the gradient samples being biased and not independent. The existing results for the convergence of SGD under Markov randomness are often established under the assumptions on the boundedness of either the iterates or the gradient samples. Our main focus is to study the finite-time convergence of SGD for different types of objective functions, without requiring these assumptions. We show that SGD converges nearly at the same rate with Markovian gradient samples as with independent gradient samples. The only difference is a logarithmic factor that accounts for the mixing time of the Markov chain.

Motivation & Objective

  • To analyze the finite-time convergence of SGD when gradients are generated by a Markov process, which introduces bias and dependence.
  • To remove common assumptions in prior work, such as bounded iterates or bounded gradients, which are often unrealistic in settings like reinforcement learning.
  • To establish convergence rates for SGD under Markovian sampling that are nearly as fast as those under i.i.d. sampling, with only a logarithmic penalty due to mixing time.
  • To provide a unified analysis across multiple objective function classes: strongly convex, smooth with error bounds, and nonconvex smooth functions.

Proposed method

  • The analysis uses a novel Lyapunov-type argument to bound the expected decrease in objective function value per iteration, accounting for Markovian dependency in gradients.
  • It introduces a time-varying step size rule, α_k = α₀ / √k, which balances convergence speed and noise averaging.
  • The method incorporates a random selection rule for the final iterate x_R, where the probability is proportional to 2α_k − Lα_k², ensuring a favorable expected gradient norm.
  • The analysis leverages the mixing time of the underlying Markov chain to control the bias and variance of gradient samples, introducing a logarithmic factor in the convergence bound.
  • It establishes bounds on the expected squared norm of the gradient ∥∇f(x_R)∥²_* using recursive inequalities and summation over iterations.
  • The proof relies on assumptions of Lipschitz continuity of ∇f and boundedness of gradient samples, but avoids assumptions on bounded iterates or compact feasible sets.

Experimental results

Research questions

  • RQ1Can SGD achieve near-optimal convergence rates when gradients are sampled from a Markov process, despite dependence and bias?
  • RQ2How does the mixing time of the Markov chain affect the convergence rate of SGD?
  • RQ3Can convergence be established without assuming bounded iterates or bounded gradients, especially in reinforcement learning contexts?
  • RQ4What is the finite-time convergence rate of SGD under Markovian sampling for nonconvex, smooth, and strongly convex objectives?

Key findings

  • The expected squared gradient norm E[∥∇f(x_R)∥²_*] is bounded by O(1/√T) plus logarithmic terms, matching the rate of i.i.d. SGD up to a logarithmic factor.
  • The convergence rate is within a logarithmic factor of the i.i.d. case, where the factor depends on the mixing time of the Markov chain generating the gradients.
  • The analysis holds without requiring bounded iterates or bounded gradients, making it applicable to settings like reinforcement learning where such assumptions are often invalid.
  • For nonconvex smooth objectives, the method achieves E[∥∇f(x_R)∥²_*] ≤ O(1/√T) with a logarithmic penalty due to mixing time.
  • The bound includes terms related to the initial distance to the optimal set and the variance of gradient samples, both controlled via the step size and mixing time.
  • The final iterate x_R is selected with a non-uniform probability proportional to 2α_k − Lα_k², which improves the convergence guarantee compared to uniform selection.

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.