Taming Resource Heterogeneity In Distributed ML Training With Dynamic Batching
Authors:
- 1 August 2020
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 188-194
Abstract
Current techniques and systems for distributed model training mostly assume that clusters are comprised of homogeneous servers with a constant resource availability. However, cluster heterogeneity is pervasive in computing infrastructure, and is a fundamental characteristic of low-cost transient resources (such as EC2 spot instances). In this paper, we develop a dynamic batching technique for distributed data-parallel training that adjusts the mini-batch sizes on each worker based on its resource availability and throughput. Our mini-batch controller seeks to equalize iteration times on all workers, and facilitates training on clusters comprised of servers with different amounts of CPU and GPU resources. This variable mini-batch technique uses proportional control and ideas from PID controllers to find stable mini-batch sizes. Our empirical evaluation shows that dynamic batching can reduce model training times by more than $ 4\times$ on heterogeneous clusters.
Keywords
All Related Versions
This publication has 20 references indexed in Scilit:
- Optimus2018
- Small Batch or Large Batch?2017
- Portfolio-driven Resource Management for Transient Cloud Servers2017
- Heterogeneity-aware Distributed Parameter Servers2017
- Model Accuracy and Runtime Tradeoff in Distributed Deep Learning: A Systematic Study2016
- Addressing the straggler problem for iterative convergent parallel ML2016
- Deep Residual Learning for Image Recognition2016
- Flint2016
- Managed communication and consistency for fast data-parallel iterative analytics2015
- Scaling Distributed Machine Learning with the Parameter Server2014