[论文解读] Enhance Local Consistency in Federated Learning: A Multi-Step Inertial Momentum Approach
该论文提出FedMIM,一种新颖的联邦学习算法,通过在边缘设备上利用多步惯性动量,在非独立同分布(non-IID)数据设置下增强本地一致性。通过将加权全局梯度估计作为校正项,应用于本地迭代和随机梯度,FedMIM减少了客户端漂移并提高了收敛稳定性,实现了在无凸性假设下的理论收敛速率$\mathcal{O}(1/\sqrt{SKT})$,并在真实世界数据集上展现出优越的实验性能。
Federated learning (FL), as a collaborative distributed training paradigm with several edge computing devices under the coordination of a centralized server, is plagued by inconsistent local stationary points due to the heterogeneity of the local partial participation clients, which precipitates the local client-drifts problems and sparks off the unstable and slow convergence, especially on the aggravated heterogeneous dataset. To address these issues, we propose a novel federated learning algorithm, named FedMIM, which adopts the multi-step inertial momentum on the edge devices and enhances the local consistency for free during the training to improve the robustness of the heterogeneity. Specifically, we incorporate the weighted global gradient estimations as the inertial correction terms to guide both the local iterates and stochastic gradient estimation, which can reckon the global objective optimization on the edges' heterogeneous dataset naturally and maintain the demanding consistent iteration locally. Theoretically, we show that FedMIM achieves the $\mathcal{O}(\frac{1}{\sqrt{SKT}})$ convergence rate with a linear speedup property with respect to the number of selected clients $S$ and proper local interval $K$ in communication round $T$ without convex assumption. Empirically, we conduct comprehensive experiments on various real-world datasets and demonstrate the efficacy of the proposed FedMIM against several state-of-the-art baselines.
研究动机与目标
- 解决由于客户端间数据异构性导致的客户端漂移和联邦学习中收敛不稳定的挑战。
- 通过在训练过程中最小化各客户端之间本地动态平衡点的方差,提升本地一致性。
- 开发一种方法,增强对非独立同分布数据的鲁棒性,且无需额外通信或模型复杂度。
- 通过有效利用历史梯度信息,在非凸、异构的联邦学习设置中实现更快、更稳定的收敛。
- 展示多步惯性动量在边缘设备上引导梯度估计和参数更新的有效性。
提出的方法
- 在本地更新过程中引入多步惯性动量,使用历史全局梯度估计作为校正项。
- 应用加权全局梯度估计,以引导本地迭代和随机梯度计算,提升与全局目标的一致性。
- 在边缘设备上本地维护动量项,避免服务器端计算,降低通信开销。
- 采用两阶段校正机制:一阶段用于梯度方向,一阶段用于梯度计算点,增强稳定性。
- 通过系数$\alpha_j$和$\beta_j$制定更新规则,以平衡近期与历史梯度信息,其中$\beta_j$更倾向于相邻步骤。
- 通过仅在客户端层面集成惯性动量,确保与现有联邦学习框架兼容,同时保持隐私性和去中心化特性。
实验结果
研究问题
- RQ1多步惯性动量是否能在非独立同分布数据下提升联邦学习中的本地一致性?
- RQ2在异构联邦学习设置中,引入历史全局梯度估计如何影响收敛速度和稳定性?
- RQ3在性能与计算成本之间取得平衡时,最优的惯性步数和系数选择是什么?
- RQ4在高数据异构性下,FedMIM是否在收敛速率和泛化能力上优于最先进基线方法?
- RQ5所提出方法在多轮通信中在多大程度上减少了客户端漂移和本地模型之间的方差?
主要发现
- 在光滑性假设下,FedMIM实现了理论收敛速率$\mathcal{O}(1/\sqrt{SKT})$,在Polyak-Łojasiewicz(PL)不等式下为$\mathcal{O}(1/T)$,且无需凸性假设。
- 在CIFAR-10数据集上,DIR-0.1异构性设置下,FedMIM在客户端参与率从5%到20%的范围内均保持稳定性能,优于FedAvg、FedAdam、FedCM、FedDyn和SCAFFOLD。
- 当采用两步惯性($J=2$)时,FedMIM在CIFAR-10上达到84.98%的最高准确率,显著优于FedAvg(81.61%)和FedCM(84.29%)在相同设置下的表现。
- 消融研究显示,偏好近期历史的$\beta_j$值(如$\beta_1=0.9, \beta_2=0.1$)优于较早历史,而$\alpha_j$可在多个历史步骤上灵活调节。
- 实验结果证实,FedMIM保持了更优的本地一致性,其分散度度量$\frac{1}{S}\sum_i \|\mathbf{x}_{i,K}^t - \mathbf{x}^{t+1}\|^2$在CIFAR-10和CIFAR-100上均低于所有基线方法。
- 该方法对本地训练轮数和批量大小具有鲁棒性,在多种实验设置下均表现出一致的泛化能力和收敛稳定性提升。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。