Skip to main content
QUICK REVIEW

[论文解读] Knowledge-Enhanced Semi-Supervised Federated Learning for Aggregating Heterogeneous Lightweight Clients in IoT

Jiaqi Wang, Shenglai Zeng|arXiv (Cornell University)|Mar 5, 2023
Privacy-Preserving Technologies in DataComputer Science被引用 3
一句话总结

该论文提出 pFedKnow,一种面向物联网的、知识增强的半监督联邦学习框架,可实现个性化、轻量级客户端模型,并显著降低通信开销。通过结合神经网络剪枝、结构感知协同蒸馏以及来自预训练大模型的知识蒸馏,pFedKnow 在图像和文本基准测试中均取得了最先进性能,同时大幅减少了通信成本。

ABSTRACT

Federated learning (FL) enables multiple clients to train models collaboratively without sharing local data, which has achieved promising results in different areas, including the Internet of Things (IoT). However, end IoT devices do not have abilities to automatically annotate their collected data, which leads to the label shortage issue at the client side. To collaboratively train an FL model, we can only use a small number of labeled data stored on the server. This is a new yet practical scenario in federated learning, i.e., labels-at-server semi-supervised federated learning (SemiFL). Although several SemiFL approaches have been proposed recently, none of them can focus on the personalization issue in their model design. IoT environments make SemiFL more challenging, as we need to take device computational constraints and communication cost into consideration simultaneously. To tackle these new challenges together, we propose a novel SemiFL framework named pFedKnow. pFedKnow generates lightweight personalized client models via neural network pruning techniques to reduce communication cost. Moreover, it incorporates pretrained large models as prior knowledge to guide the aggregation of personalized client models and further enhance the framework performance. Experiment results on both image and text datasets show that the proposed pFedKnow outperforms state-of-the-art baselines as well as reducing considerable communication cost. The source code of the proposed pFedKnow is available at https://github.com/JackqqWang/pfedknow/tree/master.

研究动机与目标

  • 解决物联网联邦学习中标签稀缺的问题,即服务器仅能访问少量标签。
  • 在客户端无标签数据的前提下,为异构、轻量级的物联网客户端实现模型个性化。
  • 通过神经网络剪枝压缩客户端模型,降低联邦学习中的通信开销。
  • 通过利用预训练大模型作为先验知识,在数据异构性和计算资源有限的条件下提升模型性能。
  • 设计一种可扩展且高效的框架,适用于具有实际约束条件的真实物联网应用场景。

提出的方法

  • 使用来自预训练大模型的知识蒸馏,在服务器端初始化一个轻量级全局模型。
  • 在每个客户端应用神经网络剪枝,基于其独特的本地数据生成个性化、轻量级的客户端模型。
  • 采用结构感知协同蒸馏机制,将异构、剪枝后的客户端模型聚合为具有统一架构的个性化全局模型。
  • 在服务器端聚合过程中引入预训练大模型作为先验知识,以增强模型性能。
  • 在初始化和训练过程中,利用知识蒸馏将大模型的知识迁移至轻量级全局模型。
  • 设计五步训练流水线:模型初始化、本地个性化训练、客户端到服务器上传、带蒸馏的服务器端聚合,以及全局模型更新。

实验结果

研究问题

  • RQ1在标签仅存在于服务器的半监督设置下,如何实现个性化联邦学习,且客户端无任何标签数据?
  • RQ2在异构物联网环境中,能否通过神经网络剪枝同时生成个性化且通信高效的客户端模型?
  • RQ3如何在服务器端有效聚合结构各异的剪枝后客户端模型?
  • RQ4将预训练大模型作为先验知识,能在多大程度上提升低数据、轻量级联邦学习中的性能?
  • RQ5所提出的框架是否能在图像和文本任务中均保持高准确率,同时显著降低通信成本?

主要发现

  • pFedKnow 在性能上优于最先进基线方法,包括 FedMatch、SSFL 和 FedMix,尤其在非独立同分布(non-IID)数据设置下表现更优。
  • 在 AG News 文本数据集上,无论在 IID 还是非 IID 设置下,pFedKnow 的准确率均显著高于 FedMatch。
  • 通过四倍模型压缩,pFedKnow 在基于 BERT 的文本模型上将平均通信开销降低了 73.6%。
  • 将预训练大模型作为先验知识,显著提升了模型在初始化和聚合阶段的性能。
  • 结构感知协同蒸馏实现了对异构、剪枝客户端模型的有效聚合,且无需模型重参数化。
  • pFedKnow 在图像和文本分类任务中均保持了强劲性能,展现出在物联网应用中的良好泛化能力。

阅读本论文

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

在 Nubint 中阅读本论文

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