Skip to main content
QUICK REVIEW

[论文解读] TAMUNA: Doubly Accelerated Distributed Optimization with Local Training, Compression, and Partial Participation

Laurent Condat, Agarský, Ivan|arXiv (Cornell University)|Feb 20, 2023
Privacy-Preserving Technologies in DataComputer Science被引用 3
一句话总结

TAMUNA 是一种新型联邦学习算法,通过联合利用本地训练、通信压缩和部分参与,实现在强凸优化中的双重加速收敛。该算法可证明地实现线性收敛,且对条件数和模型维度的依赖性得到改善,降低了通信复杂度,同时保持对全局最优解的精确收敛。

ABSTRACT

In distributed optimization and learning, several machines alternate between local computations in parallel and communication with a distant server. Communication is usually slow and costly and forms the main bottleneck. This is particularly true in federated learning, where a large number of users collaborate toward a global training task. In addition, it is desirable for a robust algorithm to allow for partial participation, since it is often the case that some clients are not able to participate to the entire process and are idle at certain times. Two strategies are popular to reduce the communication burden: 1) local training, which consists in communicating less frequently, or equivalently performing more local computations between the communication rounds; and 2) compression, whereby compressed information instead of full-dimensional vectors is communicated. We propose TAMUNA, the first algorithm for distributed optimization that leveraged the two strategies of local training and compression jointly and allows for partial participation. In the strongly convex setting, TAMUNA converges linearly to the exact solution and provably benefits from the two mechanisms: it exhibits a doubly-accelerated convergence rate, with respect to the condition number of the functions and the model dimension.

研究动机与目标

  • 通过结合本地训练和通信压缩,解决联邦学习中的通信瓶颈。
  • 在不牺牲收敛保证的前提下,支持客户端的部分参与。
  • 实现双重加速收敛速率——改善对条件数和模型维度的依赖性。
  • 提供一种方差减少的算法,在强凸条件下可精确收敛至全局最优解。
  • 在存在部分参与的非对称通信环境下,形式化并分析通信复杂度。

提出的方法

  • 提出一种随机算法,交替进行本地更新和压缩通信轮次。
  • 通过梯度追踪实现方差减少,以确保精确收敛至全局解。
  • 应用压缩技术,将每轮通信的浮点数数量从 d 减少至 c ≪ d。
  • 通过允许每轮中以概率 p 随机选择客户端子集参与,实现部分参与。
  • 利用历史梯度维持类似动量的更新,以加速收敛。
  • 通过分析到最优解的期望距离和梯度范数,推导收敛速率。

实验结果

研究问题

  • RQ1能否联合利用本地训练和通信压缩,在各自收益之外进一步加速联邦学习?
  • RQ2这两种策略的结合是否能产生双重加速收敛速率,同时改善对条件数和维度的依赖性?
  • RQ3在存在压缩和本地更新的情况下,能否在不降低收敛保证的前提下支持部分参与?
  • RQ4结合本地训练、压缩和部分参与三种机制的联邦算法,其最优通信复杂度是多少?
  • RQ5该算法如何在使用压缩和部分采样梯度的情况下仍能保持精确收敛?

主要发现

  • TAMUNA 在强凸设置下实现了对精确解的线性收敛,其收敛速率因本地训练和压缩而实现双重加速。
  • 通信复杂度为 O(L²√(n/c) ||x⁰−x*||² / ε),其中 c 为每轮压缩的坐标数,表明通过 c ≪ d 显著改善了对模型维度 d 的依赖性。
  • 算法在以概率 p 实现部分参与时仍保持收敛,且通信复杂度与 p 无关,表明本地训练并未加速通信复杂度。
  • 压缩将每轮传输的浮点数从 d 减少至 c,显著降低带宽使用,同时保持收敛性。
  • 收敛速率依赖于条件数 κ = L/μ 和压缩质量,其中本地训练改善了对 κ 的依赖性,而压缩则通过 c ≪ d 改善了对 d 的依赖性。
  • 理论分析证实,期望梯度范数以 O(1/T) 的速度下降,且显式常数依赖于 L、μ、p、c 和压缩质量参数 δ。

阅读本论文

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

在 Nubint 中阅读本论文

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