Linear Network Coding for Sum All-Reduce over Ring Networks
Yi Chen, Zhuoqi Tu, Shenghao Yang
Abstract
Sum All-Reduce is a fundamental collective communication primitive in which each node holds a local vector and every node must recover the componentwise sum of all vectors. In distributed training, this operation is often implemented over a ring topology using a reduce--multicast scheme. We study sum All-Reduce on directed rings via linear network coding, which includes reduce--multicast as a special case. We give a necessary and sufficient feasibility condition in terms of the coding matrices. For a ring with N≥ 3 nodes and unit-capacity links, where each node holds a vector containing K symbols, we prove that the number of time units T required by any feasible linear code satisfies T\K+N-2,\ 2(N-1)NK\, giving a rate K/T of at most N/(2(N-1)). The bound is tight over every field. When K N, an interleaved reduce--multicast code achieves the bound; when K<N and K divides N, a reduce--partial-multicast code does. When K<N and K does not divide N, no coordinate-wise code---in particular, no reduce--multicast code---achieves the bound, while an explicit linear network code does.
Create a lesson
Related papers
There is no binary linear [65,9,29] code
Shared title terminology · Zhichao Tang, Xiang Fan
A Characterization of Rings Where a Linear Transformation and Its Inverse and Transpose Have the Same Information Exchange
Shared title terminology · Gianfranco Bilardi, Carlo Fantozzi
Construction of Ternary Minimal Linear Codes with Dimension n+r Via Index Codes and The Access Structures of Their Dual Codes
Shared title terminology · Haibo Liu, Qunying Liao
Constructions of reversible linear and DNA codes through T_{D,g}^n-set and (n_1,c_1|n_2,c_2)-right polycyclic codes
Shared title terminology · Avanish Kumar Chaturvedi, Satyadeep Pandey
The ordered sum-rank metric and linearized multiplicity codes: NRT meets sum-rank
Shared title terminology · Umberto Martínez-Peñas
A Θ(n)-Multiplicative Improvement of the Gilbert-Varshamov Bound for Linear and Quantum Codes
Shared title terminology · Chen Yuan, Ruiqi Zhu