矩阵乘法、三线性分解、APA算法和求和
Matrix Multiplication, Trilinear Decompositions, APA Algorithms, and Summation
摘要:
矩阵乘法(以下简称MM)是现代计算中最基本的运算之一。其性能的效率取决于各种因素,特别是向量化,数据移动和计算的算术复杂性,但在这里,我们只关注算术成本的研究和这项研究对现代计算的其他领域的影响。在20世纪70年代初,人们预计MM的直接立方时间算法很快就会加速,使MM在近二次算术时间内,有一些牵强的影响。在追求这一目标的主流研究的重点是减少经典指数3的复杂性MM向其下限2,忽略了增长的输入大小需要支持这种减少。最终,新颖的想法和复杂的技术的令人惊讶的组合使指数下降到其基准值约2.38,但支持MM算法改进了简单的一个只有巨大的输入大小。与此同时,线性代数计算的瓶颈已不再是运算的复杂性,而是通信复杂性。这一发展似乎破坏了过去和未来旨在降低MM算术成本的研究的价值,但我们认为应该重新评估这项研究,而不是关闭和遗忘。我们回顾了在这方面的新老工作,在目前的背景下,回顾了一些主要的技术在MM的研究中介绍,讨论其影响的现代理论和实践的计算MM和超越MM,并将这些技术之一,一些简单的算法的内积和求和。
英文摘要:
Matrix multiplication (hereafter we use the acronym MM) is among the most fundamental operations of modern computations. The efficiency of its performance depends on various factors, in particular vectorization, data movement and arithmetic complexity of the computations, but here we focus just on the study of the arithmetic cost and the impact of this study on other areas of modern computing. In the early 1970s it was expected that the straightforward cubic time algorithm for MM will soon be accelerated to enable MM in nearly quadratic arithmetic time, with some far fetched implications. While pursuing this goal the mainstream research had its focus on the decrease of the classical exponent 3 of the complexity of MM towards its lower bound 2, disregarding the growth of the input size required to support this decrease. Eventually, surprising combinations of novel ideas and sophisticated techniques enabled the decrease of the exponent to its benchmark value of about 2.38, but the supporting MM algorithms improved the straightforward one only for the inputs of immense sizes. Meanwhile, the communication complexity, rather than the arithmetic complexity, has become the bottleneck of computations in linear algebra. This development may seem to undermine the value of the past and future research aimed at the decrease of the arithmetic cost of MM, but we feel that the study should be reassessed rather than closed and forgotten. We review the old and new work in this area in the present day context, recall some major techniques introduced in the study of MM, discuss their impact on the modern theory and practice of computations for MM and beyond MM, and link one of these techniques to some simple algorithms for inner product and summation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。