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

可变编码批处理矩阵乘法

Variable Coded Batch Matrix Multiplication

Lev Tauz, Lara Dolecek

摘要:

大多数编码矩阵-矩阵计算文献广泛地集中在两个方向:用于计算单个计算任务的矩阵划分和多个不同计算任务的批处理。虽然这些工作提供了良好的离散弹性和快速解码的问题空间的代码,这些代码将无法利用跨批作业重用矩阵的自然冗余。在本文中,我们介绍了可变编码的分布式批处理矩阵乘法(VCDBMM)问题,任务的分布式系统执行批处理矩阵乘法矩阵不一定是不同的批处理作业。部分受交叉子空间对齐码的启发,我们开发了灵活的交叉子空间对齐(FCSA)代码,这些代码足够灵活,可以利用这种冗余。我们提供了一个完整的表征FCSA码,允许各种各样的系统复杂性,包括良好的离散弹性和快速解码。我们从理论上证明,在一定的实际条件下,FCSA代码是在一个因素的2的最佳解决方案,当谈到掉队的弹性。此外,我们的模拟表明,我们的代码在实践中可以实现更好的最优性差距,甚至低至1.7。

英文摘要:

A majority of coded matrix-matrix computation literature has broadly focused in two directions: matrix partitioning for computing a single computation task and batch processing of multiple distinct computation tasks. While these works provide codes with good straggler resilience and fast decoding for their problem spaces, these codes would not be able to take advantage of the natural redundancy of re-using matrices across batch jobs. In this paper, we introduce the Variable Coded Distributed Batch Matrix Multiplication (VCDBMM) problem which tasks a distributed system to perform batch matrix multiplication where matrices are not necessarily distinct among batch jobs. Inspired in part by Cross-Subspace Alignment codes, we develop Flexible Cross-Subspace Alignments (FCSA) codes that are flexible enough to utilize this redundancy. We provide a full characterization of FCSA codes which allow for a wide variety of system complexities including good straggler resilience and fast decoding. We theoretically demonstrate that, under certain practical conditions, FCSA codes are within a factor of 2 of the optimal solution when it comes to straggler resilience. Furthermore, our simulations demonstrate that our codes can achieve even better optimality gaps in practice, even going as low as 1.7.

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

↑