arrow
Return

Accelerating Distributed Training With Collaborative In-Network Aggregation

delete2024-08-01
delete0
PRE
AI
J
J. H. Fang
徐
徐宏力 (Hongli Xu) *
G
Gongming Zhao
Z
Zhuolong Yu
B
Bingchen Shen
L
Liguang Xie
DOI:10.1109/TNET.2024.3387948delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
The surging scale of distributed training (DT) incurs significant communication overhead in datacenters, while a promising solution is in-network aggregation (INA). It leverages programmable switches (e.g., Intel Tofino switches) for gradient aggregation to accelerate DT tasks. Due to switches' limited on-chip memory size, existing solutions try to design the memory sharing mechanism for INA. This mechanism requires gradients to arrive at switches synchronously, while network dynamics make it common for the asynchronous arrival of gradients, resulting in existing solutions being inefficient (e.g., massive communication overhead). To address this issue, we propose GOAT, the first-of-its-kind work on gradient scheduling with collaborative in-network aggregation, so that switches can efficiently aggregate asynchronously arriving gradients. Specifically, GOAT first partitions the model into a set of sub-models, then decides which sub-model gradients each switch is responsible for aggregating exclusively and to which switch each worker should send its sub-model gradients. To this end, we design an efficient knapsack-based randomized rounding algorithm and formally analyze the approximation performance. We implement GOAT and evaluate its performance on a testbed consisting of 3 Intel Tofino switches and 9 servers. Experimental results show that GOAT can speed up the DT by 1.5 x compared to the state-of-the-art solutions.
Keywords:
In-network aggregation
gradient scheduling
distributed training
datacenter network
programmable network

Journal

I
IEEE-ACM Transactions on Networking
IF:
3.6
Papers:
4.4K
Citations:
9.5K

Organization

U
university of science & technology of china, cas
Scholars:
3.2W
Papers: 2.7W
Citations: 74
J
Johns Hopkins University
Scholars:
10.2W
Papers: 8.8W
Citations: 13.0W
C
chinese academy of sciences
Scholars:
56.7W
Papers: 45.0W
Citations: 704
researcher View more organizations
Cited Papers

Cited Papers

errShare
errSave
Performance Study of Screen-Printed Textile Antennas after Repeated Washing
err2014-06-17
err0
errOAAI
errI. Kazani; F. Declercq; M. L. Scarpello; C. Hertleer; H. Rogier; D. Vande Ginste; G. De Mey; G. Guxho; L. Van Langenhove
errShare
errSave
Adaptive Control of Local Updating and Model Compression for Efficient Federated Learning
err2023-10-01
err37
PREAI
errXu, Yang; Liao, Yunming; Xu, Hongli; Ma, Zhenguo; Wang, Lun; Liu, Jianchun
errShare
errSave
Elastic-DF: Scaling Performance of DNN Inference in FPGA Clouds through Automatic Partitioning
err2021-12-06
err22
errOAAI
errAlonso, Tobias; Petrica, Lucian; Ruiz, Mario; Petri-Koenig, Jakoba; Umuroglu, Yaman; Stamelos, Ioannis; Koromilas, Elias; Blott, Michaela; Vissers, Kees
errShare
errSave
Logistic regression
err2008-05-06
err451
errOAAI
errLaValley, Michael P.
errShare
errSave
Cancer Stem Cells: A Moving Target
err2013-03-07
err0
errOAAI
errMaria Giovanna Francipane; Julie M. Chandler; Eric Lagasse
errShare
errSave
ImageNet Large Scale Visual Recognition Challenge
err2015-04-11
err2.7W
PREAI
errRussakovsky, Olga; Deng, Jia; Su, Hao; Krause, Jonathan; Satheesh, Sanjeev; Ma, Sean; Huang, Zhiheng; Karpathy, Andrej; Khosla, Aditya; Bernstein, Michael; Berg, Alexander C.; Fei-Fei, Li
errShare
errSave
researcher View more