Skip to main content
QUICK REVIEW

[论文解读] Towards More Suitable Personalization in Federated Learning via Decentralized Partial Model Training

Yifan Shi, Yingqi Liu|arXiv (Cornell University)|May 24, 2023
Privacy-Preserving Technologies in DataComputer Science被引用 3
一句话总结

本文提出 DFedAlt 和 DFedSalt 两种去中心化联邦学习框架,通过以对等方式交替训练共享与个性化模型组件,提升个性化效果,降低通信开销并增强鲁棒性。通过在 DFedSalt 中集成本地 Sharpness Aware Minimization (SAM),该方法在数据异质性条件下实现了最先进性能,展现出更优的收敛性与一致性。

ABSTRACT

Personalized federated learning (PFL) aims to produce the greatest personalized model for each client to face an insurmountable problem--data heterogeneity in real FL systems. However, almost all existing works have to face large communication burdens and the risk of disruption if the central server fails. Only limited efforts have been used in a decentralized way but still suffers from inferior representation ability due to sharing the full model with its neighbors. Therefore, in this paper, we propose a personalized FL framework with a decentralized partial model training called DFedAlt. It personalizes the "right" components in the modern deep models by alternately updating the shared and personal parameters to train partially personalized models in a peer-to-peer manner. To further promote the shared parameters aggregation process, we propose DFedSalt integrating the local Sharpness Aware Minimization (SAM) optimizer to update the shared parameters. It adds proper perturbation in the direction of the gradient to overcome the shared model inconsistency across clients. Theoretically, we provide convergence analysis of both algorithms in the general non-convex setting for decentralized partial model training in PFL. Our experiments on several real-world data with various data partition settings demonstrate that (i) decentralized training is more suitable for partial personalization, which results in state-of-the-art (SOTA) accuracy compared with the SOTA PFL baselines; (ii) the shared parameters with proper perturbation make partial personalized FL more suitable for decentralized training, where DFedSalt achieves most competitive performance.

研究动机与目标

  • 为解决集中式个性化联邦学习(PFL)的局限性,包括高通信成本和服务器故障风险。
  • 克服去中心化 PFL 中因客户端间完全共享模型而导致的表征能力不足问题。
  • 探索去中心化部分模型训练作为非独立同分布(non-IID)数据环境下个性化更合适的范式。
  • 通过本地 Sharpness Aware Minimization (SAM) 提升去中心化训练中共享参数的一致性,以改善收敛性。

提出的方法

  • 将每个客户端的模型分解为共享与个性化组件,以去中心化对等方式交替更新。
  • 提出 DFedAlt,一种去中心化框架,分别训练共享与个性化部分,以保留客户端特有的特征。
  • 提出 DFedSalt,作为 DFedAlt 的增强版本,集成本地 SAM 优化器,沿梯度方向扰动共享参数,提升鲁棒性。
  • 采用非独立同分布(non-i.i.d.)数据划分方式(Dirichlet 与病态设置)以评估真实世界数据异质性下的性能表现。
  • 为 DFedAlt 与 DFedSalt 提供一般非凸设置下的理论收敛性分析,考虑统计异质性与光滑性。
  • 采用环形拓扑进行去中心化通信,并使用具有有界方差的无偏随机梯度,以确保稳定性。
Figure 1 : The training progress comparison between FedAvg and DFedAvg. DFedAvg can achieve competitive personal accuracy with fewer rounds than FedAvg compared with global accuracy.
Figure 1 : The training progress comparison between FedAvg and DFedAvg. DFedAvg can achieve competitive personal accuracy with fewer rounds than FedAvg compared with global accuracy.

实验结果

研究问题

  • RQ1与完整模型共享相比,去中心化部分模型训练是否能提升联邦学习中的个性化性能?
  • RQ2本地 SAM 优化如何提升去中心化 PFL 中共享参数的一致性?
  • RQ3在非凸损失函数下,去中心化部分个性化训练的理论收敛行为如何?
  • RQ4部分个性化是否能在保持或提升模型准确率的同时减少通信开销?
  • RQ5不同的数据划分策略(如 Dirichlet、病态设置)如何影响去中心化 PFL 框架的性能?

主要发现

  • 在非独立同分布(non-IID)数据划分下,DFedSalt 在 CIFAR-10、CIFAR-100 和 Tiny-ImageNet 上均达到最先进性能,优于现有 SOTA PFL 基线方法。
  • 采用部分个性化进行去中心化训练,即使通信轮次更少,其客户端特定准确率也优于集中式 FedAvg。
  • 在 DFedSalt 中集成本地 SAM 可减少共享模型的不一致性,并提升收敛性,尤其在高数据异质性条件下表现更优。
  • 理论分析证实,在非凸设置下具有收敛性,收敛速率受数据方差与模型光滑性影响,边界为 $\mathcal{O}(1/\sqrt{T})$。
  • 在病态数据划分下(如 CIFAR-10 中每个客户端仅 2 个类别),性能提升最为显著,此时完整模型共享会失效。
  • 该方法在稀疏拓扑(如环形)下仍保持鲁棒性,展现出在去中心化环境中的可扩展性与抗毁性。
Figure 2 : An overview of the proposed DFedAlt and DFedSalt frameworks.
Figure 2 : An overview of the proposed DFedAlt and DFedSalt frameworks.

阅读本论文

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

在 Nubint 中阅读本论文

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