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

基于FPGA的自适应分层卷积神经网络设计

A Novel Design of Adaptive and Hierarchical Convolutional Neural Networks using Partial Reconfiguration on FPGA

Arizona State University(亚利桑那州立大学)

Mohammad Farhadi, Mehdi Ghasemi, Yezhou Yang

摘要:

目前,大多数使用卷积神经网络(CNN)进行视觉识别的研究遵循“更深的模型与更深的信心”的信念,以获得更高的识别精度。同时,模型越深,计算量越大。另一方面,对于大部分识别挑战,系统可以使用简单模型或所谓的浅层网络对图像进行正确分类。此外,CNN的实现面临着嵌入式设备的尺寸,重量和能量限制。在本文中,我们实现了浅,深网络之间的自适应切换,以达到最高的吞吐量在资源受限的MPSoC与CPU和FPGA。为此,我们为CNN开发并提出了一种新的架构,其中门决定使用更深的模型是否有益。由于FPGA上的资源限制,部分重新配置的思想已被用于在FPGA资源上容纳深度CNN。我们在CIFAR-10、CIFAR-100和SVHN数据集上报告了实验结果,以验证我们的方法。使用置信度作为决策因素,对于CIFAR-10、CIFAR-100和SVHN,最深网络中的计算仅完成了69.8%、71.8%和43.8%,而对于SVHN数据集,它可以保持每秒约400张图像的吞吐量的期望精度。

英文摘要:

Nowadays most research in visual recognition using Convolutional Neural Networks (CNNs) follows the "deeper model with deeper confidence" belief to gain a higher recognition accuracy. At the same time, deeper model brings heavier computation. On the other hand, for a large chunk of recognition challenges, a system can classify images correctly using simple models or so-called shallow networks. Moreover, the implementation of CNNs faces with the size, weight, and energy constraints on the embedded devices. In this paper, we implement the adaptive switching between shallow and deep networks to reach the highest throughput on a resource-constrained MPSoC with CPU and FPGA. To this end, we develop and present a novel architecture for the CNNs where a gate makes the decision whether using the deeper model is beneficial or not. Due to resource limitation on FPGA, the idea of partial reconfiguration has been used to accommodate deep CNNs on the FPGA resources. We report experimental results on CIFAR-10, CIFAR-100, and SVHN datasets to validate our approach. Using confidence metric as the decision making factor, only 69.8%, 71.8%, and 43.8% of the computation in the deepest network is done for CIFAR-10, CIFAR-100, and SVHN while it can maintain the desired accuracy with the throughput of around 400 images per second for SVHN dataset.

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

↑