arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.00334cs.CVcs.AI
收藏

EFTViT:在资源受限客户端上利用掩码图像高效联邦训练视觉Transformer

EFTViT: Efficient Federated Training of Vision Transformers with Masked Images on Resource-Constrained Clients

National University of Defense Technology(国防科技大学);Shenzhen MSU–BIT University(深圳MSU-BIT大学);Xi’an Jiaotong University(西安交通大学);Guangdong Laboratory of Artificial Intelligence and Digital Economy (SZ)(广东人工智能与数字经济实验室(深圳))

Meihan Wu, Tao Chang, Cui Miao, Jie Zhou, Chun Li, Xiangyu Xu, Ming Li, Xiaodong Wang

AI总结:

针对资源受限边缘设备高效联邦训练ViTs的空白,提出分层框架EFTViT,通过掩码图像、分模块训练与中位数采样策略,实现准确率提升与计算、时间成本的大幅降低。

摘要:

由于视觉Transformer(ViTs)的更优性能,联邦学习研究近期已从卷积神经网络(CNNs)转向ViTs。ViTs因缺乏CNNs固有的二维归纳偏置,训练需要更高的计算资源。但学界尚未探索在资源受限边缘设备上高效联邦训练ViTs的方法。本文提出EFTViT,这是一种分层联邦框架,利用掩码图像在资源受限边缘设备上实现高效的全参数训练,为异构数据学习带来显著优势。总体而言,我们将图像分块并随机掩码部分图像块,发现将这些块排除在训练外对性能影响极小,同时大幅降低计算成本并增强数据内容隐私保护。具体而言,EFTViT包含一系列轻量级本地模块和一个更大的全局模块,分别在客户端和中央服务器独立更新。本地模块在掩码图像块上训练,全局模块在本地客户端上传的中间块特征上训练,并通过提出的中位数采样策略实现平衡,以消除客户端数据分布隐私泄露风险。我们分析了EFTViT的计算复杂度和隐私保护能力。在主流基准上的大量实验表明,与现有方法相比,EFTViT的准确率提升最高达28.17%,本地训练计算成本最高降低2.8×,本地训练时间最高缩短4.4×。

英文摘要:

Federated learning research has recently shifted from Convolutional Neural Networks (CNNs) to Vision Transformers (ViTs) due to their superior capacity. ViTs training demands higher computational resources due to the lack of 2D inductive biases inherent in CNNs. However, efficient federated training of ViTs on resource-constrained edge devices remains unexplored in the community. In this paper, we propose EFTViT, a hierarchical federated framework that leverages masked images to enable efficient, full-parameter training on resource-constrained edge devices, offering substantial benefits for learning on heterogeneous data. In general, we patchify images and randomly mask a portion of the patches, observing that excluding them from training has minimal impact on performance while substantially reducing computation costs and enhancing data content privacy protection. Specifically, EFTViT comprises a series of lightweight local modules and a larger global module, updated independently on clients and the central server, respectively. The local modules are trained on masked image patches, while the global module is trained on intermediate patch features uploaded from the local client, balanced through a proposed median sampling strategy to erase client data distribution privacy. We analyze the computational complexity and privacy protection of EFTViT. Extensive experiments on popular benchmarks show that EFTViT achieves up to 28.17% accuracy improvement, reduces local training computational cost by up to 2.8$\times$, and cuts local training time by up to 4.4$\times$ compared to existing methods.

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

↑