Skip to main navigation Skip to search Skip to main content

Accelerating Distributed K-FAC with Efficient Collective Communication and Scheduling

  • Lin Zhang
  • , Shaohuai Shi*
  • , Bo Li
  • *Corresponding author for this work
  • Hong Kong University of Science and Technology
  • Harbin Institute of Technology Shenzhen

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Kronecker-factored approximate curvature (K-FAC) has been shown to achieve faster convergence than SGD in training deep neural networks. However, existing distributed K-FAC (D-KFAC) relies on the all-reduce collective for communications and scheduling, which incurs excessive communications in each iteration. In this work, we propose a new form of D-KFAC with a reduce-based alternative to eliminate redundant communications. This poses new challenges and opportunities in that the reduce collective requires a root worker to collect the results, which considerably complicates the communication scheduling. To this end, we formulate an optimization problem that determines tensor fusion and tensor placement simultaneously aiming to minimize the training iteration time. We develop novel communication scheduling strategies and propose a placement-aware D-KFAC (PAD-KFAC) training algorithm, which further improves communication efficiency. Our experimental results on a 64-GPU cluster interconnected with 10Gb/s and 100Gb/s Ethernet show that our PAD-KFAC can achieve an average of 27% and 17% improvement over state-of-the-art D-KFAC methods, respectively.

Original languageEnglish
Title of host publicationINFOCOM 2023 - IEEE Conference on Computer Communications
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798350334142
DOIs
StatePublished - 2023
Externally publishedYes
Event42nd IEEE International Conference on Computer Communications, INFOCOM 2023 - Hybrid, New York City, United States
Duration: 17 May 202320 May 2023

Publication series

NameProceedings - IEEE INFOCOM
Volume2023-May
ISSN (Print)0743-166X

Conference

Conference42nd IEEE International Conference on Computer Communications, INFOCOM 2023
Country/TerritoryUnited States
CityHybrid, New York City
Period17/05/2320/05/23

Keywords

  • Communication Scheduling
  • Distributed Deep Learning
  • K-FAC
  • Second-Order

Fingerprint

Dive into the research topics of 'Accelerating Distributed K-FAC with Efficient Collective Communication and Scheduling'. Together they form a unique fingerprint.

Cite this