DCLGPFNov 12, 2019

Throughput Prediction of Asynchronous SGD in TensorFlow

arXiv:1911.04650v2
Originality Incremental advance
AI Analysis

This work addresses throughput prediction for distributed deep learning practitioners, offering an incremental improvement by modeling node interactions and transmission schedules to optimize training efficiency.

The paper tackles the problem of sublinear scaling in asynchronous SGD training due to communication bottlenecks by predicting training throughput from single-node profiling traces, achieving accurate predictions for various neural networks and hardware configurations on AWS and in-house clusters.

Modern machine learning frameworks can train neural networks using multiple nodes in parallel, each computing parameter updates with stochastic gradient descent (SGD) and sharing them asynchronously through a central parameter server. Due to communication overhead and bottlenecks, the total throughput of SGD updates in a cluster scales sublinearly, saturating as the number of nodes increases. In this paper, we present a solution to predicting training throughput from profiling traces collected from a single-node configuration. Our approach is able to model the interaction of multiple nodes and the scheduling of concurrent transmissions between the parameter server and each node. By accounting for the dependencies between received parts and pending computations, we predict overlaps between computation and communication and generate synthetic execution traces for configurations with multiple nodes. We validate our approach on TensorFlow training jobs for popular image classification neural networks, on AWS and on our in-house cluster, using nodes equipped with GPUs or only with CPUs. We also investigate the effects of data transmission policies used in TensorFlow and the accuracy of our approach when combined with optimizations of the transmission schedule.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes