Deep-learning is a cutting edge theory that is being applied to many fields. For vision applications the Convolutional Neural Networks (CNN) are demanding significant accuracy for classification tasks. Numerous hardware accelerators have populated during the last years to improve CPU or GPU based solutions. This technology is commonly prototyped and tested over FPGAs before being considered for ASIC fabrication for mass production. The use of commercial typical cameras (30fps) limits the capabilities of these systems for high speed applications. The use of dynamic vision sensors (DVS) that emulate the behavior of a biological retina is taking an incremental importance to improve this applications due to its nature, where the information is represented by a continuous stream of spikes and the frames to be processed by the CNN are constructed collecting a fixed number of these spikes (called events). The faster an object is, the more events are produced by DVS, so the higher is the equivalent frame rate. Therefore, these DVS utilization allows to compute a frame at the maximum speed a CNN accelerator can offer. In this paper we present a VHDL/HLS description of a pipelined design for FPGA able to collect events from an Address-Event-Representation (AER) DVS retina to obtain a normalized histogram to be used by a particular CNN accelerator, called NullHop. VHDL is used to describe the circuit, and HLS for computation blocks, which are used to perform the normalization of a frame needed for the CNN. Results outperform previous implementations of frames collection and normalization using ARM processors running at 800MHz on a Zynq7100 in both latency and power consumption. A measured 67% speedup factor is presented for a Roshambo CNN real-time experiment running at 160fps peak rate.
深度神经网络正在成为图像理解的事实标准模型,更广泛地用于计算机视觉任务。由于它们涉及高度并行化的计算,因此CNN非常适合于当前的细粒度可编程逻辑器件。因此,多个CNN加速器已经成功地在FPGA上实现。遗憾的是,FPGA资源(如逻辑元件或DSP单元)仍然有限。这项工作提出了一个整体的方法,依靠近似计算和设计空间探索,以优化DSP块利用率的CNN的FPGA实现。当在Altera Stratix V设备上实现可重构OCR卷积神经网络并改变数据表示和CNN拓扑时,对该方法进行了测试,以找到DSP块利用率和分类精度方面的最佳组合。该探索生成了具有5种不同固定点表示的76个CNN拓扑结构的卷积体系结构。最有效的实现方式使用8%的可用DSP块以256 x 256分辨率执行883分类/秒。
Towards Efficient Convolutional Neural Network for Domain-Specific Applications on FPGA
Imperial College London(帝国理工学院);Corerain Technologies Ltd.(鲲云科技有限公司)
FPGA是近年来实现卷积神经网络(CNN)的热门技术。FPGA上的大多数CNN应用程序都是特定于领域的,例如从特定类别中检测对象,其中在一般数据集上预训练的常用CNN模型可能不够有效。TuRF是一个端到端的CNN加速框架,通过迁移学习在FPGA上高效地部署特定领域的应用,将预训练模型适应特定领域,用高效的卷积块替换标准卷积层,并应用层融合来增强硬件设计性能。我们通过在Stratix V FPGA上部署用于特定领域图像识别任务的预训练VGG-16模型来评估TuRF。结果表明,对于原始VGG-16和ResNet-50模型,TuRF生成的设计比以前的方法实现了更好的性能,而对于优化的VGG-16模型,TuRF设计更准确,更容易处理。
A GPU-Outperforming FPGA Accelerator Architecture for Binary Convolutional Neural Networks
Arizona State University(亚利桑那州立大学);Nanyang Technological University(南洋理工大学)
基于FPGA的卷积神经网络(CNN)硬件加速器由于其比GPU更高的能量效率而受到广泛关注。然而,基于FPGA的解决方案要实现比GPU更高的吞吐量是具有挑战性的。在本文中,我们证明了当CNN在权重和激活的二进制约束下进行训练时,FPGA加速在吞吐量和能效方面都是一种优越的解决方案。具体来说,我们提出了一种优化的FPGA加速器架构,专为逐位卷积和归一化而设计,具有大规模的空间并行性和深流水线阶段。FPGA加速器的一个关键优势是其性能对数据批量大小不敏感,而GPU加速的性能在很大程度上取决于数据的批量大小。实验结果表明,在Virtex-7 FPGA上运行的二进制CNN的加速器架构比Titan X GPU快8.3倍,能效高75倍,可以处理小批量的在线个人请求。对于处理大批量静态数据,该解决方案在吞吐量方面与Titan X GPU不相上下,同时提供9.5倍的能效。
FPGA-based Accelerators of Deep Learning Networks for Learning and Classification: A Review
Department of Computer Engineering, King Fahd University of Petroleum \& Minerals, Dhahran-31261, Saudi Arabia;Center for Communications;IT Research, Research Institute, King Fahd University of Petroleum \& Minerals, Dhahran-31261, Saudi Arabia
Eventor: An Efficient Event-Based Monocular Multi-View Stereo Accelerator on FPGA Platform
Beihang University(北京航空航天大学);Xidian University(西安电子科技大学);Beijing Real Imaging Medical Technology Co., Ltd.(北京真实影像医疗科技有限公司);The Chinese University of Hong Kong(香港中文大学)
eSLAM: An Energy-Efficient Accelerator for Real-Time ORB-SLAM on FPGA Platform
Beihang University(北京航空航天大学);Beijing Advanced Innovation Center for Big Data and Brain Computing, Beihang University(北京航空航天大学大数据与脑计算北京高级创新中心);Duke University(杜克大学)
同时定位与地图构建(SLAM)是实现自主导航的关键任务。然而,由于SLAM算法的计算复杂度,在低功耗平台上实现实时性非常困难(Oriented-FAST and Rotated- BRIEF)的视觉SLAM系统,在FPGA平台上加速了最耗时的特征提取和匹配阶段,原始ORB描述符模式被改造为旋转对称方式,这对硬件友好得多。进一步利用包括重新调度和并行化的优化来提高吞吐量并减少内存占用。与TUM数据集上的Intel i7和ARM Cortex-A9 CPU相比,我们的FPGA实现分别实现了高达3倍和31倍的帧速率提升,以及高达71倍和25倍的能效提升。
Auto-ViT-Acc: An FPGA-Aware Automatic Acceleration Framework for Vision Transformer with Mixed-Scheme Quantization
Northeastern University(东北大学);Simon Fraser University(西蒙弗雷泽大学);University of California, Irvine(加州大学欧文分校);ETH Zurich(苏黎世联邦理工学院);The University of Texas at Austin(德克萨斯大学奥斯汀分校)
视觉Transformer(ViT)正在出现,在计算机视觉任务中具有显著提高的准确性。然而,其复杂的体系结构和巨大的计算/存储需求迫切需要新的硬件加速器的设计方法。这项工作提出了一个FPGA感知的自动ViT加速框架的基础上提出的混合方案量化。据我们所知,这是第一个基于FPGA的ViT加速框架,探索模型量化。与最先进的ViT量化工作(算法方法,只有没有硬件加速)相比,我们的量化实现了0.47%至1.36%的高的Top-1精度在相同的位宽。与32位浮点基线FPGA加速器相比,我们的加速器的帧速率提高了约5.6倍(即,56.8 FPS vs. 10.0 FPS),DeiT-base在ImageNet数据集上的准确率下降了0.71%。