Skip to main content
QUICK REVIEW

[论文解读] An Improved Analysis of Gradient Tracking for Decentralized Machine Learning

Anastasia Koloskova, Tao Lin|arXiv (Cornell University)|Feb 8, 2022
Age of Information OptimizationComputer Science被引用 26
一句话总结

本论文加强了对分布式学习中梯度跟踪(GT)的收敛性分析,在随机强凸、凸和非凸设置下,推导出对网络连通性参数 p 和 c 的依赖性得到改进,并将 GT 与 D-SGD 和 D2 进行比较。

ABSTRACT

We consider decentralized machine learning over a network where the training data is distributed across $n$ agents, each of which can compute stochastic model updates on their local data. The agent's common goal is to find a model that minimizes the average of all local loss functions. While gradient tracking (GT) algorithms can overcome a key challenge, namely accounting for differences between workers' local data distributions, the known convergence rates for GT algorithms are not optimal with respect to their dependence on the mixing parameter $p$ (related to the spectral gap of the connectivity matrix). We provide a tighter analysis of the GT method in the stochastic strongly convex, convex and non-convex settings. We improve the dependency on $p$ from $\\mathcal{O}(p^{-2})$ to $\\mathcal{O}(p^{-1}c^{-1})$ in the noiseless case and from $\\mathcal{O}(p^{-3/2})$ to $\\mathcal{O}(p^{-1/2}c^{-1})$ in the general stochastic case, where $c \\geq p$ is related to the negative eigenvalues of the connectivity matrix (and is a constant in most practical applications). This improvement was possible due to a new proof technique which could be of independent interest.

研究动机与目标

  • 在网络中对具有非独立同分布数据的分布式学习进行动机阐述和梯度跟踪分析。
  • 提高相对于网络连通性参数 p 和 c 的收敛速度。
  • 为随机强凸、凸和非凸情形提供统一的分析。
  • 引入一种新的证明技巧,产生改进的收敛速度并揭示拓扑结构的见解。
  • 将GT 的性能与 D-SGD 和 D2 进行比较,并通过实验验证结论。

提出的方法

  • 将去中心化优化建模为在一个固定图及其混合矩阵 W 上最小化局部随机目标的平均值。
  • 应用带跟踪变量 y 的梯度跟踪(NEXT/DIGing)更新,以近似全局梯度。
  • 在标准光滑性与有界噪声假设下,推导非凸、凸和强凸情形的有限时间收敛结果。
  • 引入并使用描述连通性矩阵 W 的谱性质的图参数 p 和 c,以描述一致性行为。
  • 给出一个证明要点,依赖于分析平均分量和一致性分量,以及辅助矩阵 J 的收缩性性质。
  • 将 GT 的收敛速率与 D-SGD 和 D2 进行比较,突出改进之处以及 GT 与已知下界相匹配的情形。

实验结果

研究问题

  • RQ1在具有异质数据的分散网络中,梯度跟踪在随机噪声下如何收敛?
  • RQ2在非凸、凸和强凸目标下,GT 的收敛速度如何依赖网络连通性参数 p 和 c?
  • RQ3在常见拓扑和噪声情形下,GT 的收敛速率是否优于或等同于 D-SGD 和 D2?
  • RQ4首要收敛项是否最优,GT 在经历一段以 p/c 确定的暂态期后是否实现对工作者数量 n 的线性加速?
  • RQ5在某些一致性情形下,是否可以去除或减小对参数 c 的依赖?

主要发现

  • GT 在无噪声的强凸设定下,将对 p 的依赖从 O(p^{-2}) 降至 O(p^{-1} c^{-1}),在随机设置下将对 p 的依赖从 O(p^{-3/2}) 降至 O(p^{-1/2} c^{-1}),从而实现更好的复杂度界。
  • 在带有随机噪声的强凸情形下,收敛速率为 tilde-O( sigma^2/(n ε) + (1/c) * ( sigma/(√(p ε)) + (1/p) log(1/ε) ) ),在领先项上与下界保持一致,并在经过依赖于 p 和 c 的暂态期后获得对 n 的线性加速。
  • 对于非凸目标,GT 的领先项与数据异质性无关,并且与 all-reduce 小批量 SGD 的最优速率在常数尺度上一致,表明在随机噪声下具有稳健表现。
  • 在凸和强凸情形下,所给出的速率明确揭示了图拓扑(通过 p 和 c)如何支配暂态一致性行为和整体收敛。
  • 该工作为 GT 提供了更快的收敛基准,并阐明在实际网络拓扑下何时 GT 优于或等同于 D-SGD 与 D2。
  • 另外一个结果(定理 3)显示在某些设置下可以去除对 c 的依赖,从而改进一致性函数的收敛。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。