Pay-as-you-Train: Efficient ways of Serverless Training

Dheeraj Chahal, Mayank Mishra, S. Palepu, R. Singh, Rekha Singhal
{"title":"Pay-as-you-Train: Efficient ways of Serverless Training","authors":"Dheeraj Chahal, Mayank Mishra, S. Palepu, R. Singh, Rekha Singhal","doi":"10.1109/IC2E55432.2022.00020","DOIUrl":null,"url":null,"abstract":"Serverless (FaaS) architecture is emerging as a paradigm of choice for many application types, including event triggered, query processing, and machine learning (ML). The use of serverless platforms for ML inference is well known, but its applicability for model training is still under exploration. This paper presents an efficient “pay-as-you-train” methodology for training large deep learning models using serverless cloud services for compute and data management. Serverless compute (such as AWS Lambda) and serverless data management systems (such as AWS key-value store DynamoDB) impose restrictions on the computing time and size of the allowed data objects respectively. We present a novel approach for training deep learning models, which overcomes the limitations imposed by the underlying serverless platforms. We also present an analytical model to study the performance and cost involved in training using different data management services (such as AWS object storage S3, in-memory Memcached, and DynamoDB) as a communication channel with serverless platforms. Additionally, we compare the performance and cost of these services available on cloud. Our optimization techniques improve the performance and hence the cost of training by a factor of 1.2x to 5.5x with these services.","PeriodicalId":415781,"journal":{"name":"2022 IEEE International Conference on Cloud Engineering (IC2E)","volume":"37 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE International Conference on Cloud Engineering (IC2E)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IC2E55432.2022.00020","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Serverless (FaaS) architecture is emerging as a paradigm of choice for many application types, including event triggered, query processing, and machine learning (ML). The use of serverless platforms for ML inference is well known, but its applicability for model training is still under exploration. This paper presents an efficient “pay-as-you-train” methodology for training large deep learning models using serverless cloud services for compute and data management. Serverless compute (such as AWS Lambda) and serverless data management systems (such as AWS key-value store DynamoDB) impose restrictions on the computing time and size of the allowed data objects respectively. We present a novel approach for training deep learning models, which overcomes the limitations imposed by the underlying serverless platforms. We also present an analytical model to study the performance and cost involved in training using different data management services (such as AWS object storage S3, in-memory Memcached, and DynamoDB) as a communication channel with serverless platforms. Additionally, we compare the performance and cost of these services available on cloud. Our optimization techniques improve the performance and hence the cost of training by a factor of 1.2x to 5.5x with these services.
按培训付费:无服务器培训的有效方式
无服务器(FaaS)架构正在成为许多应用程序类型的选择范例,包括事件触发、查询处理和机器学习(ML)。使用无服务器平台进行ML推理是众所周知的,但其在模型训练中的适用性仍在探索中。本文提出了一种高效的“按训练付费”方法,用于使用无服务器云服务进行计算和数据管理来训练大型深度学习模型。无服务器计算(如AWS Lambda)和无服务器数据管理系统(如AWS键值存储DynamoDB)分别对允许的数据对象的计算时间和大小施加限制。我们提出了一种新的方法来训练深度学习模型,它克服了底层无服务器平台所施加的限制。我们还提出了一个分析模型,用于研究使用不同数据管理服务(如AWS对象存储S3、内存Memcached和DynamoDB)作为与无服务器平台的通信通道进行培训所涉及的性能和成本。此外,我们还比较了云上可用的这些服务的性能和成本。我们的优化技术提高了这些服务的性能,从而将培训成本提高了1.2倍到5.5倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信