BATCH: Machine Learning Inference Serving on Serverless Platforms with Adaptive Batching

被引:99
作者
Ali, Ahsan [1 ]
Pinciroli, Riccardo [2 ]
Yan, Feng [1 ]
Smirni, Evgenia [2 ]
机构
[1] Univ Nevada, Reno, NV 89557 USA
[2] William & Mary, Williamsburg, VA USA
来源
PROCEEDINGS OF SC20: THE INTERNATIONAL CONFERENCE FOR HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE AND ANALYSIS (SC20) | 2020年
基金
美国国家科学基金会;
关键词
Machine-learning-as-a-service (MLaaS); Inference; Serving; Belching; Cloud; Serverless; Service Level Objective (SLO); Cost-effective; Optimization; Modeling; Prediction;
D O I
10.1109/SC41405.2020.00073
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Serverless computing is a new pay-per-use cloud service paradigm that automates resource scaling for stateless functions and can potentially facilitate bursty machine learning serving. Batching is critical for latency performance and cost-effectiveness of machine learning inference, but unfortunately it is not supported by existing serverless platforms due to their stateless design. Our experiments show that without batching, machine learning serving cannot reap the benefits of serverless computing. In this paper, we present BATCH, a framework for supporting efficient machine learning serving on serverless platforms. BATCH uses an optimizer to provide inference tail latency guarantees and cost optimization and to enable adaptive batching support. We prototype BATCH atop of AWS Lambda and popular machine learning inference systems. The evaluation verities the accuracy of the analytic optimizer and demonstrates performance and cost advantages over the state-of-the-art method MArk and the state-of-the-practice tool SageMaker.
引用
收藏
页数:15
相关论文
共 70 条
  • [1] Abadi M, 2016, PROCEEDINGS OF OSDI'16: 12TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, P265
  • [2] Ali Ahsan, 2020, Zenodo, DOI 10.5281/ZENODO.3872213
  • [3] Amazon, BUILD TRAIN DEPL MAC
  • [4] [Anonymous], 2021, Businesswire
  • [5] Sprocket: A Serverless Video Processing Framework
    Ao, Lixiang
    Izhikevich, Liz
    Voelker, Geoffrey M.
    Porter, George
    [J]. PROCEEDINGS OF THE 2018 ACM SYMPOSIUM ON CLOUD COMPUTING (SOCC '18), 2018, : 263 - 274
  • [6] ArchiveTeam, 2017, TWITT STREAM TRAC
  • [7] A workload characterization study of the 1998 World Cup Web site
    Arlitt, M
    Jin, T
    [J]. IEEE NETWORK, 2000, 14 (03): : 30 - 37
  • [8] Bause Falko, 2009, Proceedings of the 2009 Winter Simulation Conference (WSC 2009), P634, DOI 10.1109/WSC.2009.5429563
  • [9] The output process of an MMPP/M/1 queue
    Bean, N
    Green, D
    Taylor, P
    [J]. JOURNAL OF APPLIED PROBABILITY, 1998, 35 (04) : 998 - 1002
  • [10] Bernardo J.M., 2003, BAYESIAN STAT