Skip to main content
QUICK REVIEW

[论文解读] Dynamic Regularized Sharpness Aware Minimization in Federated Learning: Approaching Global Consistency and Smooth Landscape

Yan Sun, Li Shen|arXiv (Cornell University)|May 19, 2023
Privacy-Preserving Technologies in DataComputer Science被引用 7
一句话总结

FedSMOO 引入一个动态正则化框架,通过在联邦学习中使用 Sharpness-Aware Minimization 实现全局一致性与全局泛化的结合,在异质数据上实现快速 O(1/T) 收敛并提升泛化能力。

ABSTRACT

In federated learning (FL), a cluster of local clients are chaired under the coordination of the global server and cooperatively train one model with privacy protection. Due to the multiple local updates and the isolated non-iid dataset, clients are prone to overfit into their own optima, which extremely deviates from the global objective and significantly undermines the performance. Most previous works only focus on enhancing the consistency between the local and global objectives to alleviate this prejudicial client drifts from the perspective of the optimization view, whose performance would be prominently deteriorated on the high heterogeneity. In this work, we propose a novel and general algorithm { tfamily FedSMOO} by jointly considering the optimization and generalization targets to efficiently improve the performance in FL. Concretely, { tfamily FedSMOO} adopts a dynamic regularizer to guarantee the local optima towards the global objective, which is meanwhile revised by the global Sharpness Aware Minimization (SAM) optimizer to search for the consistent flat minima. Our theoretical analysis indicates that { tfamily FedSMOO} achieves fast $\mathcal{O}(1/T)$ convergence rate with low generalization bound. Extensive numerical studies are conducted on the real-world dataset to verify its peerless efficiency and excellent generality.

研究动机与目标

  • 通过使局部目标与全局目标对齐,解决联邦学习中的客户端漂移和非 iid 数据挑战。
  • 通过全局平坦极小值搜索,提升 FL 的优化性能与泛化能力。
  • 在非凸设置下开发一个可扩展的算法,实现快速收敛和强泛化界的保证。
  • 为所提出的方法提供理论上的收敛性与泛化保证。

提出的方法

  • 提出 FedSMOO,对全局 SAM 目标进行优化,同时将局部子问题限制为与全局模型保持一致。
  • 使用动态正则化器(ADMM 风格)将局部模型与全局目标对齐,并引入增广拉格朗日项以在客户端之间强制 w_i = w。
  • 引入一个辅助的全局扰动 s,通过类似 ADMM 的过程迭代细化,以近似全局 SAM 内部最大化。
  • 在局部更新上应用受全局估计扰动引导的修改后 SAM 步骤,以促进一致的平坦极小值。
  • 通过局部增广拉格朗日项的惩罚项,推导近似的内部最大化,并通过 s_i、mu_i 和 s 的交替更新来求解,随后进行全局聚合。
  • 给出收敛性分析,在光滑的非凸设置下达到 O(1/T) 的收敛率,以及全局函数的泛化界。
Figure 2: Distribution across category on CIFAR-10 of sampling with $/$ without replacement under the Dirichlet coefficient $u=0.1$ and the number of total clients $m=100$ . The standard deviation of the samples’ number approaches 829.14, which highly increases their imbalance and properly approxima
Figure 2: Distribution across category on CIFAR-10 of sampling with $/$ without replacement under the Dirichlet coefficient $u=0.1$ and the number of total clients $m=100$ . The standard deviation of the samples’ number approaches 829.14, which highly increases their imbalance and properly approxima

实验结果

研究问题

  • RQ1在数据集存在异质性的情况下,FedSMOO 是否能够实现快速收敛,同时确保全局目标仍与局部目标对齐?
  • RQ2通过带正则化的 SAM 框架联合优化全局一致性与全局普适性,是否能够在 FL 中获得更平坦、且更具泛化能力的全局损失景观?
  • RQ3在光滑非凸联邦学习中,FedSMOO 的理论收敛性与泛化保证是什么?
  • RQ4与已建立的 FL 方法及基于 SAM 的变体相比,FedSMOO 在标准非 iid 基准上的经验表现如何?

主要发现

  • FedSMOO 在光滑非凸目标下实现 O(1/T) 的收敛速度,并不假设有界的异质梯度。
  • 该方法给出全局函数在 SAM 扰动下的泛化界,支持全局损失景观的平滑性。
  • 在 CIFAR-10/100 上的经验结果表明,FedSMOO 在多种非 iid 分区下的准确率和整体性能高于包括 FedAvg、FedSAM、MoFedSAM 在内的若干基线。
  • 所提出的动态正则化器与全局扰动引导能够有效降低局部漂移,改善全局一致性与泛化,特别是在高度异质的情形下。
(a) Dirichlet-0.6 on CIFAR-100.
(a) Dirichlet-0.6 on CIFAR-100.

阅读本论文

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

在 Nubint 中阅读本论文

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