arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.10599stat.MLmath.OC
收藏

使用 MCMC 估计器的随机梯度下降的收敛性分析

Convergence Analysis of Stochastic Gradient Descent with MCMC Estimators

Tianyou Li, Fan Chen, Huajie Chen, Zaiwen Wen

AI总结:

本文分析了采用 MCMC 估计器计算梯度的 MCMC-SGD 算法,利用 Bernstein 不等式推导误差界限,证明其具有一阶收敛速率并能高概率逃离鞍点达到近似二阶驻点。

摘要:

理解随机梯度下降(SGD)及其变体对于机器学习至关重要。然而,大多数先前的分析是在无偏梯度估计器和有界目标函数等易于处理的条件下进行的,这并未涵盖许多复杂的应用,例如变分蒙特卡洛、熵正则化强化学习和变分推断。在本文中,我们考虑采用马尔可夫链蒙特卡洛(MCMC)估计器来计算梯度的 SGD 算法,称为 MCMC-SGD。由于 MCMC 显著降低了采样复杂度,在实践中它是一个渐近收敛的有偏估计器。此外,由于引入了一般类别的无界函数,分析 MCMC 采样误差变得困难得多。因此,我们假设函数是次指数的,并使用非平稳马尔可夫链的 Bernstein 不等式来推导 MCMC 估计器的误差界限。因此,在 $K$ 次迭代和样本大小 $n$ 的情况下,MCMC-SGD 被证明具有一阶收敛速率 $O(\log K/\sqrt{n K})$。这部分解释了 MCMC 如何影响 SGD 的行为。此外,我们在合理的假设下验证了相关负曲率条件。结果表明,MCMC-SGD 以高概率至少需要 $O(\epsilon^{-11/2}\log^{2}(1/\epsilon))$ 步即可逃离鞍点,并达到 $(\epsilon,\epsilon^{1/4})$ 近似二阶驻点或 $\epsilon^{1/2}$ 方差点。我们的分析揭示了 MCMC-SGD 在广泛类别的随机优化问题中的收敛模式,并解释了在实际应用中观察到的收敛现象。

英文摘要:

Understanding stochastic gradient descent (SGD) and its variants is essential for machine learning. However, most of the preceding analyses are conducted under amenable conditions such as unbiased gradient estimator and bounded objective functions, which does not encompass many sophisticated applications, such as variational Monte Carlo, entropy-regularized reinforcement learning and variational inference. In this paper, we consider the SGD algorithm that employ the Markov Chain Monte Carlo (MCMC) estimator to compute the gradient, called MCMC-SGD. Since MCMC reduces the sampling complexity significantly, it is an asymptotically convergent biased estimator in practice. Moreover, by incorporating a general class of unbounded functions, it is much more difficult to analyze the MCMC sampling error. Therefore, we assume that the function is sub-exponential and use the Bernstein inequality for non-stationary Markov chains to derive error bounds of the MCMC estimator. Consequently, MCMC-SGD is proven to have a first order convergence rate $O(\log K/\sqrt{n K})$ with $K$ iterations and a sample size $n$. It partially explains how MCMC influences the behavior of SGD. Furthermore, we verify the correlated negative curvature condition under reasonable assumptions. It is shown that MCMC-SGD escapes from saddle points and reaches $(ε,ε^{1/4})$ approximate second order stationary points or $ε^{1/2}$-variance points at least $O(ε^{-11/2}\log^{2}(1/ε) )$ steps with high probability. Our analysis unveils the convergence pattern of MCMC-SGD across a broad class of stochastic optimization problems, and interprets the convergence phenomena observed in practical applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑