Adaptive Compression-Aware Split Learning and Inference for Enhanced Network Efficiency

Akrit Mudvari, Antero Vainio, Iason Ofeidis, Sasu Tarkoma, Leandros Tassiulas · DOI

TL;DR

This paper introduces deprune and prune, two adaptive methods designed to make split learning more efficient for resource-constrained mobile and IoT devices. By utilizing a novel compression-decompression module and a transfer learning approach, the authors achieve up to a 4x reduction in network usage and a 6x speedup in training time without sacrificing model accuracy.

What Problem Does This Paper Address?

As AI applications become ubiquitous on mobile devices, the demand for computational power often outstrips local hardware capabilities. Split learning offers a solution by partitioning a deep neural network: the "weaker" mobile device handles the initial layers, while the "stronger" edge or cloud server processes the rest.

However, split learning faces a major hurdle: the "split point" often requires transmitting massive amounts of data (feature maps), creating a network bottleneck. While compression can help, current state-of-the-art methods are static. If you need a different level of compression to adapt to changing network conditions, you usually have to retrain the entire model from scratch. This paper tackles the need for adaptive, compression-aware training that can dynamically adjust to bandwidth constraints without the overhead of full retraining.

Methods

The authors propose a system architecture centered around a Compression-Decompression Module inserted at the split point between two devices.

System Overview: split learning representation across multiple devices with the compression-decompression module involved

1. The Module

The module uses a learnable "filter" variable ($f$) that acts as a gatekeeper for feature maps. During training, a specialized pruneLoss function (a soft-constraint barrier function) encourages the model to satisfy a specific communication budget ($B$) by pushing unnecessary filter values toward zero.

Illustration of Compression and Decompression modules

2. The 'deprune' Method

This method optimizes the training process itself. It starts training with high compression (very few feature maps transmitted) to save bandwidth. As training progresses, it "deprunes"—gradually increasing the allowed budget—to recover accuracy. This "warm-up" on low bandwidth significantly reduces total data transfer.

3. The 'prune' Method

Designed for rapid model deployment, 'prune' uses a transfer learning approach. A "base model" is trained with no compression. Then, instead of training new compressed models from scratch, the system transfers the learned parameters and quickly fine-tunes them for various lower-bandwidth budgets.

Datasets

The researchers evaluated their methods using three standard image classification benchmarks:

  • CIFAR10: A classic dataset of 60,000 small images across 10 classes.
  • ImageNet100: A subset of the massive ImageNet-1k dataset, containing 100 classes with higher-resolution images.
  • STL10: An image recognition dataset designed for developing unsupervised feature learning and deep learning algorithms.

Key Insights and Ideas

  • Bandwidth as a Learnable Parameter: By incorporating the communication budget directly into the loss function, the network learns which features are most "essential" to transmit.
  • Compression Transferability: One of the biggest "aha" moments is that parameters learned at one compression level are highly effective starting points for others. This invalidates the need for the "start from scratch" approach prevalent in previous literature.
  • Dynamic Learning Rates: The authors found that when switching from a high-compression budget to a lower one, temporarily boosting the learning rate helps the model escape local minima and adapt to the newly available data features.

Key Results

The experimental results across Wi-Fi and Ethernet testbeds demonstrate significant gains:

  • Network Efficiency: The 'deprune' method reduced network usage by 4x compared to standard split learning while maintaining identical accuracy.
  • Accuracy Boost: Compared to static compression-aware methods, 'deprune' actually improved final accuracy by 4%.
  • Training Speed: The 'prune' method achieved a 6x speedup in training time for compressed models compared to training them from scratch.
  • Throughput: In a realistic Wi-Fi testbed with multiple IoT devices, the proposed module increased the number of samples processed per minute (throughput) by roughly 2.5x.

Limitations and Future Work

While the results are promising, the authors acknowledge some "uncertainty and variability" in training speeds across different epochs and datasets. Sometimes the model reaches the desired accuracy faster, and sometimes slower, depending on the complexity of the vision task.

Future Work: The authors suggest developing an automated way to explore the "right" and "minimum" compression possibilities dynamically, potentially removing the need for manually defined budget lists. They also aim to extend this work to more complex tasks like Augmented Reality (AR) and Extended Reality (XR) where latency constraints are even more stringent.

Summary updated

BibTeX
@article{mudvari2024adaptive,
  author = {Akrit Mudvari and Antero Vainio and Iason Ofeidis and Sasu Tarkoma and Leandros Tassiulas},
  title = {{Adaptive Compression-Aware Split Learning and Inference for Enhanced Network Efficiency}},
  journal = {ACM Trans. Internet Techn.},
  year = {2024},
  doi = {10.1145/3687471},
}
Figure