The appeal of serverless (FaaS) has triggered a growing interest on how to use it in data-intensive applications such as ETL, query processing, or machine learning (ML). Several systems exist for training large-scale ML models on top of serverless infrastructures (e.g., AWS Lambda) but with inconclusive results in terms of their performance and relative advantage over "serverful" infrastructures (IaaS). In this paper we present a systematic, comparative study of distributed ML training over FaaS and IaaS. We present a design space covering design choices such as optimization algorithms and synchronization protocols, and implement a platform, LambdaML, that enables a fair comparison between FaaS and IaaS. We present experimental results using LambdaML, and further develop an analytic model to capture cost/performance tradeoffs that must be considered when opting for a serverless infrastructure. Our results indicate that ML training pays off in serverless only for models with efficient (i.e., reduced) communication and that quickly converge. In general, FaaS can be much faster but it is never significantly cheaper than IaaS.


    Access

    Download


    Export, share and cite



    Title :

    Towards Demystifying Serverless Machine Learning Training


    Contributors:
    Jiang, Jiawei (author) / Gan, Shaoduo (author) / Liu, Yue (author) / Wang, Fanlin (author) / Alonso, Gustavo (author) / Klimovic, Ana (author) / Singla, Ankit (author) / Wu, Wentao (author) / Zhang, Ce (author)

    Publication date :

    2021



    Type of media :

    Preprint


    Type of material :

    Electronic Resource


    Language :

    English





    Demystifying e^i^

    Scher, D. | British Library Online Contents | 1999


    DEMYSTIFYING DIGITAL TWINS

    Rigby, J. / Mansfield, R. | TIBKAT | 2020


    DEMYSTIFYING the ELECTRIC CAR

    TIBKAT | 2000

    Free access

    VEHICLE CONTROL USING SERVERLESS FUNCTIONS

    COSENTINO ANDREA / ANTINORI PAOLO | European Patent Office | 2023

    Free access