arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1703.09779cs.CV
收藏

一种优化DSP块的整体方法在FPGA上实现CNN

A Holistic Approach for Optimizing DSP Block Utilization of a CNN implementation on FPGA

Institut Pascal(帕斯卡研究所);CEPP Bull(法国电力公司巴黎大区电力中心);INSA(法国国立应用科学学院);Université Grenoble-Alpes(格勒诺布尔阿尔卑斯大学)

Kamel Abdelouahab, Cedric Bourrasset, Maxime Pelcat, François Berry, Jean-Charles Quinton, Jocelyn Serot

摘要:

深度神经网络正在成为图像理解的事实标准模型,更广泛地用于计算机视觉任务。由于它们涉及高度并行化的计算,因此CNN非常适合于当前的细粒度可编程逻辑器件。因此,多个CNN加速器已经成功地在FPGA上实现。遗憾的是,FPGA资源(如逻辑元件或DSP单元)仍然有限。这项工作提出了一个整体的方法,依靠近似计算和设计空间探索,以优化DSP块利用率的CNN的FPGA实现。当在Altera Stratix V设备上实现可重构OCR卷积神经网络并改变数据表示和CNN拓扑时,对该方法进行了测试,以找到DSP块利用率和分类精度方面的最佳组合。该探索生成了具有5种不同固定点表示的76个CNN拓扑结构的卷积体系结构。最有效的实现方式使用8%的可用DSP块以256 x 256分辨率执行883分类/秒。

英文摘要:

Deep Neural Networks are becoming the de-facto standard models for image understanding, and more generally for computer vision tasks. As they involve highly parallelizable computations, CNN are well suited to current fine grain programmable logic devices. Thus, multiple CNN accelerators have been successfully implemented on FPGAs. Unfortunately, FPGA resources such as logic elements or DSP units remain limited. This work presents a holistic method relying on approximate computing and design space exploration to optimize the DSP block utilization of a CNN implementation on an FPGA. This method was tested when implementing a reconfigurable OCR convolutional neural network on an Altera Stratix V device and varying both data representation and CNN topology in order to find the best combination in terms of DSP block utilization and classification accuracy. This exploration generated dataflow architectures of 76 CNN topologies with 5 different fixed point representation. Most efficient implementation performs 883 classifications/sec at 256 x 256 resolution using 8% of the available DSP blocks.

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

↑