论文提出新方法解决分布式环境中的梯度聚合偏差问题
Revisiting Distributed Sign-Based Variance Reduction
这篇论文对分布式训练算法感兴趣的朋友会喜欢,它提出的新方法解决了现有技术中存在的聚合偏差问题,能提升训练效率。
这篇论文针对分布式训练中聚合局部符号可能引入偏差的问题,提出了一种跟踪全局梯度的方法。该方法通过无偏压缩递归梯度增量,解决了多数投票法可能无法收敛到最优解的局限。实验表明,该方法在非凸随机和有限和优化问题上都能达到最优收敛率。
Revisiting Distributed Sign-Based Variance Reduction
Sign-based methods reduce communication costs in distributed environments, but aggregating local signs can introduce bias when data are heterogeneous. As a result, existing sign-based variance reduction methods fail to obtain the optimal convergence rates. In this paper, we solve this problem and obtain optimal rates for both nonconvex stochastic and finite-sum optimization. We first give a counterexample showing that majority voting can fail to approach stationary points even with exact local gradients. Motivated by this limitation, we propose tracking the global gradient at the server through unbiased compression of recursive gradient increments. As a result, we can obtain the convergence rates of $O(\sqrt{d/K}+\sqrt d (a/(nK))^{1/3})$ for the $\ell_1$-norm and $O(\sqrt{a/K}+\sqrt a/(nK)^{1/3})$ for the $\ell_2$-norm. Here, $K$ is the iteration number, $n$ is the number of workers, $d$ is the dimension, and $a=1+ω$, with $ω$ denoting the compressor's relative variance. For finite-sum problems with $M$ components, we combine periodic exact gradient refreshes with compressed component-gradient differences. The resulting total sample complexities are $O(M+d\sqrt{aM}ε^{-2})$ and $O(M+a\sqrt M\ epsilon^{-2})$ for $\ell_1$ and $\ell_2$ gradient norms at most $ε$, matching the corresponding bounds in centralized settings.