arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.14347cs.LGcs.AI
收藏

基于知识蒸馏的AIoT应用的高效联邦学习

Efficient Federated Learning for AIoT Applications Using Knowledge Distillation

East China Normal University(华东师范大学);Zaozhuang University(枣庄学院);University of Houston(休斯顿大学);University of Technology Sydney(悉尼科技大学)

Tian Liu, Zhiwei Ling, Jun Xia, Xin Fu, Shui Yu, Mingsong Chen

摘要:

联邦学习(FL)作为一种很有前途的分布式机器学习范式,在不损害用户隐私的情况下,利用分散的数据训练中心模型,这使得它被广泛应用于人工智能物联网(AIoT)应用中。然而,传统的FL遭受模型不准确,因为它使用数据的硬标签来训练局部模型,并且忽略了具有小概率的错误预测的有用信息。尽管各种解决方案试图解决传统FL的瓶颈,但其中大多数都引入了显著的通信和内存开销,使得大规模AIoT设备的部署成为一个巨大的挑战。为了解决上述问题,本文提出了一种新的基于蒸馏的联邦学习(DFL)架构,该架构能够为AIoT应用提供高效且准确的FL。受知识蒸馏(KD)可以提高模型精度的启发,我们将KD使用的软目标加入到FL模型训练中,占用的网络资源可以忽略不计。软目标由每个AIoT设备在每轮本地训练后的本地样本预测生成,并用于下一轮模型训练。在DFL的局部训练过程中,软目标和硬标签都被用作模型预测的近似目标,以通过补充软目标的知识来提高模型的准确性。为了进一步提高DFL模型的性能,我们设计了一种动态调整策略来调整KD中使用的两个损失函数的比例,该策略可以最大限度地利用软目标和硬标签。在知名基准上的综合实验结果表明,我们的方法可以显着提高FL的模型精度与独立和同分布(IID)和非IID数据。

英文摘要:

As a promising distributed machine learning paradigm, Federated Learning (FL) trains a central model with decentralized data without compromising user privacy, which has made it widely used by Artificial Intelligence Internet of Things (AIoT) applications. However, the traditional FL suffers from model inaccuracy since it trains local models using hard labels of data and ignores useful information of incorrect predictions with small probabilities. Although various solutions try to tackle the bottleneck of the traditional FL, most of them introduce significant communication and memory overhead, making the deployment of large-scale AIoT devices a great challenge. To address the above problem, this paper presents a novel Distillation-based Federated Learning (DFL) architecture that enables efficient and accurate FL for AIoT applications. Inspired by Knowledge Distillation (KD) that can increase the model accuracy, our approach adds the soft targets used by KD to the FL model training, which occupies negligible network resources. The soft targets are generated by local sample predictions of each AIoT device after each round of local training and used for the next round of model training. During the local training of DFL, both soft targets and hard labels are used as approximation objectives of model predictions to improve model accuracy by supplementing the knowledge of soft targets. To further improve the performance of our DFL model, we design a dynamic adjustment strategy for tuning the ratio of two loss functions used in KD, which can maximize the use of both soft targets and hard labels. Comprehensive experimental results on well-known benchmarks show that our approach can significantly improve the model accuracy of FL with both Independent and Identically Distributed (IID) and non-IID data.

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

↑