λdNN: Achieving Predictable Distributed DNN Training with Serverless Architectures

  • Fei Xu*
  • , Yiling Qin
  • , Li Chen
  • , Zhi Zhou
  • , Fangming Liu
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

52 Scopus citations

Abstract

Serverless computing is becoming a promising paradigm for Distributed Deep Neural Network (DDNN) training in the cloud, as it allows users to decompose complex model training into a number of functions without managing virtual machines or servers. Though provided with a simpler resource interface (i.e., function number and memory size), inadequate function resource provisioning (either under-provisioning or over-provisioning) easily leads to unpredictable DDNN training performance in serverless platforms. Our empirical studies on AWS Lambda indicate that, such unpredictable performance of serverless DDNN training is mainly caused by the resource bottleneck of Parameter Servers (PS) and small local batch size. In this article, we design and implement lambdaλDNN, a cost-efficient function resource provisioning framework to provide predictable performance for serverless DDNN training workloads, while saving the budget of provisioned functions. Leveraging the PS network bandwidth and function CPU utilization, we build a lightweight analytical DDNN training performance model to enable our design of lambdaλDNN resource provisioning strategy, so as to guarantee DDNN training performance with serverless functions. Extensive prototype experiments on AWS Lambda and complementary trace-driven simulations demonstrate that, lambdaλDNN can deliver predictable DDNN training performance and save the monetary cost of function resources by up to 66.7 percent, compared with the state-of-the-art resource provisioning strategies, yet with an acceptable runtime overhead.

Original languageEnglish
Pages (from-to)450-463
Number of pages14
JournalIEEE Transactions on Computers
Volume71
Issue number2
DOIs
StatePublished - 1 Feb 2022

Keywords

  • Distributed DNN training
  • function resource provisioning
  • predictable performance
  • serverless computing

Fingerprint

Dive into the research topics of 'λdNN: Achieving Predictable Distributed DNN Training with Serverless Architectures'. Together they form a unique fingerprint.

Cite this