TL;DR
This paper presents the first comprehensive, end-to-end empirical comparison of Federated Learning (FL) and Split Learning (SplitNN) deployed on real IoT hardware (Raspberry Pis). The authors reveal critical trade-offs: while SplitNN converges faster under imbalanced data distributions, it completely fails under extreme non-IID data, and its high per-batch communication overhead makes FL a more practical choice for communication-constrained IoT networks.
What Problem Does This Paper Address?
Internet of Things (IoT) devices continuously collect highly sensitive data, from voice commands to medical ECG signals. To protect user privacy, distributed machine learning paradigms keep data localized on edge devices rather than aggregating it in the cloud.
Two dominant frameworks for this are Federated Learning (FL) and Split Neural Networks (SplitNN). While theoretical analyses of these methods exist, there is a massive gap in understanding how they perform in the real world. Specifically, how do they handle non-ideal data distributions (like imbalanced or non-IID data), and what are the actual hardware costs—training time, memory usage, power consumption, network traffic, and even CPU temperature—when deployed on resource-constrained edge devices?
Methods
The authors evaluate two primary distributed learning architectures:
- Federated Learning (via FedAvg): Clients train a full copy of the model locally for a set number of epochs and send the resulting model weights to a central server, which averages them.
- SplitNN: The neural network is split vertically at a "cut layer." The client computes only the first few layers, sends the activations to the server, and the server completes the forward pass and handles the bulk of backpropagation, sending gradients back to the client.
Novel Contribution: Because SplitNN traditionally trains clients sequentially (round-robin), the server experiences idle capacity. The authors introduce a novel SplitNN-enabled Ensemble Learning method. By training different model architectures across multiple clients simultaneously, they leverage the server's parallel processing power to generate multiple models at a reduced computational time overhead.
Datasets
The frameworks were evaluated using two sequential, privacy-sensitive datasets:
- Speech Commands (SC): A crowdsourced dataset of one-second audio files (.wav) of spoken English words. The authors used 10 classes (~20,827 samples total) to simulate voice-assistant applications.
- Electrocardiogram (ECG): The MIT-BIH arrhythmia database, consisting of 26,490 samples across 5 heartbeat types, simulating wearable medical sensors.
Key Insights and Ideas
- SplitNN's Blind Spot (Catastrophic Forgetting): Under extreme non-IID data distributions (e.g., when a client only holds data from a single class), SplitNN fails to learn entirely. Because clients are trained sequentially without weight aggregation, the network suffers from severe knowledge forgetting. FL, by contrast, handles non-IID data much better due to its weight-averaging mechanism.
- The Communication Bottleneck: For relatively simple models, FL is vastly more communication-efficient. FL only transmits model weights once per round. SplitNN must transmit activations and gradients for every single training batch, resulting in gigabytes of network traffic that can easily overwhelm wireless IoT networks.
- Thermal and Power Asymmetry: FL forces the edge device to train the entire model, causing high peak power consumption and spiking CPU temperatures (up to 83°C without a cooling fan). SplitNN keeps edge devices cooler and lowers peak power because the server does the heavy lifting, but it results in higher total energy consumption because the sequential training process takes much longer.
- Heavy Models are Infeasible: Testing standard vision models like MobileNet and ResNet revealed that neither FL nor SplitNN is viable for complex models on low-power hardware like a Raspberry Pi 3; a single training round can take hours.
Key Results
- Learning Performance: SplitNN converges faster than FL under imbalanced data sizes. However, under extreme non-IID conditions (1 client, 1 class), SplitNN's accuracy stalls at baseline guessing levels (~22.6% for ECG), while FL successfully converges.
- Ensemble Efficiency: The proposed parallel ensemble method for SplitNN reduced the time overhead to obtain two distinct models by 26.8% compared to training them sequentially.
- Hardware Overhead: For a 4-layer 1D CNN, FL's communication overhead remained constant at ~28 MB. In contrast, SplitNN's overhead scaled linearly with data size, stretching into gigabytes. However, SplitNN reduced client memory usage significantly compared to FL, as the client only held a fraction of the network layers.
Limitations and Future Work
The authors note that their evaluation focused on 1D CNNs because they are straightforward to split vertically. More complex sequential models, such as LSTMs and RNNs, are inherently difficult to partition within a SplitNN framework, leaving their compatibility as an open research question. Furthermore, to make heavier models viable on low-capacity IoT devices, the authors suggest exploring model compression and optimization techniques, such as binarized networks (XNOR-Net) or multiplication-free architectures (AdderNet).
Summary updated