Abstract
Federated Learning (FL) enables multiple clients to collaboratively train a shared model while preserving data privacy. However, the high memory demand during model training severely limits the deployment of FL on resource-constrained clients. To this end, we propose SCALEFL, a scalable and inclusive FL framework designed to overcome memory limitations through sequential block-wise training. The core idea of SCALEFL is to partition the global model into blocks and train them sequentially, thereby reducing training memory requirements. To mitigate information loss during block-wise training, SCALEFL introduces a Curriculum Mentor that crafts curriculum-aware training objectives for each block to steer their learning process. Moreover, SCALEFL incorporates a Training Harmonizer that designs a parameter co-adaptation training scheme to coordinate block updates, effectively breaking inter-block information isolation. Extensive experiments on both simulation and hardware testbeds demonstrate that SCALEFL significantly improves model performance by up to 84.2%, reduces peak memory usage by up to 50.4%, and accelerates training by up to 1.9×.
Introduction: The Memory Wall in Federated Learning
Federated Learning (FL) has emerged as a powerful paradigm for decentralized machine learning, allowing devices like smartphones and IoT sensors to train models locally without exposing raw data. However, as deep learning models grow in size and complexity, they encounter a significant "memory wall." Training a standard model like ResNet34 can require over 12 GB of RAM to accommodate weights, gradients, and intermediate activations—a requirement that far exceeds the 4–8 GB capacity of typical mid-range mobile devices.
Currently, this bottleneck is addressed by excluding low-memory devices, which introduces data bias and wastes valuable edge resources, or by using model compression and partial training, which often compromises final accuracy. SCALEFL addresses these challenges by enabling large-scale model training on resource-constrained devices through a novel sequential approach.
The SCALEFL Framework
The core innovation of SCALEFL is Sequential Block-Wise Training (SBT). Instead of attempting to train the entire global model at once, the framework partitions it into blocks that are trained sequentially across stages. This allows the framework to bypass the peak memory requirements of full-model backpropagation.
Curriculum Mentor
A primary risk in block-wise training is "information stagnation," where early blocks over-optimize for the immediate task and discard complex features needed by later layers. SCALEFL introduces a Curriculum Mentor based on Information Bottleneck (IB) theory. Using the Hilbert-Schmidt Independence Criterion (HSIC), the mentor ensures that each block retains sufficient information from the original input to support subsequent learning stages. This "curriculum" guides early layers to preserve essential data characteristics rather than just seeking immediate classification accuracy.
Training Harmonizer
To prevent blocks from becoming isolated silos, the Training Harmonizer implements a parameter co-adaptation scheme. When a new block begins training, the harmonizer "unfreezes" the final layers of the preceding block. This allows gradients to flow across the boundary between blocks, ensuring they work harmoniously and breaking the isolation that typically plagues modular training.
Experimental Evaluation and Results
The framework was rigorously tested on benchmarks including CIFAR10, CIFAR100, CINIC10, Mini-ImageNet, and FEMNIST, across diverse architectures like ResNet, VGG, and Vision Transformers (ViT). SCALEFL demonstrates superior performance across multiple dimensions:
- Accuracy Boost: SCALEFL consistently outperforms baselines like FedAvg and standard SBT. It achieves up to an 84.2% improvement over "AllSmall" baselines where models are shrunk for all devices.
- Memory Efficiency: Peak memory usage is reduced by up to 50.4%, allowing devices with only 4GB of RAM to participate in training models that would otherwise require 12GB.
- Faster Convergence: SCALEFL reaches target accuracy up to 1.9× faster than theoretical baselines by enabling higher device participation and more efficient local updates.
Conclusion
SCALEFL successfully bridges the memory gap in Federated Learning, transforming resource-constrained devices from passive observers into active participants in high-performance model training. By combining sequential block-wise training with curriculum-aware guidance and inter-block harmonization, SCALEFL achieves significant gains in both inclusivity and model quality. Future work will explore automated block sizing and the application of this framework to even larger architectures, such as Large Language Models (LLMs), on the edge.
Summary updated