Abstract
Stochastic gradient methods are the workhorse algorithms of large-scale optimization problems in machine learning, signal processing, and other computational sciences and engineering. This paper studies Markov chain gradient descent (MCGD), a variant of stochastic gradient descent where the random samples are taken on the trajectory of a Markov chain. Existing results of this method assume convex objectives and a reversible Markov chain and thus have their limitations. We establish new non-ergodic convergence under wider step sizes, for nonconvex problems, and for non-reversible finite-state Markov chains. Nonconvexity makes our method applicable to broader problem classes. Non-reversible finite-state Markov chains, on the other hand, can mix substantially faster. To obtain these results, we introduce a new technique that varies the mixing levels of the Markov chains. The reported numerical results validate our contributions.
Introduction
Stochastic Gradient Descent (SGD) is the standard for modern large-scale optimization. However, its reliance on independent and identically distributed (i.i.d.) samples is often impractical in distributed or networked environments. In such scenarios, obtaining an i.i.d. sample might require global coordination. A more efficient alternative is Markov Chain Gradient Descent (MCGD), where samples are drawn sequentially along a Markov chain trajectory. While computationally cheaper, this approach introduces bias due to the temporal dependence of samples.
Historically, MCGD theory was restricted to convex objectives and reversible Markov chains. This research extends the theoretical framework to encompass non-convex objectives and non-reversible chains, aligning the theory with practical applications in deep learning and distributed systems.
Methodology and Theoretical Innovations
The MCGD algorithm follows the update rule: $$x^{k+1} = \text{Proj}_X(x^k - \gamma_k \nabla F(x^k; \xi^k))$$ where $\xi^k$ is the $k$-th state of a Markov chain. The authors introduce several key theoretical advancements:
- Non-Ergodic Convergence: Unlike previous works focusing on the average of iterates, this paper proves convergence for the actual sequence of iterates, providing stronger practical guarantees.
- Varying Mixing Levels: A novel proof technique is introduced that allows for varying mixing levels. This accounts for the need for higher precision gradient information as the algorithm nears the optimum.
- Non-Reversible Chains: The theory is extended to non-reversible finite-state Markov chains, which are known to reach equilibrium faster than reversible ones.
Numerical Validation
The theoretical results were tested using simulated data, including an auto-regressive process for logistic and non-convex loss functions, and randomly generated graphs for distributed least-squares problems.
As shown in the composite performance plots, MCGD (dashed blue line) consistently matches or outperforms SGD variants that wait for the Markov chain to "mix" before sampling. This confirms that updating at every step of the chain is more efficient than waiting for independence.
Furthermore, the advantage of non-reversible chains is evident in the iteration-wise comparison. By incorporating cycles into the random walk, the non-reversible chain explores the state space more effectively, leading to significantly faster convergence on the objective function compared to standard reversible chains.
Conclusion and Future Directions
This work broadens the applicability of MCGD by relaxing assumptions on convexity and reversibility. The results show that Markovian sampling is not just a "cheap" alternative to i.i.d. sampling but can be highly efficient when implemented correctly. Future work includes relaxing the bounded gradient assumption for non-convex analysis and exploring the integration of acceleration techniques like Nesterov’s momentum or variance reduction.
Summary updated