FedDistill:非独立同分布联邦学习中用于局部模型去偏的全局模型蒸馏
FedDistill: Global Model Distillation for Local Model De-Biasing in Non-IID Federated Learning
AI总结:
针对非独立同分布联邦学习中数据不平衡引发的局部模型偏差与局部遗忘问题,提出FedDistill框架,通过分组蒸馏和全局模型拆分强化知识迁移,提升局部模型泛化与分类能力,在多个基准上准确率和收敛速度优于现有基线。
摘要:
联邦学习(FL)是一种实现协同机器学习的新方法,它通过利用在去中心化设备上训练的模型来保护数据隐私。然而,联邦学习面临着客户端间数据非均匀分布(非独立同分布,non-iid)带来的挑战,这会影响模型性能及其泛化能力。为解决非独立同分布问题,近期研究将全局模型用作局部模型的教学机制。但我们的预研表明,这类方法的效果受限于数据分布不平衡——不平衡会导致局部模型产生偏差,并引发“局部遗忘”现象,即模型的泛化能力会随时间下降,对样本占比不足的类别尤为明显。本文提出FedDistill框架,该框架聚焦类别分布不平衡问题,强化从全局模型到局部模型的知识迁移。具体而言,FedDistill采用分组蒸馏策略,根据类别在局部数据集中的出现频率对类别进行划分,从而针对样本量更少的类别开展定向蒸馏。此外,FedDistill将全局模型拆解为特征提取器和分类器两部分,这种拆分能让局部模型获得更强的泛化数据表征能力,确保所有类别的分类结果更准确。FedDistill可缓解数据不平衡带来的负面影响,确保局部模型不会遗忘样本占比不足的类别,反而能更精准地识别和分类这些类别。我们的综合实验验证了FedDistill的有效性,在多个基准数据集上,其准确率和收敛速度均优于现有基线方法。
英文摘要:
Federated Learning (FL) is a novel approach that allows for collaborative machine learning while preserving data privacy by leveraging models trained on decentralized devices. However, FL faces challenges due to non-uniformly distributed (non-iid) data across clients, which impacts model performance and its generalization capabilities. To tackle the non-iid issue, recent efforts have utilized the global model as a teaching mechanism for local models. However, our pilot study shows that their effectiveness is constrained by imbalanced data distribution, which induces biases in local models and leads to a 'local forgetting' phenomenon, where the ability of models to generalize degrades over time, particularly for underrepresented classes. This paper introduces FedDistill, a framework enhancing the knowledge transfer from the global model to local models, focusing on the issue of imbalanced class distribution. Specifically, FedDistill employs group distillation, segmenting classes based on their frequency in local datasets to facilitate a focused distillation process to classes with fewer samples. Additionally, FedDistill dissects the global model into a feature extractor and a classifier. This separation empowers local models with more generalized data representation capabilities and ensures more accurate classification across all classes. FedDistill mitigates the adverse effects of data imbalance, ensuring that local models do not forget underrepresented classes but instead become more adept at recognizing and classifying them accurately. Our comprehensive experiments demonstrate FedDistill's effectiveness, surpassing existing baselines in accuracy and convergence speed across several benchmark datasets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。