Abstract
Training large-scale Vision Transformers (ViTs) on resource-constrained edge devices presents significant challenges due to limited computational power, data heterogeneity (non-IID), and privacy risks. This paper proposes FedV and FedVZ, novel frameworks that combine Federated Learning, Split Learning, and Pre-trained Image Transformers (PITs). By adopting a "sandwich" architecture—splitting the model into client-side heads/tails and a server-side backbone—and leveraging pre-trained weights, the proposed methods achieve substantial accuracy improvements (up to 70%) over existing baselines. Furthermore, FedVZ incorporates Zeroth-Order optimization to mitigate privacy risks associated with gradient sharing, ensuring robust performance in privacy-sensitive edge environments.
1. Introduction
The deployment of massive AI models like Vision Transformers (ViTs) to the edge is hindered by a "triple threat": resource constraints of IoT devices, data heterogeneity across clients, and privacy vulnerabilities during gradient exchange. Traditional Federated Learning (FL) often struggles with non-IID data, while standard Split Learning (SL) typically focuses on simpler models. This work addresses these gaps by integrating Pre-trained Image Transformers into a split-federated framework designed for heterogeneous edge environments.
2. Methodology
The core of the proposed approach is a "sandwich" architecture that partitions a pre-trained Transformer into three distinct components: a Client Head (initial layers), a Server Encoder (the heavy-duty backbone), and a Client Tail (final classification layers).
The authors introduce two primary algorithms:
- FedV: A base framework that utilizes pre-trained weights to stabilize training on heterogeneous data. Fine-tuning the split model proves more robust than training from scratch.
- FedVZ: An extension using Zeroth-Order (ZO) optimization. By approximating updates using loss values rather than explicit gradients, FedVZ protects against gradient inversion attacks, making it suitable for "black-box" server scenarios.
The specific client-side operations, including the forward pass through the head and tail and the subsequent local updates, are formalized in the client-side process.
3. Experimental Setup
The frameworks were evaluated on CIFAR-10, CIFAR-100, and Tiny-ImageNet datasets. To simulate real-world conditions, data was partitioned using Dirichlet distributions and pathological splits to create high levels of heterogeneity (non-IID).
4. Key Results
The proposed FedV framework demonstrates a dramatic performance leap. On the Tiny-ImageNet dataset with high heterogeneity ($\alpha=0.1$):
- FedAvg (Standard FL): ~14.1% accuracy.
- FESTA (Previous SOTA Split Learning): ~36.7% accuracy.
- FedV (Proposed): ~89.3% accuracy.
The privacy-centric FedVZ maintained a high accuracy of ~87.1%, showcasing a minimal performance trade-off for enhanced security against gradient inversion attacks.
5. Discussion and Conclusion
The success of FedV highlights that pre-training is essential for training Transformers in split-federated settings. The architecture's resilience to data messiness stems from the Transformer's ability to handle long-range dependencies, combined with the stability provided by PITs. While communication overhead remains a challenge due to the exchange of intermediate features, the framework offers a powerful solution for bringing state-of-the-art AI to the edge without compromising privacy. Future work will explore scalability to even larger models and diverse black-box scenarios.
Summary updated