arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1607.00064cs.AR
收藏

通过资源分区最大化CNN加速器效率

Maximizing CNN Accelerator Efficiency Through Resource Partitioning

Yongming Shen, Michael Ferdman, Peter Milder

摘要:

卷积神经网络(CNN)正在彻底改变机器学习,但它们提出了重大的计算挑战。最近,已经提出了许多基于FPGA的加速器来提高CNN的性能和效率。当前的方法构建了一个单一的处理器,一次计算一个CNN层;处理器被优化以最大化计算层集合的吞吐量。然而,这种方法导致低效的设计,因为相同的处理器结构被用于计算维度完全不同的CNN层。我们提出了一种新的CNN加速器范式和一种伴随的自动化设计方法,该方法将可用的FPGA资源划分为多个处理器,每个处理器都是为CNN卷积层的不同子集量身定制的。使用与单个大型处理器相同的FPGA资源,多个较小的专用处理器提高了计算效率,并导致更高的整体吞吐量。在Xilinx Virtex-7 FPGA上评估流行的AlexNet CNN时,我们的设计方法实现了比最先进方法高3.8倍的吞吐量。对于最近的SqueezeNet和GoogLeNet,加速比是2.2倍和2.0倍。

英文摘要:

Convolutional neural networks (CNNs) are revolutionizing machine learning, but they present significant computational challenges. Recently, many FPGA-based accelerators have been proposed to improve the performance and efficiency of CNNs. Current approaches construct a single processor that computes the CNN layers one at a time; the processor is optimized to maximize the throughput at which the collection of layers is computed. However, this approach leads to inefficient designs because the same processor structure is used to compute CNN layers of radically varying dimensions. We present a new CNN accelerator paradigm and an accompanying automated design methodology that partitions the available FPGA resources into multiple processors, each of which is tailored for a different subset of the CNN convolutional layers. Using the same FPGA resources as a single large processor, multiple smaller specialized processors increase computational efficiency and lead to a higher overall throughput. Our design methodology achieves 3.8x higher throughput than the state-of-the-art approach on evaluating the popular AlexNet CNN on a Xilinx Virtex-7 FPGA. For the more recent SqueezeNet and GoogLeNet, the speedups are 2.2x and 2.0x.

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

↑