Adaptive Split Learning

Ayush Chopra, Surya Kant Sahu, Abhishek Singh, Abhinav Java, Praneeth Vepakomma, Mohammad Mohammadi Amiri, Ramesh RaskarFLSys @ MLSys 2023

TL;DR

This paper introduces AdaSplit, a novel adaptive split learning framework designed to overcome the bandwidth and performance limitations of traditional Split Learning (SL) in resource-constrained environments. AdaSplit achieves this by enabling clients to train locally with their own gradients, reducing communication frequency and payload, and allowing clients to update only sparse partitions of the server model, making SL a more competitive alternative to Federated Learning (FL).

What Problem Does This Paper Address?

Federated Learning (FL) is a popular approach for distributed deep learning, allowing devices to train models collaboratively without sharing raw data. However, FL faces challenges with the increasing size of state-of-the-art models, which demand significant computational resources from client devices. Split Learning (SL) offers a solution by splitting model training between clients and servers, reducing client computation. Yet, traditional SL suffers from massive increases in bandwidth consumption due to frequent communication and can lead to suboptimal performance, especially when client data is heterogeneous (non-IID). This paper aims to make SL a more viable and efficient alternative to FL by addressing these bandwidth and performance issues.

Methods

The core contribution of this paper is the introduction of AdaSplit, an adaptive split learning framework. AdaSplit enhances SL by incorporating several key innovations:

  • Local Client Gradients: Clients compute their own gradients using a local objective function (based on NT-Xent loss) instead of relying on server-provided gradients. This significantly reduces communication costs and enables asynchronous client-server training.
  • Intermittent Server Training: The training process is divided into a "Local Phase" where only clients train, and a "Global Phase" where the server also trains. This intermittent server training reduces overall server computation.
  • Infrequent Communication with Smaller Payloads: By eliminating the need for clients to receive gradients from the server, AdaSplit drastically reduces the payload size transmitted between client and server. Furthermore, an orchestrator selects a subset of clients to communicate with the server in each iteration, further reducing communication frequency.
  • Sparse Updates of Server Model: AdaSplit introduces an L1 weight regulator to promote sparsity in the server model. Clients update only specific partitions of the server model, which helps mitigate interference issues arising from heterogeneous client data and improves collaboration.

Datasets

The authors evaluated AdaSplit using two experimental protocols:

  • Mixed-CIFAR: Based on CIFAR-10, where classes are divided into subsets assigned to clients, creating low and consistent heterogeneity.
  • Mixed-NonIID: Utilizes five benchmark datasets (MNIST, CIFAR-10, FMNIST, CIFAR-100, Not-MNIST) to simulate high and variable inter-client heterogeneity.

Key Insights and Ideas

  • SL's Bandwidth Bottleneck is Solvable: The paper demonstrates that the high bandwidth consumption of SL isn't an inherent limitation but can be significantly reduced through intelligent design choices like eliminating server-to-client gradient communication and selective client participation.
  • Client-Side Gradients are Key for Efficiency: Empowering clients to compute their own gradients is a crucial step towards making SL more efficient and enabling asynchronous operations, which are vital for scalability.
  • Sparse Model Updates for Heterogeneous Data: The insight that neural networks are overparameterized and that clients can effectively learn by updating only sparse partitions of the server model is critical for improving collaboration and performance in non-IID settings. This leverages the overparameterization for better generalization rather than just compression.
  • Adaptability is Crucial: AdaSplit's ability to adapt to variable resource budgets (bandwidth and compute) by tuning hyperparameters like local phase duration (κ) and client model size (μ) makes it a practical solution for diverse deployment scenarios.

Key Results

AdaSplit consistently outperformed existing SL and FL baselines across various metrics:

  • Improved Accuracy with Reduced Resources: On Mixed-CIFAR, AdaSplit achieved 91.92% accuracy with significantly lower bandwidth (2.85 GB vs. 35.94 GB for SL-basic) and compute (2.38 TFLOPS vs. 13.76 TFLOPS for SL-basic).
  • Competitive with FL: AdaSplit achieved comparable or better accuracy than FL methods like FedProx (87.11% vs. 85.09% on Mixed-NonIID) while consuming substantially less client compute (5.38 TFLOPS vs. 17.13 TFLOPS).
  • Best Trade-off: AdaSplit consistently provided the best C3-Score (a proposed metric for joint evaluation of accuracy, bandwidth, and compute) across both datasets, indicating superior efficiency. For example, on Mixed-CIFAR, AdaSplit achieved a C3-Score of 0.89, significantly higher than FedProx (0.81) and SplitFed (0.62).
  • Adaptability Demonstrated: Sensitivity analyses showed that AdaSplit could effectively trade off accuracy for reduced bandwidth or compute by adjusting its hyperparameters, demonstrating its flexibility. For instance, increasing the local phase duration (κ) drastically reduced bandwidth consumption with minimal accuracy loss.

Limitations and Future Work

  • Hyperparameter Tuning: While AdaSplit demonstrates adaptability, finding the optimal hyperparameters (κ, η, μ, λ) for specific scenarios might require further investigation.
  • Privacy: The paper briefly mentions privacy in SL but does not delve deeply into AdaSplit's privacy guarantees beyond the inherent benefits of not sharing raw data. Further research into privacy-preserving mechanisms within AdaSplit could be valuable.
  • Future Work: The authors suggest exploring the connection between AdaSplit and continual learning, as well as extending the C3-Score metric to include other resource dimensions like privacy budgets. They also anticipate exploring the integration of AdaSplit with other distributed learning paradigms.

Summary updated

BibTeX
@inproceedings{chopra2023adaptive,
  author = {Ayush Chopra and Surya Kant Sahu and Abhishek Singh and Abhinav Java and Praneeth Vepakomma and Mohammad Mohammadi Amiri and Ramesh Raskar},
  title = {{Adaptive Split Learning}},
  booktitle = {FLSys @ MLSys},
  year = {2023},
  url = {https://openreview.net/forum?id=PKaQP7ywWtS},
}
Figure