MLLess: Achieving Cost Efficiency in Serverless Machine Learning Training

Pablo Gimeno Sarroca, Marc Sánchez-Artigas
6/12/2022
cs.DC

Official code: pablogs98/MLLess (6 stars, Python, last commit 2026-09-25).

Abstract

Function-as-a-Service (FaaS) has raised a growing interest in how to "tame" serverless computing to enable domain-specific use cases such as data-intensive applications and machine learning (ML), to name a few. Recently, several systems have been implemented for training ML models.

Show full abstract

Certainly, these research articles are significant steps in the correct direction. However, they do not completely answer the nagging question of when serverless ML training can be more cost-effective compared to traditional "serverful" computing. To help in this endeavor, we propose MLLess, a FaaS-based ML training prototype built atop IBM Cloud Functions. To boost cost-efficiency, MLLess implements two innovative optimizations tailored to the traits of serverless computing: on one hand, a significance filter, to make indirect communication more effective, and on the other hand, a scale-in auto-tuner, to reduce cost by benefiting from the FaaS sub-second billing model (often per 100ms). Our results certify that MLLess can be 15X faster than serverful ML systems at a lower cost for sparse ML models that exhibit fast convergence such as sparse logistic regression and matrix factorization. Furthermore, our results show that MLLess can easily scale out to increasingly large fleets of serverless workers.

View on arXivView PDF

Code Implementations(1)

pablogs98/MLLessOfficial100%

Serverless ML training on IBM Cloud Functions (ACM Middleware '21)

63Python, CythonNov 1, 20212 months ago
ibm-cloudmachine-learningserverless

Similar Papers

Cite this paper

@article{sarroca2022mlless,
  title  = {MLLess: Achieving Cost Efficiency in Serverless Machine Learning Training},
  author = {Pablo Gimeno Sarroca and Marc Sánchez-Artigas},
  year   = {2022},
  eprint = {2206.05786},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.05786}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.05786.svg)](https://codeofpaper.com/paper/2206.05786)

Discussion