arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.18461cs.LGcs.AIcs.CVcs.DC
收藏

通过任务算术知识集成迈向多样化设备异构联邦学习

Towards Diverse Device Heterogeneous Federated Learning via Task Arithmetic Knowledge Integration

Czech Technical University in Prague(布拉格捷克理工大学);University of California San Diego (UCSD)(加州大学圣迭戈分校);University of Central Florida (UCF)(中佛罗里达大学)

Mahdi Morafah, Vyacheslav Kungurtsev, Hojin Chang, Chen Chen, Bill Lin

AI总结:

针对异构设备联邦学习中知识转移困难的问题,提出基于知识蒸馏的 TAKFL 框架,将各设备集成知识视为独立任务进行蒸馏,并结合自适应任务算术知识集成与自正则化技术,在 CV 和 NLP 任务上显著优于现有方法。

摘要:

联邦学习(Federated Learning)已成为一种极具前景的协作机器学习范式,同时能保护用户数据隐私。尽管具有潜力,标准 FL 缺乏对多样化异构设备原型的支持,这些设备在模型和数据集规模上差异巨大——从小型 IoT 设备到大型工作站。现有的知识蒸馏(KD)技术仅部分解决了这一限制,它们通常无法在能力各异、范围广泛的设备原型之间有效传递知识。这种失败主要源于两个问题:能力较弱设备的 logits 稀释了能力较强设备提供的信息性 logits;以及使用单一集成的 logits 作为所有设备的蒸馏目标,这忽视了它们各自的学习能力及每台设备的独特贡献。为了解决这些挑战,我们引入了 TAKFL,这是一种新颖的基于 KD 的框架,它将来自每个设备原型集成的知识转移视为一个单独的任务,独立地对每个任务进行蒸馏以保留其独特贡献并避免稀释。TAKFL 还结合了基于 KD 的自正则化技术,以缓解与有噪声且无监督的集成蒸馏过程相关的问题。为了集成单独蒸馏的知识,我们引入了自适应任务算术知识集成过程,允许每个学生模型定制知识集成以实现最佳性能。此外,我们提出了理论结果,证明了任务算术在向能力各异的异构设备传递知识方面的有效性。对 CV 和 NLP 任务的综合评估表明,TAKFL 在各种数据集和设置中均取得了 SOTA 结果,显著优于现有的基于 KD 的方法。代码发布在 https://github.com/MMorafah/TAKFL

英文摘要:

Federated Learning has emerged as a promising paradigm for collaborative machine learning, while preserving user data privacy. Despite its potential, standard FL lacks support for diverse heterogeneous device prototypes, which vary significantly in model and dataset sizes -- from small IoT devices to large workstations. This limitation is only partially addressed by existing knowledge distillation techniques, which often fail to transfer knowledge effectively across a broad spectrum of device prototypes with varied capabilities. This failure primarily stems from two issues: the dilution of informative logits from more capable devices by those from less capable ones, and the use of a single integrated logits as the distillation target across all devices, which neglects their individual learning capacities and and the unique contributions of each. To address these challenges, we introduce TAKFL, a novel KD-based framework that treats the knowledge transfer from each device prototype's ensemble as a separate task, independently distilling each to preserve its unique contributions and avoid dilution. TAKFL also incorporates a KD-based self-regularization technique to mitigate the issues related to the noisy and unsupervised ensemble distillation process. To integrate the separately distilled knowledge, we introduce an adaptive task arithmetic knowledge integration process, allowing each student model to customize the knowledge integration for optimal performance. Additionally, we present theoretical results demonstrating the effectiveness of task arithmetic in transferring knowledge across heterogeneous devices with varying capacities. Comprehensive evaluations of our method across both CV and NLP tasks demonstrate that TAKFL achieves SOTA results in a variety of datasets and settings, significantly outperforming existing KD-based methods Code is released at https://github.com/MMorafah/TAKFL

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑