Skip to main content
QUICK REVIEW

[论文解读] Federated Learning's Blessing: FedAvg has Linear Speedup

Zhaonan Qu, Kaixiang Lin|arXiv (Cornell University)|May 4, 2021
Privacy-Preserving Technologies in DataComputer Science参考文献 41被引用 22
一句话总结

本文证明了在三种问题类别下,联邦平均(FedAvg)在参与设备数量增加时,收敛速率实现了线性加速:强凸光滑问题、凸光滑问题以及过参数化强凸光滑问题。该研究首次在统计异构性和系统异构性条件下,为FedAvg提供了线性加速的理论保证,包括Nesterov加速的FedAvg以及一种新型基于动量的联邦学习算法,后者在过参数化线性回归中实现了更优的收敛性能。

ABSTRACT

Federated learning (FL) learns a model jointly from a set of participating devices without sharing each other's privately held data. The characteristics of non- extit{i.i.d.} data across the network, low device participation, high communication costs, and the mandate that data remain private bring challenges in understanding the convergence of FL algorithms, particularly in regards to how convergence scales with the number of participating devices. In this paper, we focus on Federated Averaging (FedAvg)--arguably the most popular and effective FL algorithm class in use today--and provide a unified and comprehensive study of its convergence rate. Although FedAvg has recently been studied by an emerging line of literature, it remains open as to how FedAvg's convergence scales with the number of participating devices in the fully heterogeneous FL setting--a crucial question whose answer would shed light on the performance of FedAvg in large FL systems. We fill this gap by providing a unified analysis that establishes convergence guarantees for FedAvg under three classes of problems: strongly convex smooth, convex smooth, and overparameterized strongly convex smooth problems. We show that FedAvg enjoys linear speedup in each case, although with different convergence rates and communication efficiencies. While there have been linear speedup results from distributed optimization that assumes full participation, ours are the first to establish linear speedup for FedAvg under both statistical and system heterogeneity. For strongly convex and convex problems, we also characterize the corresponding convergence rates for the Nesterov accelerated FedAvg algorithm, which are the first linear speedup guarantees for momentum variants of FedAvg in the convex setting. To provably accelerate FedAvg, we design a new momentum-based FL algorithm that further improves the convergence rate in overparameterized linear regression problems. Empirical studies of the algorithms in various settings have supported our theoretical results.

研究动机与目标

  • 为完全异构的联邦学习设置下,解决FedAvg收敛性能随设备数量增加的缩放问题这一开放性问题。
  • 为FedAvg在强凸、凸以及过参数化强凸光滑问题中提供统一的收敛保证。
  • 首次建立基于动量的FedAvg变体在凸设置下的线性加速结果。
  • 设计一种新型基于动量的联邦学习算法,进一步提升过参数化线性回归中的收敛性能。

提出的方法

  • 提出一种统一的理论分析框架,适用于非独立同分布数据、部分设备参与及私有数据约束下的FedAvg。
  • 分析FedAvg在三类问题中的收敛速率:强凸光滑问题、凸光滑问题以及过参数化强凸光滑问题。
  • 提出并分析Nesterov加速的FedAvg,首次推导出在凸设置下动量变体的线性加速保证。
  • 设计一种专为过参数化线性回归问题定制的新型基于动量的联邦学习算法,提升收敛速率。
  • 采用分布式优化与统计学习理论中的技术,以应对系统异构性和统计异构性。
  • 通过在多样化联邦学习设置下的实证研究,验证理论发现,支持理论上的加速结论。

实验结果

研究问题

  • RQ1在非独立同分布和异构的联邦学习设置下,FedAvg是否随着参与设备数量的增加而实现收敛速率的线性加速?
  • RQ2在凸问题和强凸问题中,FedAvg及其Nesterov加速变体的收敛速率如何随设备数量变化?
  • RQ3能否设计一种基于动量的联邦学习算法,以进一步改善过参数化线性回归问题中的收敛性能?
  • RQ4在系统异构性和统计异构性条件下,FedAvg的通信效率权衡如何?
  • RQ5FedAvg的理论收敛保证与基线方法及加速变体相比,其实际表现如何?

主要发现

  • 在统计异构性和系统异构性条件下,FedAvg在强凸光滑问题中实现了收敛速率的线性加速。
  • 在相同异构条件下,凸光滑问题中也实现了线性加速,这是该领域内FedAvg在该设置下的首次此类结果。
  • Nesterov加速的FedAvg变体在凸设置中实现了线性加速,且收敛速率优于标准FedAvg。
  • 对于过参数化强凸光滑问题,所提出的基于动量的联邦学习算法收敛速度优于标准FedAvg。
  • 实证评估结果在多种数据异构性和系统异构性配置下,均证实了理论上的加速趋势。
  • 分析表明,通信效率在不同问题类别中表现不同,其中过参数化设置展现出有利的可扩展性行为。

阅读本论文

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

在 Nubint 中阅读本论文

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