arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.08708cs.ITcs.DCmath.IT
收藏

多变量多项式码用于分布式系统中高效矩阵链乘法

Multivariate Polynomial Codes for Efficient Matrix Chain Multiplication in Distributed Systems

Centre Tecnològic de Telecomunicacions de Catalunya (CTTC/CERCA)(加泰罗尼亚电信技术中心)

Jesús Gómez-Vilardebò

AI总结:

本文提出多变量多项式码用于分布式系统中的矩阵链乘法,通过减少存储开销来平衡计算与存储效率。

摘要:

我们研究了在分布式计算集群中计算矩阵链乘法的问题。在这样的系统中,性能往往受到慢工问题的限制,即最慢的工作者主导了整体计算延迟。为了解决这个问题,已经提出了一些编码计算策略,主要集中在最简单的情况:两个矩阵的乘法。这些方法成功地缓解了慢工效应,但它们是以更高的计算复杂度和增加的存储需求为代价的。然而,在许多实际应用中,计算自然地涉及长链的矩阵乘法,而不是仅仅单个两个矩阵的乘积。将单变量多项式编码扩展到这种设置已被证明会放大成本——计算和存储开销显著增长,限制了可扩展性。在本工作中,我们提出了两种新的多变量多项式编码方案,专门设计用于分布式环境中的矩阵链乘法。我们的结果表明,尽管多变量代码在工作者处引入了额外的计算成本,但它们可以显著减少与单变量扩展相比的存储开销。这揭示了计算和存储效率之间的基本权衡,并突显了多变量代码作为大规模分布式线性代数任务的实用解决方案的潜力。

英文摘要:

We study the problem of computing matrix chain multiplications in a distributed computing cluster. In such systems, performance is often limited by the straggler problem, where the slowest worker dominates the overall computation latency. To resolve this issue, several coded computing strategies have been proposed, primarily focusing on the simplest case: the multiplication of two matrices. These approaches successfully alleviate the straggler effect, but they do so at the expense of higher computational complexity and increased storage needs at the workers. However, in many real-world applications, computations naturally involve long chains of matrix multiplications rather than just a single two-matrix product. Extending univariate polynomial coding to this setting has been shown to amplify the costs -- both computation and storage overheads grow significantly, limiting scalability. In this work, we propose two novel multivariate polynomial coding schemes specifically designed for matrix chain multiplication in distributed environments. Our results show that while multivariate codes introduce additional computational cost at the workers, they can dramatically reduce storage overhead compared to univariate extensions. This reveals a fundamental trade-off between computation and storage efficiency, and highlights the potential of multivariate codes as a practical solution for large-scale distributed linear algebra tasks.

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

↑