{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,31]],"date-time":"2026-10-31T22:18:39Z","timestamp":1793485119281,"version":"4.5.0"},"reference-count":46,"publisher":"Association for Computing Machinery (ACM)","issue":"6","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2024,2]]},"abstract":"<jats:p>This paper aims to answer the question: Can deep learning models be cost-efficiently trained on a global market of spot VMs spanning different data centers and cloud providers? To provide guidance, we extensively evaluate the cost and throughput implications of training in different zones, continents, and clouds for representative CV, NLP and ASR models. To expand the current training options further, we compare the scalability potential for hybrid-cloud scenarios by adding cloud resources to on-premise hardware to improve training throughput. Finally, we show how leveraging spot instance pricing enables a new cost-efficient way to train models with multiple cheap VMs, trumping both more centralized and powerful hardware and even on-demand cloud offerings at competitive prices.<\/jats:p>","DOI":"10.14778\/3648160.3648165","type":"journal-article","created":{"date-parts":[[2024,5,3]],"date-time":"2024-05-03T17:52:53Z","timestamp":1714758773000},"page":"1214-1226","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":11,"title":["How Can We Train Deep Learning Models Across Clouds and Continents? An Experimental Study"],"prefix":"10.14778","volume":"17","author":[{"given":"Alexander","family":"Erben","sequence":"first","affiliation":[{"name":"Technical University of Munich"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ruben","family":"Mayer","sequence":"additional","affiliation":[{"name":"University of Bayreuth"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hans-Arno","family":"Jacobsen","sequence":"additional","affiliation":[{"name":"University of Toronto"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2024,5,3]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"[n.d.]. Horovod: fast and easy distributed deep learning in TensorFlow author=Sergeev Alexander and Del Balso Mike journal=arXiv preprint arXiv:1802.05799 year=2018. ([n. d.])."},{"key":"e_1_2_1_2_1","volume-title":"19","author":"Accessed Amazon AWS.","year":"2023","unstructured":"2023. Amazon AWS. Accessed: 19 May 2023, aws.amazon.com."},{"key":"e_1_2_1_3_1","unstructured":"2023. Amazon AWS Spot Pricing. https:\/\/aws.amazon.com\/blogs\/compute\/new-amazon-ec2-spot-pricing\/. Accessed: 2023-09-27."},{"key":"e_1_2_1_4_1","unstructured":"2023. Backblaze. https:\/\/backblaze.com\/. Accessed: 2023-10-05."},{"key":"e_1_2_1_5_1","volume-title":"19","author":"Cloud Google","year":"2023","unstructured":"2023. Google Cloud. Accessed: 19 May 2023, cloud.google.com."},{"key":"e_1_2_1_6_1","unstructured":"2023. Google Cloud Region Picker. https:\/\/cloud.withgoogle.com\/region-picker\/. Accessed: 2023-10-05."},{"key":"e_1_2_1_7_1","unstructured":"2023. Hivemind GAC Issue. https:\/\/github.com\/learning-at-home\/hivemind\/issues\/566. Accessed: 2023-10-05."},{"key":"e_1_2_1_8_1","volume-title":"19","year":"2023","unstructured":"2023. LambdaLabs. Accessed: 19 May 2023, lambdalabs.com."},{"key":"e_1_2_1_9_1","volume-title":"19","author":"Azure Microsoft","year":"2023","unstructured":"2023. Microsoft Azure. Accessed: 19 May 2023, portal.azure.com."},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1109\/BigData47090.2019.9005703"},{"key":"e_1_2_1_11_1","volume-title":"Common voice: A massively-multilingual speech corpus. arXiv preprint arXiv:1912.06670","author":"Ardila Rosana","year":"2019","unstructured":"Rosana Ardila, Megan Branson, Kelly Davis, Michael Henretty, Michael Kohler, Josh Meyer, Reuben Morais, Lindsay Saunders, Francis M Tyers, and Gregor Weber. 2019. Common voice: A massively-multilingual speech corpus. arXiv preprint arXiv:1912.06670 (2019)."},{"key":"e_1_2_1_12_1","unstructured":"Alexander Borzunov Max Ryabinin Tim Dettmers Quentin Lhoest Lucile Saulnier Michael Diskin and Yacine Jernite. 2022. Training Transformers Together. In NeurIPS 2021 Competitions and Demonstrations Track. PMLR 335--342."},{"key":"e_1_2_1_13_1","doi-asserted-by":"crossref","unstructured":"Alexis Conneau Kartikay Khandelwal Naman Goyal Vishrav Chaudhary Guillaume Wenzek Francisco Guzm\u00e1n Edouard Grave Myle Ott Luke Zettlemoyer and Veselin Stoyanov. 2020. Unsupervised Cross-lingual Representation Learning at Scale. arXiv:1911.02116 [cs.CL]","DOI":"10.18653\/v1\/2020.acl-main.747"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/3399579.3399870"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1109\/CVPR.2009.5206848"},{"key":"e_1_2_1_16_1","unstructured":"Tim Dettmers. 2016. 8-Bit Approximations for Parallelism in Deep Learning. arXiv:1511.04561 [cs.NE]"},{"key":"e_1_2_1_17_1","first-page":"7879","article-title":"Distributed Deep Learning In Open Collaborations","volume":"34","author":"Diskin Michael","year":"2021","unstructured":"Michael Diskin, Alexey Bukhtiyarov, Max Ryabinin, Lucile Saulnier, Anton Sinitsin, Dmitry Popov, Dmitry V Pyrkin, Maxim Kashirin, Alexander Borzunov, Albert Villanova del Moral, et al. 2021. Distributed Deep Learning In Open Collaborations. Advances in Neural Information Processing Systems 34 (2021), 7879--7897.","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_2_1_18_1","volume-title":"Backbones-review: Feature extraction networks for deep learning and deep reinforcement learning approaches. arXiv","author":"Elharrouss O","year":"2022","unstructured":"O Elharrouss, Y Akbari, N Almaadeed, and S Al-Maadeed. [n.d.]. Backbones-review: Feature extraction networks for deep learning and deep reinforcement learning approaches. arXiv 2022. arXiv preprint arXiv:2206.08016 ([n. d.])."},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1109\/MCSE.2022.3163817"},{"key":"e_1_2_1_20_1","unstructured":"Wikimedia Foundation. 2023. \"Wikimedia Downloads\". https:\/\/dumps.wikimedia.org"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/CVPR.2016.90"},{"key":"e_1_2_1_22_1","volume-title":"Scalability, Programmability","author":"Hwang Kai","unstructured":"Kai Hwang. 1992. Advanced Computer Architecture: Parallelism, Scalability, Programmability (1st ed.). McGraw-Hill Higher Education.","edition":"1"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1109\/CLOUD.2017.21"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1109\/IISWC55918.2022.00029"},{"key":"e_1_2_1_25_1","volume-title":"Alexander J Smola, Amr Ahmed, Vanja Josifovski, James Long, Eugene J Shekita, and Bor-Yiing Su.","author":"Li Mu","year":"2014","unstructured":"Mu Li, David G Andersen, Jun Woo Park, Alexander J Smola, Amr Ahmed, Vanja Josifovski, James Long, Eugene J Shekita, and Bor-Yiing Su. 2014. Scaling distributed machine learning with the parameter server. In 11th {USENIX} Symposium on Operating Systems Design and Implementation ({OSDI} 14). 583--598."},{"key":"e_1_2_1_26_1","unstructured":"Shen Li Yanli Zhao Rohan Varma Omkar Salpekar Pieter Noordhuis Teng Li Adam Paszke Jeff Smith Brian Vaughan Pritam Damania et al. 2020. Pytorch distributed: Experiences on accelerating data parallel training. arXiv preprint arXiv:2006.15704 (2020)."},{"key":"e_1_2_1_27_1","volume-title":"Can decentralized algorithms outperform centralized algorithms? a case study for decentralized parallel stochastic gradient descent. Advances in neural information processing systems 30","author":"Lian Xiangru","year":"2017","unstructured":"Xiangru Lian, Ce Zhang, Huan Zhang, Cho-Jui Hsieh, Wei Zhang, and Ji Liu. 2017. Can decentralized algorithms outperform centralized algorithms? a case study for decentralized parallel stochastic gradient descent. Advances in neural information processing systems 30 (2017)."},{"key":"e_1_2_1_28_1","unstructured":"Yinhan Liu Myle Ott Naman Goyal Jingfei Du Mandar Joshi Danqi Chen Omer Levy Mike Lewis Luke Zettlemoyer and Veselin Stoyanov. 2019. RoBERTa: A Robustly Optimized BERT Pretraining Approach. arXiv:1907.11692 [cs.CL]"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1109\/CVPR52688.2022.01167"},{"key":"e_1_2_1_30_1","first-page":"336","article-title":"MLPerf Training Benchmark","volume":"2","author":"Mattson Peter","year":"2020","unstructured":"Peter Mattson, Christine Cheng, Gregory Diamos, Cody Coleman, Paulius Micikevicius, David Patterson, Hanlin Tang, Gu-Yeon Wei, Peter Bailis, Victor Bittorf, et al. 2020. MLPerf Training Benchmark. Proceedings of Machine Learning and Systems 2 (2020), 336--349.","journal-title":"Proceedings of Machine Learning and Systems"},{"key":"e_1_2_1_31_1","volume-title":"IPTPS 2002 Cambridge, MA, USA, March 7--8","author":"Maymounkov Petar","year":"2002","unstructured":"Petar Maymounkov and David Mazieres. 2002. Kademlia: A peer-to-peer information system based on the xor metric. In Peer-to-Peer Systems: First InternationalWorkshop, IPTPS 2002 Cambridge, MA, USA, March 7--8, 2002 Revised Papers. Springer, 53--65."},{"key":"e_1_2_1_32_1","volume-title":"Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems 32","author":"Paszke Adam","year":"2019","unstructured":"Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. 2019. Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems 32 (2019)."},{"key":"e_1_2_1_33_1","doi-asserted-by":"crossref","first-page":"e4451","DOI":"10.1002\/cpe.4451","article-title":"Statistical analysis of Amazon EC2 cloud pricing models","volume":"31","author":"Portella Gustavo","year":"2019","unstructured":"Gustavo Portella, Genaina N Rodrigues, Eduardo Nakano, and Alba CMA Melo. 2019. Statistical analysis of Amazon EC2 cloud pricing models. Concurrency and Computation: Practice and Experience 31, 18 (2019), e4451.","journal-title":"Concurrency and Computation: Practice and Experience"},{"key":"e_1_2_1_34_1","volume-title":"Tao Xu, Greg Brockman, Christine Mcleavey, and Ilya Sutskever.","author":"Radford Alec","year":"2023","unstructured":"Alec Radford, Jong Wook Kim, Tao Xu, Greg Brockman, Christine Mcleavey, and Ilya Sutskever. 2023. Robust Speech Recognition via Large-Scale Weak Supervision. In Proceedings of the 40th International Conference on Machine Learning (Proceedings of Machine Learning Research), Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett (Eds.), Vol. 202. PMLR, 28492--28518. https:\/\/proceedings.mlr.press\/v202\/radford23a.html"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/3394486.3406703"},{"key":"e_1_2_1_36_1","volume-title":"Olatunji Ruwase, Shuangyan Yang, Minjia Zhang, Dong Li, and Yuxiong He.","author":"Ren Jie","year":"2021","unstructured":"Jie Ren, Samyam Rajbhandari, Reza Yazdani Aminabadi, Olatunji Ruwase, Shuangyan Yang, Minjia Zhang, Dong Li, and Yuxiong He. 2021. ZeRO-Offload: Democratizing Billion-Scale Model Training. arXiv:2101.06840 [cs.DC]"},{"key":"e_1_2_1_37_1","volume-title":"SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficient. arXiv preprint arXiv:2301.11913","author":"Ryabinin Max","year":"2023","unstructured":"Max Ryabinin, Tim Dettmers, Michael Diskin, and Alexander Borzunov. 2023. SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficient. arXiv preprint arXiv:2301.11913 (2023)."},{"key":"e_1_2_1_38_1","volume-title":"Advances in Neural Information Processing Systems","volume":"34","author":"Ryabinin Max","year":"2021","unstructured":"Max Ryabinin, Eduard Gorbunov, Vsevolod Plokhotnyuk, and Gennady Pekhimenko. 2021. Moshpit SGD: Communication-Efficient Decentralized Training on Heterogeneous Unreliable Devices. In Advances in Neural Information Processing Systems, Vol. 34. https:\/\/proceedings.neurips.cc\/paper\/2021\/file\/97275a23ca44226c9964043c8462be96-Paper.pdf"},{"key":"e_1_2_1_39_1","unstructured":"Learning@home team. 2020. Hivemind: a Library for Decentralized Deep Learning. https:\/\/github.com\/learning-at-home\/hivemind."},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1109\/ACCESS.2021.3064819"},{"key":"e_1_2_1_41_1","volume-title":"Stable and low-precision training for large-scale vision-language models. arXiv preprint arXiv:2304.13013","author":"Wortsman Mitchell","year":"2023","unstructured":"Mitchell Wortsman, Tim Dettmers, Luke Zettlemoyer, Ari Morcos, Ali Farhadi, and Ludwig Schmidt. 2023. Stable and low-precision training for large-scale vision-language models. arXiv preprint arXiv:2304.13013 (2023)."},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/3492323.3495594"},{"key":"e_1_2_1_43_1","volume-title":"SkyPilot: An Intercloud Broker for Sky Computing. In 20th USENIX Symposium on Networked Systems Design and Implementation (NSDI 23)","author":"Yang Zongheng","year":"2023","unstructured":"Zongheng Yang, Zhanghao Wu, Michael Luo, Wei-Lin Chiang, Romil Bhardwaj, Woosuk Kwon, Siyuan Zhuang, Frank Sifei Luan, Gautam Mittal, Scott Shenker, and Ion Stoica. 2023. SkyPilot: An Intercloud Broker for Sky Computing. In 20th USENIX Symposium on Networked Systems Design and Implementation (NSDI 23). USENIX Association, Boston, MA, 437--455. https:\/\/www.usenix.org\/conference\/nsdi23\/presentation\/yang-zongheng"},{"key":"e_1_2_1_44_1","volume-title":"Large batch optimization for deep learning: Training bert in 76 minutes. arXiv preprint arXiv:1904.00962","author":"You Yang","year":"2019","unstructured":"Yang You, Jing Li, Sashank Reddi, Jonathan Hseu, Sanjiv Kumar, Srinadh Bhojanapalli, Xiaodan Song, James Demmel, Kurt Keutzer, and Cho-Jui Hsieh. 2019. Large batch optimization for deep learning: Training bert in 76 minutes. arXiv preprint arXiv:1904.00962 (2019)."},{"key":"e_1_2_1_45_1","first-page":"25464","article-title":"Decentralized training of foundation models in heterogeneous environments","volume":"35","author":"Yuan Binhang","year":"2022","unstructured":"Binhang Yuan, Yongjun He, Jared Davis, Tianyi Zhang, Tri Dao, Beidi Chen, Percy S Liang, Christopher Re, and Ce Zhang. 2022. Decentralized training of foundation models in heterogeneous environments. Advances in Neural Information Processing Systems 35 (2022), 25464--25477.","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_2_1_46_1","volume-title":"Wide residual networks. arXiv preprint arXiv:1605.07146","author":"Zagoruyko Sergey","year":"2016","unstructured":"Sergey Zagoruyko and Nikos Komodakis. 2016. Wide residual networks. arXiv preprint arXiv:1605.07146 (2016)."}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3648160.3648165","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,5,3]],"date-time":"2024-05-03T18:00:38Z","timestamp":1714759238000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3648160.3648165"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,2]]},"references-count":46,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2024,2]]}},"alternative-id":["10.14778\/3648160.3648165"],"URL":"https:\/\/doi.org\/10.14778\/3648160.3648165","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2024,2]]},"assertion":[{"value":"2024-05-03","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}