Skip to main content
QUICK REVIEW

[论文解读] Epidemic Learning: Boosting Decentralized Learning with Randomized Communication

Martijn de Vos, Sadegh Farhadkhani|arXiv (Cornell University)|Oct 3, 2023
Advanced MIMO Systems OptimizationEngineering被引用 10
一句话总结

Epidemic Learning (EL) 是一种去中心化学习算法,其中每个节点在每轮中随机与 s 个同伴通信,在非IID数据下相较于静态拓扑能更快收敛、获得更高精度。经验上,在 96 节点网络的 CIFAR-10 上,EL 可以实现最多 1.7 倍更少的通信轮次,且精度最高提升至 2.2%。

ABSTRACT

We present Epidemic Learning (EL), a simple yet powerful decentralized learning (DL) algorithm that leverages changing communication topologies to achieve faster model convergence compared to conventional DL approaches. At each round of EL, each node sends its model updates to a random sample of $s$ other nodes (in a system of $n$ nodes). We provide an extensive theoretical analysis of EL, demonstrating that its changing topology culminates in superior convergence properties compared to the state-of-the-art (static and dynamic) topologies. Considering smooth non-convex loss functions, the number of transient iterations for EL, i.e., the rounds required to achieve asymptotic linear speedup, is in $O(n^3/s^2)$ which outperforms the best-known bound $O(n^3)$ by a factor of $s^2$, indicating the benefit of randomized communication for DL. We empirically evaluate EL in a 96-node network and compare its performance with state-of-the-art DL approaches. Our results illustrate that EL converges up to $ 1.7 imes$ quicker than baseline DL algorithms and attains $2.2 $\% higher accuracy for the same communication volume.

研究动机与目标

  • 在节点之间存在非IID数据分布的情形下,推动去中心化学习更快收敛。
  • 提出一种随机化、流行式(epidemic-style)的通信协议,使每个节点在每轮联系 s 个随机对等节点。
  • 在光滑的非凸损失和异质数据条件下对收敛性进行理论分析。
  • 在标准数据集上提供实证证据,将 EL 与静态和随机化基线进行对比。

提出的方法

  • 将 EL 定义为两种变体:EL-Oracle(s 规则、协同的)和 EL-Local(s 独立、去中心化的)。
  • 在每轮中,节点执行本地 SGD 步骤,然后将更新后的模型发送给随机选择的 s 个同伴。
  • 节点通过将本地更新与接收到的对等更新进行平均来更新模型。
  • 在标准假设下,证明 EL 的收敛速度:在暂态迭代中提高为 O(1/√[3](sT^2)),并在 T 上实现线性加速。
  • 表明 EL-Oracle 产生双随机混合,其分析比一般的 D-PSGD 分析更紧致。
  • 在 CIFAR-10 上以 96 节点和非 IID 的 Dirichlet 数据分割进行经验评估,比较静态拓扑和 EquiTopo。

实验结果

研究问题

  • RQ1在去中心化学习中,随机化、不断变化的通信拓扑是否比静态和其他动态拓扑提高收敛速度?
  • RQ2在非IID数据分布下,EL-Oracle 与 EL-Local 的收敛性保证和实际性能有何差异?
  • RQ3样本量 s 对收敛、通信成本和最终精度有何影响?
  • RQ4与先前界相比,EL 在多大程度上实现线性加速并减少暂态迭代?

主要发现

  • EL 在 EL-Oracle 下收敛速度为 O(1/√(nT) + 1/√[3](sT^2) + 1/T),在 EL-Local 下第一项为 O(1/√(nT),并另外存在与问题相关的第二项。
  • EL 的暂态迭代为 O(n^3/s^2),比先前的 O(n^3) 上界提升了 s^2 倍。
  • 当 s 增大(例如 s ∈ O(log n)),EL 相较于静态/动态基线实现了显著更少的暂态轮次和更好的收敛。
  • 在 CIFAR-10 的 96 节点、非 IID 数据的经验结果中,EL-Oracle 和 EL-Local 收敛更快,且单顶位准确率最高比最佳静态基线高至 2.2%,通信轮次最多减少至 1.7 倍。
  • EL-Local 在没有中心协调的情况下保持与 EL-Oracle 相当的性能,证明了实际的去中心化实现性。

阅读本论文

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

在 Nubint 中阅读本论文

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