[Paper Review] CROSSBOW: Scaling Deep Learning with Small Batch Sizes on Multi-GPU Servers
CROSSBOW is a single-server multi-GPU deep learning system that enables high hardware efficiency and minimal statistical efficiency loss when training with small batch sizes (2–32). It achieves this through Synchronous Model Averaging (SMA), which synchronously coordinates multiple model replicas using a globally consistent average model, and auto-tunes the number of concurrent learners per GPU to maximize throughput, reducing training time by up to 4× compared to TensorFlow.
Deep learning models are trained on servers with many GPUs, and training must scale with the number of GPUs. Systems such as TensorFlow and Caffe2 train models with parallel synchronous stochastic gradient descent: they process a batch of training data at a time, partitioned across GPUs, and average the resulting partial gradients to obtain an updated global model. To fully utilise all GPUs, systems must increase the batch size, which hinders statistical efficiency. Users tune hyper-parameters such as the learning rate to compensate for this, which is complex and model-specific. We describe CROSSBOW, a new single-server multi-GPU system for training deep learning models that enables users to freely choose their preferred batch size - however small - while scaling to multiple GPUs. CROSSBOW uses many parallel model replicas and avoids reduced statistical efficiency through a new synchronous training method. We introduce SMA, a synchronous variant of model averaging in which replicas independently explore the solution space with gradient descent, but adjust their search synchronously based on the trajectory of a globally-consistent average model. CROSSBOW achieves high hardware efficiency with small batch sizes by potentially training multiple model replicas per GPU, automatically tuning the number of replicas to maximise throughput. Our experiments show that CROSSBOW improves the training time of deep learning models on an 8-GPU server by 1.3-4x compared to TensorFlow.
Motivation & Objective
- To address the challenge of low hardware efficiency when training deep learning models with small batch sizes on multi-GPU servers.
- To maintain high statistical efficiency despite using small batch sizes, which typically reduce convergence speed and model accuracy.
- To design a system that scales efficiently across multiple GPUs without requiring batch size increases.
- To automatically tune the number of model replicas per GPU to maximize hardware utilization and training throughput.
- To enable high-throughput training with minimal statistical efficiency loss through a novel synchronous model averaging protocol.
Proposed method
- Introduces Synchronous Model Averaging (SMA), a new training algorithm where multiple model replicas independently perform gradient descent but synchronize their updates using a globally consistent average model.
- Uses a hierarchical tree-based task scheduler to decouple learning and synchronization tasks, preventing synchronization from becoming a bottleneck.
- Automatically tunes the number of concurrent learners per GPU by increasing the count until training throughput peaks, ensuring maximum hardware utilization.
- Employs momentum-based correction in SMA to improve convergence speed and stability of the average model.
- Maintains strong consistency of the global average model across all replicas, ensuring synchronized and coherent training.
- Breaks the global synchronization barrier into a tree-structured hierarchy to enable efficient, concurrent execution of learning and synchronization tasks on GPUs.
Experimental results
Research questions
- RQ1Can a deep learning system achieve high hardware efficiency with small batch sizes on multi-GPU servers without sacrificing statistical efficiency?
- RQ2How can model replicas be synchronized effectively across multiple GPUs when using small batch sizes?
- RQ3What is the optimal number of model replicas per GPU to maximize training throughput while maintaining consistency?
- RQ4Can a synchronous training method like SMA outperform existing asynchronous or parameter-server-based approaches in terms of both speed and statistical efficiency?
- RQ5How does auto-tuning the number of learners per GPU impact training throughput and scalability?
Key findings
- CROSSBOW reduces training time by up to 4× compared to TensorFlow on an 8-GPU server when using small batch sizes.
- The system achieves 1.3–4× speedup across multiple deep learning models, including ResNet and VGG, under small batch size conditions.
- SMA enables high statistical efficiency by synchronously correcting model trajectories using a consistent average model, outperforming asynchronous methods that suffer from stale gradients.
- Auto-tuning the number of learners per GPU increases hardware utilization and ensures peak throughput is achieved without manual configuration.
- The hierarchical task scheduler prevents synchronization bottlenecks, allowing concurrent execution of learning and synchronization tasks on GPUs.
- CROSSBOW maintains strong consistency of the average model across all replicas, ensuring reliable and stable training even with many concurrent learners.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.