Litcius/Paper detail

Efficient Inter-Datacenter AllReduce With Multiple Trees

Shouxi Luo, Renyi Wang, Huanlai Xing

2024IEEE Transactions on Network Science and Engineering12 citationsDOI

Abstract

In this paper, we look into the problem of achieving efficient inter-datacenter AllReduce operations for geo-distributed machine learning (Geo-DML). Compared with intra-datacenter distributed training, the heterogeneous wide-area network (WAN) connections among Geo-DML workers are scarce, expensive, and unstable, making existing proposals designed for homogeneous networks fall short. Despite that some recent optimizations have been proposed for Geo-DML, they break the consistency semantics of bulk synchronous parallel (BSP), thus bringing no benefit to the widely existing BSP-based applications. To address these issues, we propose <sc xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">mTree</small>, a topology management suite for Geo-DML. With the global view of the heterogeneous WAN connections, <sc xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">mTree</small> builds multiple optimized spanning trees along with suggested workload distribution proportions, respecting the constraints of both the number of trees and their maximum height specified by the training. Based on these results, geo-distributed workers could launch concurrent tree-based pipelined AllReduce operations to make efficient use of the heterogeneous network. Detailed performance studies on real-world network topologies imply that <sc xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">mTree</small> achieves efficient AllReduce, significantly outperforming existing solutions.

Topics & Concepts

Computer scienceDistributed computingSoftware-Defined Networks and 5GCloud Computing and Resource ManagementIoT and Edge/Fog Computing
Efficient Inter-Datacenter AllReduce With Multiple Trees | Litcius