Topology Decoupled All-reduce Algorithm
With the advancement of deep learning, network communication has become the most critical factor in model training. Especially, the all-reduce operation can comprise over 70% of the cumulative training duration as a pivotal component within data parallelism. However, existing all-reduce algorithms often perform poorly in complex network topologies, and there is currently no universal and straightforward all-reduce algorithm that can effectively adapt to diverse topological structures.In this work, we propose a topology decoupled all-reduce algorithm. We decouple the network into multiple tree substructures, select the trees with the smallest heights, and then split the data to perform aggregate communication within these selected structures. This approach significantly reduces the number of communications and enhances efficiency. Experimental results show that our topology decoupled all-reduce algorithm reduces communication time compared to NCCL’s by 42.9% and enhances end-to-end training efficiency by 11.7%.
Authors
- Anwitaman Datta (ORCID: https://orcid.org/0000-0002-4203-1572)
- Zhuo Tang (ORCID: https://orcid.org/0000-0001-9081-8153)
- Jiapeng Zhang (ORCID: https://orcid.org/0000-0002-0364-3568)
- Ruixing Zong (ORCID: https://orcid.org/0009-0000-0530-0561)
Institutions
- Hunan University (CN)
- Nanyang Technological University (SG)
Publication Details
- Published
- 2025-03-12
- DOI
- https://doi.org/10.1109/icassp49660.2025.10890610
- Primary Topic
- Neural Networks and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Nanyang Technological University
- National Natural Science Foundation of China
- Natural Science Foundation of Hunan Province