arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.04513cs.NEcs.ARcs.LG
收藏

简洁的深度学习计算

Laconic Deep Learning Computing

University of Toronto(多伦多大学)

Sayeh Sharify, Mostafa Mahmoud, Alberto Delmas Lascorz, Milos Nikolic, Andreas Moshovos

摘要:

我们提出了一种方法,用于透明地识别未经修改的深度学习模型中的无效计算,而不会影响准确性。具体来说,我们表明,如果我们分解乘法下降到位级别的工作量进行推理过程中的图像分类模型可以始终减少两个数量级。在AlexNet稀疏变体的最佳情况下,这种方法可以理想地将计算工作减少500倍以上。我们为Laconic提供了一个硬件加速器,它实现了这种方法,以提高执行时间和深度学习网络推理的能源效率。Laconic明智地放弃了一些工作减少的潜力,以产生一个低成本,简单,节能的设计,优于其他国家的最先进的加速器。例如,使用仅128根线的重量存储器接口的Laconic配置比具有2K线重量存储器接口的传统加速器平均性能高2.3倍,同时平均能效高2.13倍。使用1K线重量存储器接口的Laconic配置比2K线传统加速器性能高15.4倍,能效高1.95倍。Laconic不要求但奖励模型设计的进步,例如精度降低,使用替代数字表示来减少“1”的位数,或者增加权重或激活稀疏性。

英文摘要:

We motivate a method for transparently identifying ineffectual computations in unmodified Deep Learning models and without affecting accuracy. Specifically, we show that if we decompose multiplications down to the bit level the amount of work performed during inference for image classification models can be consistently reduced by two orders of magnitude. In the best case studied of a sparse variant of AlexNet, this approach can ideally reduce computation work by more than 500x. We present Laconic a hardware accelerator that implements this approach to improve execution time, and energy efficiency for inference with Deep Learning Networks. Laconic judiciously gives up some of the work reduction potential to yield a low-cost, simple, and energy efficient design that outperforms other state-of-the-art accelerators. For example, a Laconic configuration that uses a weight memory interface with just 128 wires outperforms a conventional accelerator with a 2K-wire weight memory interface by 2.3x on average while being 2.13x more energy efficient on average. A Laconic configuration that uses a 1K-wire weight memory interface, outperforms the 2K-wire conventional accelerator by 15.4x and is 1.95x more energy efficient. Laconic does not require but rewards advances in model design such as a reduction in precision, the use of alternate numeric representations that reduce the number of bits that are "1", or an increase in weight or activation sparsity.

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

↑