Accelerating Distributed ML Training via Selective Synchronization

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Tyagi, Sahil, Swany, Martin
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909085656416256
author Tyagi, Sahil
Swany, Martin
author_facet Tyagi, Sahil
Swany, Martin
contents In distributed training, deep neural networks (DNNs) are launched over multiple workers concurrently and aggregate their local updates on each step in bulk-synchronous parallel (BSP) training. However, BSP does not linearly scale-out due to high communication cost of aggregation. To mitigate this overhead, alternatives like Federated Averaging (FedAvg) and Stale-Synchronous Parallel (SSP) either reduce synchronization frequency or eliminate it altogether, usually at the cost of lower final accuracy. In this paper, we present \texttt{SelSync}, a practical, low-overhead method for DNN training that dynamically chooses to incur or avoid communication at each step either by calling the aggregation op or applying local updates based on their significance. We propose various optimizations as part of \texttt{SelSync} to improve convergence in the context of \textit{semi-synchronous} training. Our system converges to the same or better accuracy than BSP while reducing training time by up to 14$\times$.
format Preprint
id arxiv_https___arxiv_org_abs_2307_07950
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Accelerating Distributed ML Training via Selective Synchronization
Tyagi, Sahil
Swany, Martin
Distributed, Parallel, and Cluster Computing
Computer Vision and Pattern Recognition
Machine Learning
In distributed training, deep neural networks (DNNs) are launched over multiple workers concurrently and aggregate their local updates on each step in bulk-synchronous parallel (BSP) training. However, BSP does not linearly scale-out due to high communication cost of aggregation. To mitigate this overhead, alternatives like Federated Averaging (FedAvg) and Stale-Synchronous Parallel (SSP) either reduce synchronization frequency or eliminate it altogether, usually at the cost of lower final accuracy. In this paper, we present \texttt{SelSync}, a practical, low-overhead method for DNN training that dynamically chooses to incur or avoid communication at each step either by calling the aggregation op or applying local updates based on their significance. We propose various optimizations as part of \texttt{SelSync} to improve convergence in the context of \textit{semi-synchronous} training. Our system converges to the same or better accuracy than BSP while reducing training time by up to 14$\times$.
title Accelerating Distributed ML Training via Selective Synchronization
topic Distributed, Parallel, and Cluster Computing
Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2307.07950