arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.05786cs.DC
收藏

MLLess:在无服务器机器学习培训中实现成本效益

MLLess: Achieving Cost Efficiency in Serverless Machine Learning Training

Pablo Gimeno Sarroca, Marc Sánchez-Artigas

摘要:

功能即服务(FaaS)已经引起了人们对如何“驯服”无服务器计算以实现特定于领域的用例(例如数据密集型应用程序和机器学习(ML))的兴趣。最近,已经实现了几个用于训练ML模型的系统。当然,这些研究文章是朝着正确方向迈出的重要一步。然而,它们并没有完全回答无服务器机器学习训练何时比传统的“服务器”计算更具成本效益的问题。为了帮助实现这一目标,我们提出了MLLess,这是一个基于FaaS的ML培训原型,构建在IBM Cloud Functions之上。为了提高成本效益,MLLess针对无服务器计算的特点实现了两个创新的优化:一方面,重要性过滤器,使间接通信更有效,另一方面,扩展自动调谐器,通过受益于FaaS次秒计费模型(通常为每100毫秒)来降低成本。我们的研究结果证明,对于稀疏ML模型,MLLess可以比serverful ML系统快15倍,并且具有更低的成本,这些模型表现出快速收敛,例如稀疏逻辑回归和矩阵分解。此外,我们的研究结果表明,MLLess可以很容易地扩展到越来越大的无服务器工人队伍。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑