arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.05680cs.DCcs.CVcs.LGeess.IV
收藏

eCNN:一种基于块的高度并行CNN边缘推理加速器

eCNN: A Block-Based and Highly-Parallel CNN Accelerator for Edge Inference

National Tsing Hua University(国立清华大学)

Chao-Tsung Huang, Yu-Chun Ding, Huan-Ching Wang, Chi-Wen Weng, Kai-Ping Lin, Li-Wei Wang, Li-De Chen

摘要:

卷积神经网络(CNN)最近已经证明了计算成像应用的优异质量。因此,它们具有巨大的潜力来彻底改变相机和显示器上的图像管道。然而,传统的CNN加速器由于其相当大的DRAM带宽和功耗,难以在边缘支持超高分辨率视频。因此,找到一种更高效的内存和计算微架构对于加速这场即将到来的革命至关重要。在本文中,我们通过考虑推理流程,网络模型,指令集,和处理器设计,共同优化硬件性能和图像质量的方法来实现这一目标。我们应用基于块的推理流程,可以消除所有的DRAM带宽的特征映射,并相应地提出了一个面向硬件的网络模型,ERNet,以优化图像质量的基础上的硬件约束。然后,我们设计了一个粗粒度的指令集架构,FBISA,支持功耗高的卷积大规模并行。最后,我们实现了一个嵌入式处理器-eCNN-它适应ERNet和FBISA具有灵活的处理架构。布局结果表明,它可以支持高质量的ERNets,以高达4K Ultra-HD 30 fps的速度实现超分辨率和去噪,同时仅使用DDR-400,平均功耗为6.94 W。相比之下,最先进的Diffy使用双通道DDR3-2133,功耗为54.3W,以全高清30 fps支持较低质量的VDSR。最后,我们还将展示高性能风格转换和对象识别的应用示例,以展示eCNN的灵活性。

英文摘要:

Convolutional neural networks (CNNs) have recently demonstrated superior quality for computational imaging applications. Therefore, they have great potential to revolutionize the image pipelines on cameras and displays. However, it is difficult for conventional CNN accelerators to support ultra-high-resolution videos at the edge due to their considerable DRAM bandwidth and power consumption. Therefore, finding a further memory- and computation-efficient microarchitecture is crucial to speed up this coming revolution. In this paper, we approach this goal by considering the inference flow, network model, instruction set, and processor design jointly to optimize hardware performance and image quality. We apply a block-based inference flow which can eliminate all the DRAM bandwidth for feature maps and accordingly propose a hardware-oriented network model, ERNet, to optimize image quality based on hardware constraints. Then we devise a coarse-grained instruction set architecture, FBISA, to support power-hungry convolution by massive parallelism. Finally,we implement an embedded processor---eCNN---which accommodates to ERNet and FBISA with a flexible processing architecture. Layout results show that it can support high-quality ERNets for super-resolution and denoising at up to 4K Ultra-HD 30 fps while using only DDR-400 and consuming 6.94W on average. By comparison, the state-of-the-art Diffy uses dual-channel DDR3-2133 and consumes 54.3W to support lower-quality VDSR at Full HD 30 fps. Lastly, we will also present application examples of high-performance style transfer and object recognition to demonstrate the flexibility of eCNN.

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

↑