arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.10063cs.ARcs.AIcs.PF
收藏

Strassen多脉动阵列硬件架构

Strassen Multisystolic Array Hardware Architectures

McMaster University(麦克马斯特大学)

Trevor E. Pogue, Nicola Nicolici

AI总结:

针对Strassen矩阵乘法算法在通用硬件难以实现理论加速比的问题,提出并评估了多脉动阵列架构,可将算法复杂度降低转化为硬件资源节省,提升小矩阵计算利用率,在FPGA上实现资源优化并取得最优性能。

摘要:

尽管Strassen矩阵乘法算法降低了朴素矩阵乘法的复杂度,但通用硬件并不适合实现该算法承诺的理论加速比。这就引出了一个问题:该算法是否能在专门为执行它而设计的定制硬件架构中得到更好的利用。然而,此前这方面的研究有限,且如何推导此类架构或它们能否最终带来实际改进尚不明晰。我们填补了这一空白,提出并评估了新的脉动阵列架构,这些架构能将Strassen算法的理论复杂度降低直接高效地转化为硬件资源节省。此外,这些架构是多脉动阵列设计,在计算较小矩阵时利用率高于单脉动阵列设计。在FPGA上实现的所提设计中,当实现r级Strassen递归时,DSP需求降低了1.14^r倍;在支持分别低至32×32和24×24的矩阵尺寸、采用1-2级Strassen递归的情况下,其他软逻辑资源需求与基线设计相似。我们将所提设计与基线设计及现有工作进行了单独评估和端到端机器学习加速器评估,取得了最先进的性能。

英文摘要:

While Strassen's matrix multiplication algorithm reduces the complexity of naive matrix multiplication, general-purpose hardware is not suitable for achieving the algorithm's promised theoretical speedups. This leaves the question of if it could be better exploited in custom hardware architectures designed specifically for executing the algorithm. However, there is limited prior work on this and it is not immediately clear how to derive such architectures or if they can ultimately lead to real improvements. We bridge this gap, presenting and evaluating new systolic array architectures that efficiently translate the theoretical complexity reductions of Strassen's algorithm directly into hardware resource savings. Furthermore, the architectures are multisystolic array designs that can multiply smaller matrices with higher utilization than single-systolic array designs. The proposed designs implemented on FPGA reduce DSP requirements by a factor of $1.14^r$ for $r$ implemented Strassen recursion levels, and otherwise require overall similar soft logic resources when instantiated to support matrix sizes down to 32x32 and 24x24 at 1-2 levels of Strassen recursion, respectively. We evaluate the proposed designs both in isolation and in an end-to-end machine learning accelerator compared to baseline designs and prior works, achieving state-of-the-art performance.

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

↑