[Paper Review] On Scale-out Deep Learning Training for Cloud and HPC
This paper presents the Intel® Machine Learning Scaling Library (MLSL), a high-performance communication library optimized for scale-out deep learning training across cloud and HPC systems. By enabling asynchronous communication progress, message prioritization, and low-precision collectives, MLSL achieves 90% scaling efficiency on 256 nodes for ResNet-50, reducing first-layer communication latency by 1.8x–2.2x over standard MPI.
The exponential growth in use of large deep neural networks has accelerated the need for training these deep neural networks in hours or even minutes. This can only be achieved through scalable and efficient distributed training, since a single node/card cannot satisfy the compute, memory, and I/O requirements of today's state-of-the-art deep neural networks. However, scaling synchronous Stochastic Gradient Descent (SGD) is still a challenging problem and requires continued research/development. This entails innovations spanning algorithms, frameworks, communication libraries, and system design. In this paper, we describe the philosophy, design, and implementation of Intel Machine Learning Scalability Library (MLSL) and present proof-points demonstrating scaling DL training on 100s to 1000s of nodes across Cloud and HPC systems.
Motivation & Objective
- Address the challenge of scaling deep learning training across hundreds to thousands of nodes in cloud and HPC environments.
- Overcome limitations in existing communication libraries like MPI, which lack optimizations for deep learning workloads such as latency prioritization and compute-communication overlap.
- Enable efficient large-batch training by maximizing the compute-to-communication ratio through intelligent work partitioning and system-level optimizations.
- Provide a unified software interface across deep learning frameworks to standardize and accelerate deployment of scalable training solutions.
Proposed method
- Introduce hybrid parallelism, which combines data and model parallelism by organizing nodes into groups, allowing flexible workload partitioning based on layer characteristics.
- Maximize the compute-to-communication ratio by optimizing mini-batch size and leveraging compute-communication overlap, especially in data parallelism.
- Implement message prioritization in MLSL to accelerate latency-bound communication (e.g., first-layer gradients) over larger, later-layer operations, even when issued earlier.
- Enable asynchronous progress of communication operations using dedicated cores, improving overlap between computation and communication in training pipelines.
- Support low-precision data types (e.g., bfloat16) for collective operations to reduce communication volume and improve scaling efficiency.
- Integrate MLSL with major DL frameworks (Caffe, TensorFlow, nGraph) via a unified API, abstracting underlying parallelism strategies and enabling consistent optimization across stacks.
Experimental results
Research questions
- RQ1How can communication overhead be minimized in large-scale distributed deep learning training across thousands of nodes?
- RQ2What system-level optimizations are required to achieve high scaling efficiency in data-parallel deep learning workloads?
- RQ3How does prioritizing latency-sensitive communication (e.g., first-layer gradients) impact overall training performance?
- RQ4To what extent can hybrid parallelism and compute-communication overlap improve scaling beyond traditional data or model parallelism?
- RQ5Can a unified communication library like MLSL enable consistent performance improvements across diverse deep learning frameworks?
Key findings
- MLSL achieved 90% scaling efficiency on 256 nodes for ResNet-50 training using Intel Xeon Gold 6148 processors and Omnipath fabric.
- Message prioritization reduced first-layer communication exposure by 1.8x to 2.2x compared to standard MPI, significantly improving latency-bound performance.
- The solution scaled to 9,600 Xeon-Phi nodes for scientific pattern classification, demonstrating feasibility for extreme-scale HPC workloads.
- ResNet-50 was trained in 40 minutes on 256 nodes at the Barcelona Supercomputing Center, achieving 75.8% top-1 validation accuracy.
- On 64 nodes, the TensorFlow integration with MLSL achieved over 93% scaling efficiency, outperforming the native Horovod-MPI implementation.
- The use of low-precision communication and persistent collectives in MLSL reduces bandwidth pressure and improves communication efficiency without sacrificing model accuracy.
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.