arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2205.01853cs.DCcs.LG
收藏

SMLT:一个用于可扩展和自适应机器学习设计和训练的无服务器框架

SMLT: A Serverless Framework for Scalable and Adaptive Machine Learning Design and Training

University of Nevada, Reno(内华达大学里诺分校);Nokia Bell Labs(诺基亚贝尔实验室)

Ahsan Ali, Syed Zawad, Paarijaat Aditya, Istemi Ekin Akkus, Ruichuan Chen, Feng Yan

摘要:

在当今的生产机器学习(ML)系统中,模型不断地被训练、改进和部署。ML设计和培训正在成为具有动态资源需求的各种任务的连续工作流。无服务器计算是一种新兴的云模式,为用户提供透明的资源管理和扩展,并有可能彻底改变ML设计和培训的常规。然而,在现有的无服务器平台上托管现代ML工作流具有不小的挑战,这是由于其固有的设计限制,例如无状态性质,跨函数实例的有限通信支持以及有限的函数执行持续时间。这些限制导致缺乏总体视图和适应机制来进行动态训练,并放大了ML工作流中的现有问题。为了解决上述挑战,我们提出了SMLT,这是一个自动化,可扩展和自适应的无服务器框架,可以实现高效和以用户为中心的ML设计和培训。SMLT采用自动化和自适应调度机制,在训练期间动态优化ML任务的部署和资源扩展。SMLT通过支持用户指定的培训期限和预算限制,进一步实现了以用户为中心的ML工作流执行。此外,通过提供端到端设计,SMLT解决了无服务器平台中的固有问题,例如通信开销,有限的函数执行持续时间,需要重复初始化,并且还为ML训练提供了显式的容错。SMLT是开源的,与所有主要的ML框架兼容。我们对大型复杂的现代ML模型的实验评估表明,SMLT在训练速度(高达8倍)和货币成本(高达3倍)方面优于最先进的基于VM的系统和现有的无服务器ML训练框架。

英文摘要:

In today's production machine learning (ML) systems, models are continuously trained, improved, and deployed. ML design and training are becoming a continuous workflow of various tasks that have dynamic resource demands. Serverless computing is an emerging cloud paradigm that provides transparent resource management and scaling for users and has the potential to revolutionize the routine of ML design and training. However, hosting modern ML workflows on existing serverless platforms has non-trivial challenges due to their intrinsic design limitations such as stateless nature, limited communication support across function instances, and limited function execution duration. These limitations result in a lack of an overarching view and adaptation mechanism for training dynamics and an amplification of existing problems in ML workflows. To address the above challenges, we propose SMLT, an automated, scalable, and adaptive serverless framework to enable efficient and user-centric ML design and training. SMLT employs an automated and adaptive scheduling mechanism to dynamically optimize the deployment and resource scaling for ML tasks during training. SMLT further enables user-centric ML workflow execution by supporting user-specified training deadlines and budget limits. In addition, by providing an end-to-end design, SMLT solves the intrinsic problems in serverless platforms such as the communication overhead, limited function execution duration, need for repeated initialization, and also provides explicit fault tolerance for ML training. SMLT is open-sourced and compatible with all major ML frameworks. Our experimental evaluation with large, sophisticated modern ML models demonstrate that SMLT outperforms the state-of-the-art VM based systems and existing serverless ML training frameworks in both training speed (up to 8X) and monetary cost (up to 3X)

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

↑