双边稀疏张量核
Dual-side Sparse Tensor Core
摘要:
在深度神经网络(DNN)模型中利用稀疏性有望加速模型推理。然而,现有的GPU只能利用权重的稀疏性,而不能利用激活,这是动态的,不可预测的,因此具有挑战性。在这项工作中,我们提出了一种新的架构,以有效地利用双边稀疏性(即,权重和激活稀疏性)。我们采取系统的方法来了解以前的稀疏相关架构的(缺点)的优点,并提出了一种新的,未探索的范式,结合外积计算原语和基于位图的编码格式。我们证明了我们的设计的可行性,对现有的生产规模的基于内积的Tensor Core进行了最小的更改。我们提出了一组新的ISA扩展,并共同设计了矩阵-矩阵乘法和卷积算法,这是当今DNN模型中的两种主要计算模式,以利用我们新的双侧稀疏张量核心。我们的评估表明,我们的设计可以充分释放双边DNN稀疏性,并提高性能高达一个数量级的\hl{small}硬件开销。
英文摘要:
Leveraging sparsity in deep neural network (DNN) models is promising for accelerating model inference. Yet existing GPUs can only leverage the sparsity from weights but not activations, which are dynamic, unpredictable, and hence challenging to exploit. In this work, we propose a novel architecture to efficiently harness the dual-side sparsity (i.e., weight and activation sparsity). We take a systematic approach to understand the (dis)advantages of previous sparsity-related architectures and propose a novel, unexplored paradigm that combines outer-product computation primitive and bitmap-based encoding format. We demonstrate the feasibility of our design with minimal changes to the existing production-scale inner-product-based Tensor Core. We propose a set of novel ISA extensions and co-design the matrix-matrix multiplication and convolution algorithms, which are the two dominant computation patterns in today's DNN models, to exploit our new dual-side sparse Tensor Core. Our evaluation shows that our design can fully unleash the dual-side DNN sparsity and improve the performance by up to one order of magnitude with \hl{small} hardware overhead.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。