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

两个稀疏度优于一个:释放稀疏-稀疏网络的性能优势

Two Sparsities Are Better Than One: Unlocking the Performance Benefits of Sparse-Sparse Networks

Numenta(Numenta公司)

Kevin Lee Hunter, Lawrence Spracklen, Subutai Ahmad

摘要:

原则上,稀疏神经网络应该比传统的密集网络更有效。大脑中的神经元表现出两种类型的稀疏性;它们稀疏地相互连接和稀疏地活跃。这两种类型的稀疏性,称为权重稀疏性和激活稀疏性,当结合在一起时,提供了将神经网络的计算成本降低两个数量级的潜力。尽管有这种潜力,但今天的神经网络仅使用权重稀疏性仅提供适度的性能优势,因为传统的计算硬件无法有效地处理稀疏网络。在这篇文章中,我们介绍了互补稀疏,一种新的技术,显着提高现有硬件上的双稀疏网络的性能。我们证明了我们可以实现高性能的运行权重稀疏网络,我们可以通过结合激活稀疏性来增加这些加速比。使用互补稀疏性,我们在FPGA上执行推理时,吞吐量和能效提高了100倍。我们分析了ResNet-50和MobileNetV 2等商业卷积网络典型内核的可扩展性和资源权衡。我们对互补稀疏性的研究结果表明,权重加上激活稀疏性可以成为有效扩展未来AI模型的有效组合。

英文摘要:

In principle, sparse neural networks should be significantly more efficient than traditional dense networks. Neurons in the brain exhibit two types of sparsity; they are sparsely interconnected and sparsely active. These two types of sparsity, called weight sparsity and activation sparsity, when combined, offer the potential to reduce the computational cost of neural networks by two orders of magnitude. Despite this potential, today's neural networks deliver only modest performance benefits using just weight sparsity, because traditional computing hardware cannot efficiently process sparse networks. In this article we introduce Complementary Sparsity, a novel technique that significantly improves the performance of dual sparse networks on existing hardware. We demonstrate that we can achieve high performance running weight-sparse networks, and we can multiply those speedups by incorporating activation sparsity. Using Complementary Sparsity, we show up to 100X improvement in throughput and energy efficiency performing inference on FPGAs. We analyze scalability and resource tradeoffs for a variety of kernels typical of commercial convolutional networks such as ResNet-50 and MobileNetV2. Our results with Complementary Sparsity suggest that weight plus activation sparsity can be a potent combination for efficiently scaling future AI models.

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

↑