Introduction
Federated Learning (FL) has emerged as a privacy-preserving paradigm for training machine learning models across decentralized edge devices. However, as Deep Neural Networks (DNNs) grow in complexity, they encounter a significant "memory wall." While many mobile devices possess sufficient RAM for model inference, the memory requirements for training—specifically the storage of intermediate activations for backpropagation—often exceed the hardware limits of consumer electronics.
The Challenge of On-Device Training
The primary bottleneck in on-device FL is the activation memory. As shown in the figure below, activation storage scales significantly with batch size and model depth, often dwarfing the memory required for model parameters and optimizer states.
Beyond raw memory limits, real-world FL deployment faces "triple heterogeneity":
- Hardware Heterogeneity: A diverse ecosystem of devices ranging from low-power wearables to flagship smartphones.
- Data Heterogeneity: Non-IID (not identically and independently distributed) data across users, which can hinder convergence.
- Dynamic Resource Budgets: Fluctuating available RAM on mobile devices due to background application activity.
SmartSplit: A Hierarchical Model Splitting Framework
To address these challenges, we introduce SmartSplit, a hierarchical management system designed to enable large-scale FL on memory-constrained devices through intelligent model splitting. SmartSplit partitions the model between the client device and a server, offloading memory-intensive layers while maintaining data privacy.
System Architecture
SmartSplit operates across three tiers:
- Central Manager: Located on the server, it utilizes Bayesian Optimization (BO) to determine optimal model split points for participating devices, aiming to minimize system latency while maximizing data utility.
- MEC Manager: Deployed at the Mobile Edge Computing (MEC) tier, it implements Importance Scheduling to filter out redundant samples, accelerating model convergence.
- On-Device Manager (ODM): Monitors real-time memory availability and dynamically adjusts training strategies. It employs Cost-Aware Recomputation to switch between speed-centric and memory-centric modes, preventing training failures during memory pressure.
The U-Split Privacy Mechanism
Unlike traditional split learning, which may leak private labels to the server, SmartSplit utilizes a U-Split architecture. In this setup, labels remain on the device. The server processes intermediate layers and returns loss scalars, ensuring that sensitive user data and labels never leave the local environment.
Experimental Results
SmartSplit was evaluated on a diverse testbed of mobile SoCs (e.g., Snapdragon 410 to 888) using standard Computer Vision (CV) and Natural Language Processing (NLP) datasets.
Performance Gains
The framework demonstrates substantial improvements over vanilla FL (FedAvg):
- Memory Efficiency: SmartSplit achieves up to 100x memory savings for VGG16 and 50x for AlexNet.
- Latency Reduction: By optimizing split points and scheduling, it reduces peak training latency by up to 94%.
- Accuracy in Non-IID Settings: SmartSplit improves model accuracy by 1.49% to 57.18% compared to baselines like TiFL in challenging data distributions.
The following figure illustrates the trade-offs between test accuracy and training latency across different system configurations, showcasing SmartSplit's ability to balance these competing objectives.
Conclusion
SmartSplit effectively breaks the "memory wall" for federated learning on heterogeneous mobile devices. By combining dynamic model splitting with hierarchical management and privacy-preserving U-Split architecture, it enables the training of state-of-the-art DNNs on hardware previously considered incapable of such tasks. Future research will focus on further reducing communication overhead through advanced data compression techniques.
Summary updated