arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.10852cs.AR
收藏

Flexagon:一种多数据流稀疏-稀疏矩阵乘法加速器用于高效的DNN处理

Flexagon: A Multi-Dataflow Sparse-Sparse Matrix Multiplication Accelerator for Efficient DNN Processing

Francisco Muñoz-Martínez, Raveesh Garg, José L. Abellán, Michael Pellauer, Manuel E. Acacio, Tushar Krishna

摘要:

稀疏性是现代DNN模型中的一个增长趋势。现有的稀疏-稀疏矩阵乘法(SpMSpM)加速器被定制为特定的SpMSpM算法(即,内产品,外产品或古斯塔夫森),这决定了他们的整体效率。我们表明,这种静态的决定固有的结果在一个次优的动态解决方案。这是因为不同的SpMSpM内核显示不同的特征(即,维度、稀疏模式、稀疏度),这使得每个子图更好地适合不同的数据集。在这项工作中,我们提出Flexagon,第一个SpMSpM可重构的加速器,能够通过使用最适合每种情况下的特定的低功耗执行SpMSpM计算。Flexagon加速器基于一种新型的合并-还原网络(MRN),该网络将还原和合并的概念统一在同一衬底上,从而提高了效率。此外,Flexagon还包括一个3层存储层次结构,专门针对输入和输出压缩矩阵的不同访问特性。使用来自各种应用领域的当代DNN模型的详细周期级模拟,我们表明Flexagon相对于最先进的SIGMA类,Sparch类和Gamma类加速器实现了4.59倍,1.71倍和1.35倍的平均性能优势(平均性能/面积效率分别为265%,67%和18%)。

英文摘要:

Sparsity is a growing trend in modern DNN models. Existing Sparse-Sparse Matrix Multiplication (SpMSpM) accelerators are tailored to a particular SpMSpM dataflow (i.e., Inner Product, Outer Product or Gustavsons), that determines their overall efficiency. We demonstrate that this static decision inherently results in a suboptimal dynamic solution. This is because different SpMSpM kernels show varying features (i.e., dimensions, sparsity pattern, sparsity degree), which makes each dataflow better suited to different data sets. In this work we present Flexagon, the first SpMSpM reconfigurable accelerator that is capable of performing SpMSpM computation by using the particular dataflow that best matches each case. Flexagon accelerator is based on a novel Merger-Reduction Network (MRN) that unifies the concept of reducing and merging in the same substrate, increasing efficiency. Additionally, Flexagon also includes a 3-tier memory hierarchy, specifically tailored to the different access characteristics of the input and output compressed matrices. Using detailed cycle-level simulation of contemporary DNN models from a variety of application domains, we show that Flexagon achieves average performance benefits of 4.59x, 1.71x, and 1.35x with respect to the state-of-the-art SIGMA-like, Sparch-like and GAMMA-like accelerators (265% , 67% and 18%, respectively, in terms of average performance/area efficiency).

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

↑