arXiv:2412.00334cs.CVcs.AI2024-12ICCV被引 2

用遮蔽图像提升视觉Transformer在低资源设备上的联邦训练效率

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

  • 通过随机遮蔽图像块,降低本地计算负担
  • 相比现有方法,准确率最高提升28.17%,训练时间减少4.4倍
  • 适合边缘设备上异构数据的高效隐私保护训练

由于卓越的建模能力,联邦学习研究正从卷积神经网络转向视觉变压器(ViTs),但其训练需更高算力,且在资源受限的边缘设备上高效联邦训练仍缺乏探索。本文提出EFTViT,一种分层联邦框架,利用遮蔽图像实现低资源设备上的全参数训练。具体地,将图像分块并随机遮蔽部分块,发现剔除这些块对性能影响小,却显著降低计算开销并增强数据隐私。EFTViT包含轻量级本地模块与大型全局模块,分别在客户端和服务器独立更新;本地模块在遮蔽图像块上训练,全局模块基于上传的中间块特征训练,通过中位采样策略平衡以消除客户端数据分布隐私。理论分析计算复杂度与隐私保护。大量实验表明,相较于现有方法,EFTViT在主流基准上最高提升28.17%准确率,本地训练计算成本降低2.8倍,训练时间缩短4.4倍。

原文摘要 · Abstract (English)

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.

联邦学习视觉Transformer边缘计算隐私保护

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。