Skip to main content
QUICK REVIEW

[Paper Review] Characterizing Deep Learning Training Workloads on Alibaba-PAI

Mengdi Wang, Chen Meng|arXiv (Cornell University)|Oct 14, 2019
Advanced Neural Network ApplicationsComputer Science48 references5 citations
TL;DR

This paper presents a lightweight analytical framework to characterize deep learning training workloads on Alibaba-PAI, identifying communication overhead as the primary bottleneck. By modeling execution time across diverse workloads, it reveals that weight/gradient communication accounts for 62% of total training time on average, with 1.7X speedup possible via 100 Gbps Ethernet and 60% of PS/Worker workloads benefiting from AllReduce with NVLink.

ABSTRACT

Modern deep learning models have been exploited in various domains, including computer vision (CV), natural language processing (NLP), search and recommendation. In practical AI clusters, workloads training these models are run using software frameworks such as TensorFlow, Caffe, PyTorch and CNTK. One critical issue for efficiently operating practical AI clouds, is to characterize the computing and data transfer demands of these workloads, and more importantly, the training performance given the underlying software framework and hardware configurations. In this paper, we characterize deep learning training workloads from Platform of Artificial Intelligence (PAI) in Alibaba. We establish an analytical framework to investigate detailed execution time breakdown of various workloads using different training architectures, to identify performance bottleneck. Results show that weight/gradient communication during training takes almost 62% of the total execution time among all our workloads on average. The computation part, involving both GPU computing and memory access, are not the biggest bottleneck based on collective behavior of the workloads. We further evaluate attainable performance of the workloads on various potential software/hardware mappings, and explore implications on software architecture selection and hardware configurations. We identify that 60% of PS/Worker workloads can be potentially sped up when ported to the AllReduce architecture exploiting the high-speed NVLink for GPU interconnect, and on average 1.7X speedup can be achieved when Ethernet bandwidth is upgraded from 25 Gbps to 100 Gbps.

Motivation & Objective

  • To understand the performance bottlenecks in real-world deep learning training workloads running on Alibaba’s PAI platform.
  • To identify whether computation, memory access, or communication dominates performance in large-scale AI clusters.
  • To project performance gains from different software/hardware configurations using analytical modeling.
  • To guide system architecture and hardware provisioning decisions based on workload characteristics.

Proposed method

  • A lightweight profiling framework collects runtime metrics from thousands of production training jobs on Alibaba-PAI.
  • Workload execution time is decomposed into computation, data I/O, and weight/gradient communication phases.
  • Analytical performance models are built using key workload features to predict behavior under different system configurations.
  • Models project performance gains for alternative architectures (PS/Worker vs. AllReduce) and hardware (e.g., 25 Gbps to 100 Gbps Ethernet, NVLink).
  • Case studies validate model accuracy using testbed experiments, showing less than 10% average error between estimated and actual performance.
  • Optimization techniques such as mixed-precision training and XLA operation fusion are evaluated in context of workload-specific bottlenecks.

Experimental results

Research questions

  • RQ1What are the dominant performance bottlenecks in real-world deep learning training workloads on Alibaba-PAI?
  • RQ2How does communication overhead—particularly weight/gradient transfer—compare to computation and I/O in terms of execution time?
  • RQ3What performance gains can be achieved by migrating from PS/Worker to AllReduce architecture with high-speed GPU interconnects?
  • RQ4How does upgrading network bandwidth from 25 Gbps to 100 Gbps affect training performance across different workloads?
  • RQ5To what extent can analytical models predict actual performance improvements from system configuration changes?

Key findings

  • Weight/gradient communication accounts for an average of 62% of total training time across all workloads, making it the primary performance bottleneck.
  • Computation and memory access are not the main bottlenecks, despite high GPU utilization, indicating communication is the key constraint.
  • Upgrading from 25 Gbps to 100 Gbps Ethernet yields an average 1.7X speedup across workloads.
  • 60% of PS/Worker workloads can achieve significant speedup when migrated to AllReduce with NVLink-based GPU interconnect.
  • The analytical model predicts actual performance with less than 10% average error, validating its accuracy for optimization guidance.
  • Data I/O becomes a potential bottleneck in distributed workloads after gradient communication is optimized, especially in single-node scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.