arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.06807cs.LGcs.ARcs.NEstat.ML
收藏

Morph:基于3D CNN的视频理解的灵活加速

Morph: Flexible Acceleration for 3D CNN-based Video Understanding

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Kartik Hegde, Rohit Agrawal, Yulun Yao, Christopher W. Fletcher

摘要:

在过去的几年里,卷积神经网络(CNN)的使用和加速器的设计都出现了爆炸式的增长,使CNN推理变得实用。在架构社区中,最大的努力是针对图像识别的CNN推理。与此密切相关的视频识别问题作为加速器目标受到的关注要少得多。这是令人惊讶的,因为视频识别比图像识别的计算密集度更高,预计视频流量将在未来几年成为互联网流量的主要部分。本文填补了视频识别算法和硬件进步之间的差距,为加速3D卷积神经网络(3D CNN)提供了设计空间探索和灵活的架构-现代视频理解的核心内核。与用于图像识别的(2D)CNN相比,有效加速3D CNN带来了重大的工程挑战,因为它们的内存占用量很大(并且随时间变化)并且维数更高。为了解决这些挑战,我们设计了一种新的加速器,称为Morph,它可以根据每个目标3D CNN的每一层的需求自适应地支持不同的空间和时间平铺策略。我们与Morph硬件共同设计了一个软件基础设施,以找到合适的参数来控制硬件。在最先进的3D CNN上进行评估,与基线3D CNN加速器相比,Morph实现了高达3.4倍(平均2.5倍)的能耗降低,并将性能/功耗提高了5.1倍(平均4倍),面积开销为5%。与Eyeriss相比,Morph在3D CNN上进一步实现了15.9倍的平均能量降低。

英文摘要:

The past several years have seen both an explosion in the use of Convolutional Neural Networks (CNNs) and the design of accelerators to make CNN inference practical. In the architecture community, the lion share of effort has targeted CNN inference for image recognition. The closely related problem of video recognition has received far less attention as an accelerator target. This is surprising, as video recognition is more computationally intensive than image recognition, and video traffic is predicted to be the majority of internet traffic in the coming years. This paper fills the gap between algorithmic and hardware advances for video recognition by providing a design space exploration and flexible architecture for accelerating 3D Convolutional Neural Networks (3D CNNs) - the core kernel in modern video understanding. When compared to (2D) CNNs used for image recognition, efficiently accelerating 3D CNNs poses a significant engineering challenge due to their large (and variable over time) memory footprint and higher dimensionality. To address these challenges, we design a novel accelerator, called Morph, that can adaptively support different spatial and temporal tiling strategies depending on the needs of each layer of each target 3D CNN. We codesign a software infrastructure alongside the Morph hardware to find good-fit parameters to control the hardware. Evaluated on state-of-the-art 3D CNNs, Morph achieves up to 3.4x (2.5x average) reduction in energy consumption and improves performance/watt by up to 5.1x (4x average) compared to a baseline 3D CNN accelerator, with an area overhead of 5%. Morph further achieves a 15.9x average energy reduction on 3D CNNs when compared to Eyeriss.

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

↑