arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.12685cs.ITmath.IT
收藏

采用低权重编码的分布式矩阵计算

Distributed Matrix Computations with Low-weight Encodings

Anindya Bijoy Das, Aditya Ramamoorthy, David J. Love, Christopher G. Brinton

AI总结:

针对稀疏矩阵分布式计算中稠密编码增加计算量的问题,提出基于少量子矩阵随机线性组合的低权重编码方法,兼具最优滞错能力与高效编码,实验验证可显著提升计算与编码效率。

摘要:

滞后节点是分布式矩阵计算中公认的瓶颈,会导致计算/通信速度下降。缓解这类滞后问题的一种常用策略是将基于Reed-Solomon的MDS(最大距离可分)码融入框架;该方法可实现对最优数量滞后节点的容错能力。但这类编码会将子矩阵的稠密线性组合分配给工作节点。当输入矩阵为稀疏矩阵时,这些方法会增加编码后矩阵的非零元数量,进而对工作节点的计算时间产生负面影响。本研究提出了一种分布式矩阵计算方法,其中分配的编码子矩阵是少量子矩阵的随机线性组合。该方法不仅非常适用于稀疏输入矩阵,还能在一定的问题参数范围内保持最优的滞后节点容错能力。此外,与近期的稀疏矩阵计算方法相比,我们的方法中为提升数值稳定性而寻找“优质”随机系数集合的过程计算效率要高得多。研究表明,该方法能够有效利用异构系统中速度较慢的工作节点完成的部分计算,从而提升整体计算速度。通过Amazon Web Services(AWS)开展的数值实验显示,与现有方法相比,每个工作节点的计算时间最多降低30%,编码速度最高提升100倍。

英文摘要:

Straggler nodes are well-known bottlenecks of distributed matrix computations which induce reductions in computation/communication speeds. A common strategy for mitigating such stragglers is to incorporate Reed-Solomon based MDS (maximum distance separable) codes into the framework; this can achieve resilience against an optimal number of stragglers. However, these codes assign dense linear combinations of submatrices to the worker nodes. When the input matrices are sparse, these approaches increase the number of non-zero entries in the encoded matrices, which in turn adversely affects the worker computation time. In this work, we develop a distributed matrix computation approach where the assigned encoded submatrices are random linear combinations of a small number of submatrices. In addition to being well suited for sparse input matrices, our approach continues have the optimal straggler resilience in a certain range of problem parameters. Moreover, compared to recent sparse matrix computation approaches, the search for a "good" set of random coefficients to promote numerical stability in our method is much more computationally efficient. We show that our approach can efficiently utilize partial computations done by slower worker nodes in a heterogeneous system which can enhance the overall computation speed. Numerical experiments conducted through Amazon Web Services (AWS) demonstrate up to 30% reduction in per worker node computation time and 100x faster encoding compared to the available methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑