Shard the Gradient, Scale the Model: Serverless Federated Aggregation via Gradient Partitioning
Not on the map. Why?
Abstract (arXiv)
Federated learning (FL) aggregation on serverless platforms faces a hard scalability ceiling: existing architectures (lambda-FL, LIFL) partition clients across aggregators, but every aggregator must hold the complete model gradient in memory. When gradients exceed the per-function memory limit (e.g., 10 GB on AWS Lambda), aggregation becomes infeasible regardless of tree depth or branching factor. We propose GradsSharding, which instead partitions the gradient tensor into M shards, each averaged independently by a serverless function that receives contributions from all clients. Because FedAvg averaging is element-wise, this produces bit-identical results to tree-based approaches, so model accuracy is invariant by construction. Per-function memory is bounded at O(|θ|/M), independent of client count, enabling aggregation of arbitrarily large models. We evaluate GradsSharding against lambda-FL and LIFL through HPC experiments and real AWS Lambda deployments across model sizes from 43 MB to 5 GB. Results show a cost crossover at approximately 500 MB gradient size, 2.7x cost reduction at VGG-16 scale, and that GradsSharding is the only architecture that remains deployable beyond the serverless memory ceiling.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 19 of its 32 references that are in the map. First posted on arXiv 23 Apr 2026.
Builds on
19 of 32 references.
References · 19
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,592
- 2018Federated Optimization in Heterogeneous Networkscited by 2,971
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
- 2017Sparse Communication for Distributed Gradient Descentcited by 243
- 2015Evaluation of Deep Convolutional Nets for Document Image Classification and Retrievalcited by 212
- 2019Client-Edge-Cloud Hierarchical Federated Learningcited by 202
- 2019Peer-to-peer Federated Learning on Graphscited by 85
- 2019Communication-efficient distributed SGD with Sketchingcited by 81
- 2020FedAT: A High-Performance and Communication-Efficient Federated Learning System with Asynchronous Tierscited by 64
7 more
- 2017Occupy the Cloud: Distributed Computing for the 99%cited by 17
- 2021Towards Demystifying Serverless Machine Learning Trainingcited by 16
- 2021FedLess: Secure and Scalable Federated Learning Using Serverless Computingcited by 13
- 2022Adaptive Aggregation For Federated Learningcited by 10
- 2023SPIRT: A Fault-Tolerant and Reliable Peer-to-Peer Serverless ML Training Architecturecited by 3
- 2023Exploring the Impact of Serverless Computing on Peer To Peer Training Machine Learningcited by 2
- 2024LIFL: A Lightweight, Event-driven Serverless Platform for Federated Learningcited by 2
Built on by
Not cited yet.