arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.15976cs.LGcs.DCmath.OCstat.ML
收藏

非凸优化中基于符号的随机重排算法的收敛性

Convergence of Sign-based Random Reshuffling Algorithms for Nonconvex Optimization

The Ohio State University(俄亥俄州立大学);Duke University(杜克大学)

Zhen Qin, Zhishuai Liu, Pan Xu

AI总结:

本文提出两种基于符号的随机重排算法,实现了更快的收敛率,并扩展到分布式设置,首次系统分析了实际应用中sign-based优化算法的理论收敛性。

摘要:

signSGD因其通信效率而在非凸优化中广受欢迎。然而,现有分析通常假设每次迭代中数据都是有放回地采样,这与常见的实际实现相矛盾,即数据被随机重排并依次输入算法。这种差距使更实际的算法signSGD with random reshuffling(SignRR)的理论理解仍然空白。我们开发了首个SignRR的分析,以识别阻碍该方法深入收敛分析的核心技术挑战。具体而言,给定数据集大小为n和T个epochs,我们证明SignRR的梯度范数的期望上界为O(log(nT)/√(nT)+σ),其中σ是平均条件均方误差,可能不消失。为解决这一限制,我们开发了两种新的基于符号的算法,分别在随机重排下采用方差减少的梯度和动量更新。这两种算法均实现了更快的收敛率O(log(nT)/√(nT)+log(nT)√n/√T)。我们进一步将这些算法扩展到分布式设置,收敛率为O(log(n₀T)/√(n₀T)+log(n₀T)√n₀/√T),其中n₀是单台机器的数据集大小。这些结果标志着对实际sign-based优化算法实现的理论理解的第一步。最后,我们通过模拟和现实问题的实验验证了我们的理论发现,证明随机重排的sign方法在匹配或超越现有基线方面表现优异。

英文摘要:

signSGD is attractive in nonconvex optimization because it communicates sign-valued rather than full-precision gradients. Several standard analyses assume independent stochastic-gradient samples, whereas a common finite-sum implementation reshuffles the data and processes them sequentially. We study this variant, signSGD with random reshuffling (SignRR), and show that reshuffling does not in general repair the bias created by discarding gradient magnitudes. In particular, on a one-dimensional two-component strongly convex quadratic, the expected gradient norm at every SignRR inner iterate equals $1/2$. We complement this impossibility result with an alignment-explicit finite-time bound $O(\log(nT)/\sqrt{nT}+\varepsilon_{\mathrm{align}})$, where $\varepsilon_{\mathrm{align}}$ measures the averaged loss of descent caused by component-sign misalignment. A horizon-tuned constant stepsize improves the vanishing term to $O(1/\sqrt{nT})$, and a remaining-set alignment condition yields a residual-free $O(1/\sqrt{nT})$ guarantee. The alignment term is upper bounded by twice the averaged mean absolute gradient error and, in turn, by twice an averaged coordinatewise conditional root-mean-square error. As a variance-reduced alternative, we analyze SignRVR, which signs an SVRG estimator anchored at the beginning of every epoch. A pathwise argument gives a residual-free guarantee with an $O(\sqrt{d/T})$ averaged $\ell_1$-stationarity bound.

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

↑