TL;DR
Split Learning (SL) allows decentralized training of deep learning models without sharing raw data, but its diverse approaches make comparisons difficult. This paper provides a comprehensive review and a standardized experimental evaluation of various SL paradigms, offering crucial insights for selecting the right approach and establishing a benchmark for future research.
What Problem Does This Paper Address?
The increasing prevalence of edge devices (sensors, smartphones, wearables) generates vast amounts of data. Training powerful deep learning models on this data is highly desirable for applications across various domains. However, privacy regulations and data ownership issues often prevent direct data sharing with a central server. While Federated Learning (FL) offers a solution by training models locally and sharing only gradients, it struggles with large, complex models on resource-constrained devices. Split Learning (SL) emerges as an alternative, dividing a model between edge devices (clients) and a central server. Despite its promise, the SL landscape is fragmented, with numerous variations in how models are split, how data is handled, and how aggregation occurs. This diversity makes it challenging to systematically compare SL paradigms and understand their trade-offs, hindering practical adoption and further research. This paper aims to bridge this gap by providing a structured review and a rigorous experimental comparison of existing SL methods.
Methods
The authors first systematically review and categorize existing SL paradigms into three main types:
- Model Split-Only: The model architecture is partitioned, but no data or model weights are aggregated during training.
- Weight Aggregation-Based: Techniques similar to Federated Learning's FedAvg are used to aggregate model weights from clients and the server.
- Intermediate Data Aggregation-Based: Gradients or "smashed data" (intermediate layer outputs) are aggregated from clients.
They then introduce SLPerf, a framework designed for benchmarking SL paradigms. Using this framework, they implement and experimentally evaluate several typical SL paradigms across various scenarios, focusing on four key dimensions: communication cost reduction, label protection, data heterogeneity, and computation/communication heterogeneity.
Datasets
The paper utilizes the following widely used datasets for their experiments:
- MNIST: A dataset of handwritten digits for image classification.
- CIFAR-10 and CIFAR-100: Datasets of 32x32 color images for image classification.
- Adult: A dataset for binary classification, predicting income based on census data.
- ogbg-molhiv: A dataset from the Open Graph Benchmark for molecular property prediction (predicting if molecules inhibit HIV replication).
These datasets cover a range of data types (images, tabular, graphs) and are used in both IID (Independent and Identically Distributed) and non-IID settings to simulate realistic data distributions.
Key Insights and Ideas
- The fragmentation of SL is a major hurdle: The sheer variety of SL approaches, from how the model is split to how data is aggregated, makes direct comparison difficult without a standardized framework.
- Non-IID data is the real challenge: While most SL paradigms perform similarly to centralized training in IID settings, their performance degrades significantly in non-IID scenarios, highlighting the need for robust methods.
- SplitFed shows remarkable robustness: Among the evaluated SL paradigms, SplitFed consistently demonstrates superior performance and robustness in non-IID settings, outperforming others and even approaching centralized training accuracy. This is attributed to its approach of having clients send model weights to the server, facilitating information exchange.
- Vanilla SL can struggle: The "Vanilla" SL approach, while simple, often shows poor performance, especially in extreme non-IID conditions, sometimes even underperforming local training.
- Cut layer selection matters: The choice of where to split the model (the "cut layer") significantly impacts communication costs, and finding the optimal split is crucial for efficiency.
- SL can indeed improve client performance: Even without data sharing, SL paradigms generally enhance the performance of individual clients compared to purely local training, especially in complex tasks or skewed data distributions.
Key Results
- IID Setting: In IID settings, most SL paradigms achieve comparable accuracy to centralized training, with minor differences.
- Non-IID Setting: In non-IID settings, performance drops significantly for most SL paradigms. SplitFed stands out, achieving accuracies like 97.68% on MNIST with high heterogeneity (α=0.1), close to centralized training. Vanilla SL, in contrast, can drop to as low as 18.26% in extreme non-IID cases.
- Comparison with FedAvg: SplitFed often converges faster and achieves higher accuracy than FedAvg, especially on complex datasets like CIFAR-10. However, FedAvg can outperform other SL paradigms in simpler non-IID scenarios.
- Communication Costs: Communication costs vary significantly based on the SL paradigm, dataset size, and the choice of the cut layer. For instance, SplitFed incurs higher costs due to transmitting model parameters, while AsyncSL offers reduced costs.
- Client Performance Improvement: Compared to local training, SL paradigms generally improve client performance, especially on CIFAR-10 where local training accuracy drops significantly with increasing client numbers and data heterogeneity.
Limitations and Future Work
The authors acknowledge that their work focuses on a subset of SL paradigms and that further research is needed to explore more advanced techniques. They suggest that combining SL with FL could be beneficial for improved performance in non-IID scenarios. Future work could also delve deeper into optimizing communication costs by carefully selecting cut layers and SL paradigms, and further investigate the robustness and efficiency of existing SL methods. The establishment of the SLPerf framework and the comprehensive experimental evaluation serve as a foundation for future research, providing a fair and accessible benchmark for SL performance evaluation.
Summary updated