[论文解读] A Unified Analysis of Federated Learning with Arbitrary Client Participation
本文提出了一种广义的联邦平均(FedAvg)算法,通过多轮更新放大来处理联邦学习中任意的客户端参与模式。它引入了一个统一的收敛性分析,将部分参与的影响整合为单一术语,实现了与集中式随机梯度下降(SGD)下界相匹配的收敛速率,适用于随机和非随机的参与模式,包括周期性和遍历性客户端可用性。
Federated learning (FL) faces challenges of intermittent client availability and computation/communication efficiency. As a result, only a small subset of clients can participate in FL at a given time. It is important to understand how partial client participation affects convergence, but most existing works have either considered idealized participation patterns or obtained results with non-zero optimality error for generic patterns. In this paper, we provide a unified convergence analysis for FL with arbitrary client participation. We first introduce a generalized version of federated averaging (FedAvg) that amplifies parameter updates at an interval of multiple FL rounds. Then, we present a novel analysis that captures the effect of client participation in a single term. By analyzing this term, we obtain convergence upper bounds for a wide range of participation patterns, including both non-stochastic and stochastic cases, which match either the lower bound of stochastic gradient descent (SGD) or the state-of-the-art results in specific settings. We also discuss various insights, recommendations, and experimental results.
研究动机与目标
- 解决联邦学习中部分客户端参与的挑战,其中客户端由于设备限制或网络限制而间歇性不可用。
- 克服先前研究的局限性,这些研究要么假设理想化的参与模式(例如i.i.d.随机选择),要么在收敛边界中包含非消失的最优性误差。
- 提供一个统一的分析框架,将客户端参与的影响与主收敛分析解耦,从而实现更广泛的应用。
- 为现实的参与模式(包括周期性、正则化和遍历性客户端可用性)建立收敛保证,并实现消失的误差。
- 推导出在各种参与制度下与集中式随机梯度下降(SGD)理论下界相匹配或接近的收敛速率。
提出的方法
- 提出一种广义的FedAvg算法,每P轮对模型更新进行放大,支持客户端更新的延迟或批量同步。
- 定义一个统一的收敛性分析框架,其中任意客户端参与的影响被整合为一个术语 $\tilde{\delta}^2(P)$,用于量化参与不规则性。
- 将客户端参与的分析与核心优化动态解耦,简化了在多种参与模式下的收敛推导。
- 分析多种参与制度:正则化、遍历性、混合性和独立(i.i.d.)模式,为每种模式推导收敛边界。
- 采用修改后的学习率调度和放大因子 $\eta$,以在非i.i.d.或周期性客户端可用性下稳定训练。
- 利用有界方差 ($\sigma^2$) 和光滑性假设,推导出收敛误差的紧致上界,确保最优性间隙的消失。
实验结果
研究问题
- RQ1联邦学习中哪些类别的客户端参与模式可保证收敛至零最优性误差?
- RQ2在现实的、非i.i.d.客户端参与下,收敛速率能否与理想化设置(如i.i.d.采样)下的结果相匹配?
- RQ3如何设计一个统一的分析框架,将任意客户端参与的影响整合为一个单一且可解释的术语?
- RQ4更新放大(通过 $P$ 和 $\eta$)对周期性或不规则客户端可用性下的收敛稳定性与性能有何影响?
- RQ5在客户端并非始终可用的情况下,学习率与放大因子的配置如何影响实际收敛性?
主要发现
- 所提出的带更新放大的广义FedAvg在正则化参与下实现了 $\mathcal{O}\left(\frac{\sigma}{\sqrt{SIT}}\right)$ 的收敛上界,与集中式SGD的下界相匹配。
- 对于遍历性参与模式,当轮数 $T \to \infty$ 时,收敛误差趋近于零,证实了无常数误差的渐近收敛性。
- 在混合与独立参与下,期望收敛速率为 $\mathcal{O}\left(\frac{1+\sigma^2}{\sqrt{SIT}}\right)$,与理想化设置下的最先进边界一致。
- 以高概率 $1-c$,收敛误差被限制在 $\mathcal{O}\left(\frac{(1+\sigma^2)\ln(2/c)}{\sqrt{SIT}}\right)$,表明在随机参与下的鲁棒性。
- 实验表明,当 $\eta = 5, 10, 15$ 时,性能相当,表明实践中对放大因子的粗略调优已足够。
- 对于周期性客户端可用性,小学习率(FashionMNIST为 $\gamma = 10^{-5}$,CIFAR-10为 $5 \times 10^{-6}$)对收敛至关重要,尤其是在 $P$ 较大时。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。