Skip to main content
QUICK REVIEW

[论文解读] FjORD: Fair and Accurate Federated Learning under heterogeneous targets with Ordered Dropout

Samuel Horváth, Stefanos Laskaridis|arXiv (Cornell University)|Feb 26, 2021
Privacy-Preserving Technologies in DataComputer Science被引用 78
一句话总结

FjORD 通过有序 Dropout 引入联邦学习,支持嵌套子模型和自蒸馏,以适应异构客户端能力,同时在基线方法之上提升准确性。

ABSTRACT

Federated Learning (FL) has been gaining significant traction across different ML tasks, ranging from vision to keyboard predictions. In large-scale deployments, client heterogeneity is a fact and constitutes a primary problem for fairness, training performance and accuracy. Although significant efforts have been made into tackling statistical data heterogeneity, the diversity in the processing capabilities and network bandwidth of clients, termed as system heterogeneity, has remained largely unexplored. Current solutions either disregard a large portion of available devices or set a uniform limit on the model's capacity, restricted by the least capable participants. In this work, we introduce Ordered Dropout, a mechanism that achieves an ordered, nested representation of knowledge in deep neural networks (DNNs) and enables the extraction of lower footprint submodels without the need of retraining. We further show that for linear maps our Ordered Dropout is equivalent to SVD. We employ this technique, along with a self-distillation methodology, in the realm of FL in a framework called FjORD. FjORD alleviates the problem of client system heterogeneity by tailoring the model width to the client's capabilities. Extensive evaluation on both CNNs and RNNs across diverse modalities shows that FjORD consistently leads to significant performance gains over state-of-the-art baselines, while maintaining its nested structure.

研究动机与目标

  • 解决联邦学习中的设备异质性并降低对设备的非公平排除。
  • 通过动态调整模型宽度,使具有不同计算能力的设备能够参与。
  • 提供一个嵌套的单次训练结构(有序 Dropout),可在不再训练的情况下提取子模型。
  • 通过从最大子模型进行自蒸馏来提高子模型性能。
  • 在确保准确性的同时,使推理阶段的模型规模可适应设备约束。

提出的方法

  • 引入有序 Dropout(OD),通过跨层的结构化、基于重要性的裁剪来创建嵌套子模型。
  • 定义 dropout 率 p 和候选集合 P,在训练过程中从分布 D_P 采样 p。
  • 使用普通 OD 或 OD 加知识蒸馏(OD w/ KD)进行训练,其中较大子模型通过 KL 散度和交叉熵损失来指导较小子模型。
  • 证明在线性映射中,OD 能恢复最佳 p-秩近似,将 OD 与 SVD 联系起来。
  • 将每个设备集群与一个 p_max 相关联,表示其能处理的最大子模型;使用尊重设备容量的加权平均规则聚合更新。
  • 通过协调整合客户端采样、局部 E 次迭代和类似 FedAvg 的更新,将 OD 扩展为 FjORD,实现基于集群的参与和子模型更新。

实验结果

研究问题

  • RQ1在客户端设备具有异构计算能力时,如何使联邦学习公平且高效?
  • RQ2一个训练过程是否能产生一系列嵌套子模型,以在不重新训练的情况下适应设备?
  • RQ3有序 Dropout 是否在联邦学习中对多样化网络和模态保持或提升准确度?
  • RQ4知识蒸馏对 FjORD 中子模型和全局模型的性能有何影响?
  • RQ5在现实的设备分布和不同数量的设备集群下,FjORD 的效果如何?

主要发现

  • FjORD 在 CIFAR10、FEMNIST 和 Shakespeare 上优于强基线(eFD 及带 eFD 的 FjORD),取得显著增益(CIFAR10 提升 1.53–34.87 个百分点;FEMNIST 提升 1.57–6.27 点;Shakespeare 提升 0.01–0.82 点)。
  • 在 FjORD 中,知识蒸馏(KD)对较大子模型的性能提升具有一致性,平均提升为 0.71–2.63 个百分点,取决于子模型规模。
  • 得益于其嵌套的有序 Dropout 结构,FjORD 能在不重新训练的情况下提取具有不同 FLOPs 和尺寸的多个子模型。
  • OD 在线性映射中恢复了类似 SVD 的行为,为有序重要性表示提供理论基础。
  • FjORD 在适应设备集群和负载的同时维持或提升全局模型性能,降低每个设备的通信和计算负担。
  • 该框架扩展到更多设备集群(uniform-5 与 uniform-10),子模型的准确性没有显著下降。

阅读本论文

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

在 Nubint 中阅读本论文

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