Introduction
Distributed machine learning often faces a critical trade-off between privacy, local computational load, and communication efficiency. While Federated Learning (FL) preserves privacy by keeping data on-device, it imposes a heavy computational burden on clients. Split Learning (SL) mitigates this by partitioning the model between client and server, yet it introduces a massive communication bottleneck: the continuous exchange of "smashed data" (intermediate features and gradients) during training. Split-Federated Learning (SplitFed) attempts to combine the strengths of both but still suffers from high bandwidth requirements, particularly in data-intensive fields like medical imaging.
Existing compression methods, such as simple quantization or pre-trained autoencoders, often fail to adapt to the dynamic statistics of data during the training process. To address this, we introduce SplitFedZip, a framework that integrates end-to-end rate-distortion (RD) optimized compression directly into the SplitFed training loop.
Methodology: End-to-End Rate-Distortion Optimization
SplitFedZip embeds learned compression codecs at the split points of a neural network, specifically a split U-Net architecture. Unlike static compression techniques, SplitFedZip optimizes a joint loss function:
$$L = L_r + \lambda \cdot \{L_{Dice} + L_{mse}\}$$
This formulation balances the bit-rate ($L_r$) against reconstruction error ($L_{mse}$) and task-specific performance ($L_{Dice}$).
The framework supports two primary compression schemes:
- F scheme: Compressing only forward-pass features.
- FG scheme: Compressing both forward-pass features and backward-pass gradients.
Two codec architectures were evaluated: a standard convolutional Autoencoder (AE) and the more advanced Cheng2020 model, which utilizes attention mechanisms and Gaussian mixture likelihoods for superior entropy modeling. By training these codecs alongside the main model, the system dynamically adapts to evolving feature and gradient statistics.
Experimental Setup
The method was validated on two medical image segmentation tasks:
- Blastocyst Dataset: Multi-class segmentation of human embryos (781 samples).
- HAM10K Dataset: Binary skin lesion segmentation (10,015 dermoscopic images).
Experiments simulated a federated environment with five clients exhibiting varying data distributions.
Key Results and Insights
SplitFedZip demonstrates a remarkable ability to reduce data transfer without sacrificing accuracy. On the HAM10K dataset, the system achieved the baseline Mean Jaccard Index (MJI) of 0.892 while requiring only 0.09 GB of data transfer—a significant reduction compared to the 8 GB required by existing state-of-the-art methods.
Key findings include:
- Massive Data Reduction: SplitFedZip achieved reductions ranging from 3.2x to 5000x compared to previous SplitFed compression techniques.
- Gradients are Highly Compressible: Gradients were found to be 6% to 20% more efficient to transmit than features for equivalent quality levels.
- Compression as Regularization: In some cases, compressed models outperformed the uncompressed baseline, suggesting that the information bottleneck acts as a regularizer.
- Codec Sophistication: The Cheng_AT codec provided approximately 68% more bit-rate savings than the simpler AE, highlighting the value of advanced entropy modeling.
Conclusion and Future Work
SplitFedZip effectively addresses the communication bottleneck in Split-Federated Learning by learning task-specific compression during training. While it significantly slashes communication costs, future research should investigate the energy consumption trade-offs on edge hardware due to the added client-side encoding/decoding overhead. Additionally, exploring dynamic split-point optimization and applying these techniques to other modalities like NLP or audio remains a promising direction.
Summary updated