NullHop:一种基于特征映射稀疏表示的灵活卷积神经网络加速器
NullHop: A Flexible Convolutional Neural Network Accelerator Based on Sparse Representations of Feature Maps
摘要:
卷积神经网络(CNN)已经成为解决许多最先进(SOA)视觉处理任务的主要神经网络架构。尽管图形处理单元(GPU)最常用于训练和部署CNN,但对于单帧运行时推理,其功率效率低于10 GOp/s/W。我们提出了一种灵活高效的CNN加速器架构,称为NullHop,实现了SOA CNN,适用于低功耗和低延迟的应用场景。NullHop利用CNN中神经元激活的稀疏性来加速计算并减少内存需求。灵活的体系结构允许在1x 1到7 x7的内核大小范围内高度利用可用的计算资源。NullHop可以在一次传递中处理每层多达128个输入和128个输出特征映射。我们在Xilinx Zynq FPGA平台上实现了所提出的架构,并展示了我们的实现如何在五种不同的CNN中减少外部存储器传输和计算时间,从小型CNN到众所周知的大型VGG 16和VGG 19 CNN。使用Mentor Modelsim在28 nm工艺中进行的合成后仿真显示,VGG 19网络的时钟频率为500 MHz,达到了450 GOp/s以上。通过利用稀疏性,NullHop实现了368%的效率,保持了超过98%的MAC单元利用率,并在6.3mm $^2$的核心区域内实现了超过3 TOp/s/W的功率效率。为了进一步证明NullHop的可用性,我们将其FPGA实现与神经形态事件摄像机连接,以进行实时的交互式演示。
英文摘要:
Convolutional neural networks (CNNs) have become the dominant neural network architecture for solving many state-of-the-art (SOA) visual processing tasks. Even though Graphical Processing Units (GPUs) are most often used in training and deploying CNNs, their power efficiency is less than 10 GOp/s/W for single-frame runtime inference. We propose a flexible and efficient CNN accelerator architecture called NullHop that implements SOA CNNs useful for low-power and low-latency application scenarios. NullHop exploits the sparsity of neuron activations in CNNs to accelerate the computation and reduce memory requirements. The flexible architecture allows high utilization of available computing resources across kernel sizes ranging from 1x1 to 7x7. NullHop can process up to 128 input and 128 output feature maps per layer in a single pass. We implemented the proposed architecture on a Xilinx Zynq FPGA platform and present results showing how our implementation reduces external memory transfers and compute time in five different CNNs ranging from small ones up to the widely known large VGG16 and VGG19 CNNs. Post-synthesis simulations using Mentor Modelsim in a 28nm process with a clock frequency of 500 MHz show that the VGG19 network achieves over 450 GOp/s. By exploiting sparsity, NullHop achieves an efficiency of 368%, maintains over 98% utilization of the MAC units, and achieves a power efficiency of over 3TOp/s/W in a core area of 6.3mm$^2$. As further proof of NullHop's usability, we interfaced its FPGA implementation with a neuromorphic event camera for real time interactive demonstrations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。