Towards Demystifying Serverless Machine Learning Training
Not on the map. Why?
Abstract (arXiv)
The appeal of serverless (FaaS) has triggered a growing interest on how to use it in data-intensive applications such as ETL, query processing, or machine learning (ML). Several systems exist for training large-scale ML models on top of serverless infrastructures (e.g., AWS Lambda) but with inconclusive results in terms of their performance and relative advantage over "serverful" infrastructures (IaaS). In this paper we present a systematic, comparative study of distributed ML training over FaaS and IaaS. We present a design space covering design choices such as optimization algorithms and synchronization protocols, and implement a platform, LambdaML, that enables a fair comparison between FaaS and IaaS. We present experimental results using LambdaML, and further develop an analytic model to capture cost/performance tradeoffs that must be considered when opting for a serverless infrastructure. Our results indicate that ML training pays off in serverless only for models with efficient (i.e., reduced) communication and that quickly converge. In general, FaaS can be much faster but it is never significantly cheaper than IaaS.
Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 39 of its 104 references that are in the map. First posted on arXiv 17 May 2021.
Builds on
39 of 104 references.
References · 39
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,166
- 2017Can Decentralized Algorithms Outperform Centralized Algorithms? A Case Study for Decentralized Parallel Stochastic Gradient Descentcited by 502
- 2017TernGrad: Ternary Gradients to Reduce Communication in Distributed Deep Learningcited by 256
- 2018The Convergence of Sparsified Gradient Methodscited by 229
- 2019Decentralized Stochastic Optimization and Gossip Algorithms with Compressed Communicationcited by 221
- 2018Don't Use Large Mini-Batches, Use Local SGDcited by 202
- 2013On the Convergence of Decentralized Gradient Descentcited by 159
- 2016QSGD: Communication-Efficient SGD via Gradient Quantization and Encodingcited by 147
- 2018D2: Decentralized Training over Decentralized Datacited by 140
- 2018ATOMO: Communication-efficient Learning via Atomic Sparsificationcited by 136
- 2016Asynchronous Stochastic Gradient Descent with Delay Compensationcited by 99
- 2018Communication Compression for Decentralized Trainingcited by 88
27 more
- 2018Byzantine Stochastic Gradient Descentcited by 81
- 2018Adaptive Communication Strategies to Achieve the Best Error-Runtime Trade-off in Local-Update SGDcited by 77
- 2018Error Compensated Quantized SGD and its Applications to Large-scale Distributed Optimizationcited by 76
- 2016CoCoA: A General Framework for Communication-Efficient Distributed Optimizationcited by 69
- 2015MLlib: Machine Learning in Apache Sparkcited by 55
- 2018COLA: Decentralized Linear Learningcited by 30
- 2018TicTac: Accelerating Distributed Deep Learning with Communication Schedulingcited by 27
- 2017Straggler Mitigation in Distributed Optimization Through Data Encodingcited by 26
- 2016Gossip Dual Averaging for Decentralized Optimization of Pairwise Functionscited by 21
- 2015Adding vs. Averaging in Distributed Primal-Dual Optimizationcited by 19
- 2015Asynchronous stochastic convex optimizationcited by 19
- 2017Serverless Computing: Current Trends and Open Problemscited by 17
- 2021Distributed Learning Systems with First-order Methodscited by 17
- 2016KeystoneML: Optimizing Pipelines for Large-Scale Advanced Analyticscited by 13
- 2018Serverless Computing: One Step Forward, Two Steps Backcited by 12
- 2014High-Performance Distributed ML at Scale through Parameter Server Consistency Modelscited by 10
- 2017Serving deep learning models in a serverless platformcited by 9
- 2018In-RDBMS Hardware Acceleration of Advanced Analyticscited by 8
- 2019OverSketched Newton: Fast Convex Optimization for Serverless Systemscited by 7
- 2019Lambada: Interactive Data Analytics on Cold Data using Serverless Cloud Infrastructurecited by 6
- 2019An Experimental Evaluation of Large Scale GBDT Systemscited by 5
- 2014An Asynchronous Distributed Proximal Gradient Method for Composite Convex Optimizationcited by 4
- 2017A Cost-based Optimizer for Gradient Descent Optimizationcited by 4
- 2018numpywren: serverless linear algebracited by 4
- 2019Starling: A Scalable Query Engine on Cloud Function Servicescited by 4
- 2020Dynamic Parameter Allocation in Parameter Serverscited by 4
- 2019Stratum: A Serverless Framework for Lifecycle Management of Machine Learning based Data Analytics Taskscited by 3
Built on by
Citing papers per year: 2021: 2; 2022: 3; 2023: 4; 2024: 2; 2025: 2; 2026: 3.
16 papers.
Sort:
- 2021FedLess: Secure and Scalable Federated Learning Using Serverless Computingcited by 13
- 2026Scheduling LLM Inference with Uncertainty-Aware Output Length Predictionscited by 8
- 2021You Do Not Need a Bigger Boat: Recommendations at Reasonable Scale in a (Mostly) Serverless and Open Stackcited by 5
- 2024PIM-Opt: Demystifying Distributed Optimization Algorithms on a Real-World Processing-In-Memory Systemcited by 5
- 2022SMLT: A Serverless Framework for Scalable and Adaptive Machine Learning Design and Trainingcited by 4
- 2023Exploring the Impact of Serverless Computing on Peer To Peer Training Machine Learningcited by 3
- 2023SPIRT: A Fault-Tolerant and Reliable Peer-to-Peer Serverless ML Training Architecturecited by 3
- 2022FedLesScan: Mitigating Stragglers in Serverless Federated Learningcited by 2
- 2024FSD-Inference: Fully Serverless Distributed Inference with Scalable Cloud Communicationcited by 2
- 2022MLProxy: SLA-Aware Reverse Proxy for Machine Learning Inference Serving on Serverless Computing Platformscited by 1
- 2023Architecting Peer-to-Peer Serverless Distributed Machine Learning Training for Improved Fault Tolerancecited by 0
- 2023Cloudless-Training: A Framework to Improve Efficiency of Geo-Distributed ML Trainingcited by 0
4 more
- 2025Scalable and Cost-Efficient ML Inference: Parallel Batch Processing with Serverless Functionscited by 0
- 2025FLStore: Efficient Federated Learning Storage for non-training workloadscited by 0
- 2026Word Frequency Counting Based on Serverless MapReducecited by 0
- 2026Shard the Gradient, Scale the Model: Serverless Federated Aggregation via Gradient Partitioningcited by 0
- 2026Shard the Gradient, Scale the Model: Serverless Federated Aggregation via Gradient Partitioning23 Apr 2026
- 2026Scheduling LLM Inference with Uncertainty-Aware Output Length Predictions1 Apr 2026
- 2026Word Frequency Counting Based on Serverless MapReduce1 Jan 2026
- 2025FLStore: Efficient Federated Learning Storage for non-training workloads1 Mar 2025
- 2025Scalable and Cost-Efficient ML Inference: Parallel Batch Processing with Serverless Functions30 Jan 2025
- 2024PIM-Opt: Demystifying Distributed Optimization Algorithms on a Real-World Processing-In-Memory System10 Apr 2024
- 2024FSD-Inference: Fully Serverless Distributed Inference with Scalable Cloud Communication22 Mar 2024
- 2023SPIRT: A Fault-Tolerant and Reliable Peer-to-Peer Serverless ML Training Architecture25 Sep 2023
- 2023Exploring the Impact of Serverless Computing on Peer To Peer Training Machine Learning25 Sep 2023
- 2023Cloudless-Training: A Framework to Improve Efficiency of Geo-Distributed ML Training9 Mar 2023
- 2023Architecting Peer-to-Peer Serverless Distributed Machine Learning Training for Improved Fault Tolerance27 Feb 2023
- 2022FedLesScan: Mitigating Stragglers in Serverless Federated Learning10 Nov 2022
4 more
- 2022SMLT: A Serverless Framework for Scalable and Adaptive Machine Learning Design and Training4 May 2022
- 2022MLProxy: SLA-Aware Reverse Proxy for Machine Learning Inference Serving on Serverless Computing Platforms23 Feb 2022
- 2021FedLess: Secure and Scalable Federated Learning Using Serverless Computing5 Nov 2021
- 2021You Do Not Need a Bigger Boat: Recommendations at Reasonable Scale in a (Mostly) Serverless and Open Stack15 Jul 2021
- 2021FedLess: Secure and Scalable Federated Learning Using Serverless Computingcited by 13
- 2026Scheduling LLM Inference with Uncertainty-Aware Output Length Predictionscited by 8
- 2021You Do Not Need a Bigger Boat: Recommendations at Reasonable Scale in a (Mostly) Serverless and Open Stackcited by 5
- 2024PIM-Opt: Demystifying Distributed Optimization Algorithms on a Real-World Processing-In-Memory Systemcited by 5
- 2022SMLT: A Serverless Framework for Scalable and Adaptive Machine Learning Design and Trainingcited by 4
- 2023Exploring the Impact of Serverless Computing on Peer To Peer Training Machine Learningcited by 3
- 2023SPIRT: A Fault-Tolerant and Reliable Peer-to-Peer Serverless ML Training Architecturecited by 3
- 2022FedLesScan: Mitigating Stragglers in Serverless Federated Learningcited by 2
- 2024FSD-Inference: Fully Serverless Distributed Inference with Scalable Cloud Communicationcited by 2
- 2022MLProxy: SLA-Aware Reverse Proxy for Machine Learning Inference Serving on Serverless Computing Platformscited by 1
- 2023Architecting Peer-to-Peer Serverless Distributed Machine Learning Training for Improved Fault Tolerancecited by 0
- 2023Cloudless-Training: A Framework to Improve Efficiency of Geo-Distributed ML Trainingcited by 0
12 most cited of 16 All 16 (JSON)
- 2026Shard the Gradient, Scale the Model: Serverless Federated Aggregation via Gradient Partitioning23 Apr 2026
- 2026Scheduling LLM Inference with Uncertainty-Aware Output Length Predictions1 Apr 2026
- 2026Word Frequency Counting Based on Serverless MapReduce1 Jan 2026
- 2025FLStore: Efficient Federated Learning Storage for non-training workloads1 Mar 2025
- 2025Scalable and Cost-Efficient ML Inference: Parallel Batch Processing with Serverless Functions30 Jan 2025
- 2024PIM-Opt: Demystifying Distributed Optimization Algorithms on a Real-World Processing-In-Memory System10 Apr 2024
- 2024FSD-Inference: Fully Serverless Distributed Inference with Scalable Cloud Communication22 Mar 2024
- 2023SPIRT: A Fault-Tolerant and Reliable Peer-to-Peer Serverless ML Training Architecture25 Sep 2023
- 2023Exploring the Impact of Serverless Computing on Peer To Peer Training Machine Learning25 Sep 2023
- 2023Cloudless-Training: A Framework to Improve Efficiency of Geo-Distributed ML Training9 Mar 2023
- 2023Architecting Peer-to-Peer Serverless Distributed Machine Learning Training for Improved Fault Tolerance27 Feb 2023
- 2022FedLesScan: Mitigating Stragglers in Serverless Federated Learning10 Nov 2022
12 newest of 16 All 16 (JSON)