[论文解读] Group Knowledge Transfer: Collaborative Training of Large CNNs on the Edge.
本文提出群体知识迁移(GKT),一种协作式训练框架,通过知识蒸馏定期将小型边缘CNN的知识传递至中心化大型CNN,从而实现在边缘设备上高效训练大型CNN。与FedAvg相比,GKT将边缘设备的计算需求降低了9–17倍,模型参数量减少了54–105倍,同时在CIFAR-10、CIFAR-100和CINIC-10数据集上保持或略微提升了准确率,即使在非独立同分布(non-IID)数据下亦如此。
Scaling up the convolutional neural network (CNN) size (e.g., width, depth, etc.) is known to effectively improve model accuracy. However, the large model size impedes training on resource-constrained edge devices. For instance, federated learning (FL) on edge devices cannot tackle large CNN training demands, even though there is a strong practical need for FL due to its privacy and confidentiality properties. To address the resource-constrained reality, we reformulate FL as a group knowledge transfer (GKT) training algorithm. GKT designs a variant of the alternating minimization approach to train small CNNs on edge nodes and periodically transfer their knowledge by knowledge distillation to a large server-side CNN. GKT consolidates several advantages in a single framework: reduced demand for edge computation, lower communication cost for large CNNs, and asynchronous training, all while maintaining model accuracy comparable to FL. To simplify the edge training, we also develop a distributed training system based on our GKT. We train CNNs designed based on ResNet-56 and ResNet-110 using three distinct datasets (CIFAR-10, CIFAR-100, and CINIC-10) and their non-IID variants. Our results show that GKT can obtain comparable or even slightly higher accuracy. More importantly, GKT makes edge training affordable. Compared to the edge training using FedAvg, GKT demands 9 to 17 times less computational power (FLOPs) on edge devices and requires 54 to 105 times fewer parameters in the edge CNN.
研究动机与目标
- 为解决在资源受限的边缘设备上训练大型、高精度CNN的挑战,传统联邦学习(FL)因计算和通信成本过高而难以应用。
- 在保持与标准联邦学习相当的模型准确率的前提下,减轻边缘设备的计算和模型参数规模负担。
- 通过将联邦学习重新构型为群体知识迁移(GKT)框架,实现异步、可扩展且保护隐私的训练。
- 设计一种分布式训练系统,通过知识蒸馏和交替最小化简化边缘设备的训练过程。
- 在多种数据集上评估GKT的性能,包括非独立同分布(non-IID)数据分布,以验证其鲁棒性与效率。
提出的方法
- GKT将联邦学习重构为群体知识迁移过程,其中小型CNN在边缘设备上本地训练,并通过知识蒸馏周期性地更新中心服务器上的大型CNN。
- 该框架采用交替最小化方法,联合优化边缘与服务器端模型,提升知识迁移效率。
- 通过知识蒸馏将小型边缘模型的软标签和特征表示传递至大型服务器端CNN,实现在最小通信量下实现高精度的模型更新。
- 系统支持异步训练,允许边缘设备在不同时间间隔内贡献更新,无需严格同步。
- 实现了分布式训练系统,简化边缘设备的部署,降低边缘节点对高端硬件的依赖。
- 采用ResNet-56和ResNet-110架构作为基础模型,在CIFAR-10、CIFAR-100和CINIC-10数据集上进行训练,数据划分采用非独立同分布(non-IID)设置。
实验结果
研究问题
- RQ1与标准联邦学习相比,从边缘小型CNN向大型服务器端CNN进行知识蒸馏,是否能维持或提升模型准确率?
- RQ2与FedAvg相比,GKT在多大程度上降低了边缘设备的计算和模型参数规模需求?
- RQ3在真实边缘环境中常见的非独立同分布(non-IID)数据分布下,GKT的性能表现如何?
- RQ4GKT能否在保持模型收敛性和准确率的前提下支持异步训练?
- RQ5在所提出的框架中,通信成本、边缘计算与模型准确率之间的权衡关系如何?
主要发现
- 在CIFAR-10、CIFAR-100和CINIC-10数据集上,GKT的测试准确率与FedAvg相当或略高,即使在非独立同分布(non-IID)数据分布下亦如此。
- 使用GKT的边缘设备在训练过程中所需的FLOPs比FedAvg减少9至17倍,显著降低了计算负载。
- GKT中的边缘CNN参数量比其FedAvg对应模型少54至105倍,使其能够在低资源设备上部署。
- GKT支持异步训练且不损失模型准确率,显著提升了在真实边缘部署场景下的实用性。
- 该框架在所有评估数据集上均保持了高性能,证明了其对数据异质性的强鲁棒性。
- 基于GKT的分布式训练系统简化了边缘设备的部署,降低了基础设施需求。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。