arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.11652cs.CVcs.AIcs.CCcs.DCcs.LG
收藏

OnDev-LCT:面向联邦学习的设备端轻量卷积Transformer

OnDev-LCT: On-Device Lightweight Convolutional Transformers towards federated learning

Kyung Hee University(庆熙大学);Vietnam - Korea University of Information and Communication Technology(越韩信息与通信技术大学);University of Florida(佛罗里达大学)

Chu Myaet Thwal, Minh N. H. Nguyen, Ye Lin Tun, Seong Tae Kim, My T. Thai, Choong Seon Hong

AI总结:

针对联邦学习中边缘设备资源受限、数据非独立同分布的挑战,提出轻量卷积Transformer模型OnDev-LCT,结合卷积局部特征提取与自注意力全局建模能力,在更少参数和计算量下实现更优性能,适配联邦学习场景。

摘要:

联邦学习(FL)已成为一种颇具前景的方法,可在保护隐私的前提下跨多个边缘设备协同训练机器学习模型。联邦学习的成功取决于参与模型的效率,以及它们应对分布式学习特有挑战的能力。虽然多种Vision Transformer(ViT,视觉Transformer)变体在集中式训练中已展现出替代现代卷积神经网络(CNN)的巨大潜力,但其空前的参数量和更高的计算需求阻碍了它们在资源受限边缘设备上的部署,也对其在联邦学习中的广泛应用构成挑战。由于联邦学习中的客户端设备通常计算资源和通信带宽有限,面向这类设备的模型必须在模型规模、计算效率,以及适应联邦学习中遇到的多样化非独立同分布(non-IID)数据分布的能力之间取得平衡。为应对这些挑战,我们提出OnDev-LCT:面向训练数据与资源有限的设备端视觉任务的轻量卷积Transformer。我们的模型通过LCT tokenizer(LCT分词器)引入图像特定归纳偏置,在残差线性瓶颈块中利用高效的深度可分离卷积提取局部特征,同时LCT编码器中的多头自注意力(MHSA)机制可隐式助力捕捉图像的全局表征。在基准图像数据集上开展的大量实验表明,我们的模型在参数量更少、计算需求更低的情况下,性能优于现有轻量视觉模型,适用于存在数据异构性和通信瓶颈的联邦学习场景。

英文摘要:

Federated learning (FL) has emerged as a promising approach to collaboratively train machine learning models across multiple edge devices while preserving privacy. The success of FL hinges on the efficiency of participating models and their ability to handle the unique challenges of distributed learning. While several variants of Vision Transformer (ViT) have shown great potential as alternatives to modern convolutional neural networks (CNNs) for centralized training, the unprecedented size and higher computational demands hinder their deployment on resource-constrained edge devices, challenging their widespread application in FL. Since client devices in FL typically have limited computing resources and communication bandwidth, models intended for such devices must strike a balance between model size, computational efficiency, and the ability to adapt to the diverse and non-IID data distributions encountered in FL. To address these challenges, we propose OnDev-LCT: Lightweight Convolutional Transformers for On-Device vision tasks with limited training data and resources. Our models incorporate image-specific inductive biases through the LCT tokenizer by leveraging efficient depthwise separable convolutions in residual linear bottleneck blocks to extract local features, while the multi-head self-attention (MHSA) mechanism in the LCT encoder implicitly facilitates capturing global representations of images. Extensive experiments on benchmark image datasets indicate that our models outperform existing lightweight vision models while having fewer parameters and lower computational demands, making them suitable for FL scenarios with data heterogeneity and communication bottlenecks.

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

↑