arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.02958cs.DCcs.AIcs.DBcs.LG
收藏

无服务器数据科学--我们到了吗?模型服务案例研究

Serverless Data Science -- Are We There Yet? A Case Study of Model Serving

National University of Singapore(新加坡国立大学);Singapore University of Technology and Design(新加坡科技设计大学);Beijing Institute of Technology(北京理工大学)

Yuncheng Wu, Tien Tuan Anh Dinh, Guoyu Hu, Meihui Zhang, Yeow Meng Chee, Beng Chin Ooi

摘要:

机器学习(ML)是现代数据科学应用的重要组成部分。数据科学家今天必须管理端到端的ML生存周期,其中包括模型训练和模型服务,后者是必不可少的,因为它使他们的作品可供最终用户使用。模型服务系统要求高性能、低成本和易于管理。云提供商已经提供了模型服务选择,包括托管服务和自租服务器。最近,无服务器计算,其优点包括高弹性和细粒度的成本模型,为模型服务带来了另一种选择。我们在本文中的目标是研究无服务器作为主流模型服务平台的可行性。为此,我们首先针对Amazon Web Service和Google Cloud Platform上的其他模型服务系统,对无服务器的性能和成本进行了全面评估。我们发现无服务器的性能优于许多基于云的替代方案。此外,在某些设置下,它甚至可以实现比基于GPU的系统更好的性能。接下来,我们介绍了无服务器模型服务的设计空间,它包括多个维度,包括云平台,服务运行时和其他功能特定的参数。对于每个维度,我们分析了不同选择的影响,并为数据科学家提供了更好地利用无服务器模型服务的建议。最后,我们讨论了建立一个更实用的无服务器模型服务系统的挑战和机遇。

英文摘要:

Machine learning (ML) is an important part of modern data science applications. Data scientists today have to manage the end-to-end ML life cycle that includes both model training and model serving, the latter of which is essential, as it makes their works available to end-users. Systems of model serving require high performance, low cost, and ease of management. Cloud providers are already offering model serving choices, including managed services and self-rented servers. Recently, serverless computing, whose advantages include high elasticity and a fine-grained cost model, brings another option for model serving. Our goal in this paper is to examine the viability of serverless as a mainstream model serving platform. To this end, we first conduct a comprehensive evaluation of the performance and cost of serverless against other model serving systems on Amazon Web Service and Google Cloud Platform. We find that serverless outperforms many cloud-based alternatives. Further, there are settings under which it even achieves better performance than GPU-based systems. Next, we present the design space of serverless model serving, which comprises multiple dimensions, including cloud platforms, serving runtimes, and other function-specific parameters. For each dimension, we analyze the impact of different choices and provide suggestions for data scientists to better utilize serverless model serving. Finally, we discuss challenges and opportunities in building a more practical serverless model serving system.

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

↑