摘要
针对卷积神经网络计算硬件化实现困难的问题,之前大部分卷积神经网络加速器的设计都集中于解决计算性能和带宽瓶颈,忽视了卷积神经网络稀疏性对加速器设计的重要意义,近来少量的能够利用稀疏性的卷积神经网络加速器设计也往往难以同时兼顾计算灵活度、并行效率和资源开销。本文首先比较了不同并行展开方式对利用稀疏性的影响,分析了利用稀疏性的不同方法,然后提出了一种能够利用激活稀疏性加速卷积神经网络计算的同时,相比于同领域其他设计,并行效率更高、额外资源开销更小的并行展开方法,最后完成了这种卷积神经网络加速器的设计并在FPGA上实现。研究结果表明:运行VGG-16网络,在ImageNet数据集下,该并行展开方法实现的稀疏卷积神经网络加速器和使用相同器件的稠密网络设计相比,卷积性能提升了108.8%,整体性能提升了164.6%,具有明显的性能优势。
To address the difficulty experienced by convolutional neural networks(CNNs)in computing hardware implementation,most previous designs of convolutional neural network accelerators have focused on solving the computation performance and bandwidth bottlenecks,while ignoring the importance of CNN sparsity to accelerator design.Recently,it has often been difficult to simultaneously achieve computational flexibility,parallel efficiency,and resource overhead using the small number of CNN accelerator designs capable of utilizing sparsity.In this paper,we first analyze the effects of different parallel expansion methods on the use of sparsity,analyze different methods that utilize sparsity,and then propose a parallel expansion method that can accelerate CNNs with activated sparsity to achieve higher parallelism efficiency and lower additional resource cost,as compared with other designs.Lastly,we complete the design of this CNN accelerator and implemented it on FPGA.The results show that compared with a dense network design using the same device,the acceleration performance of the VGG-16 network was increased by 108.8%and its overall performance was improved by 164.6%,which has obvious performance advantages.
作者
余成宇
李志远
毛文宇
鲁华祥
YU Chengyu;LI Zhiyuan;MAO Wenyu;LU Huaxiang(Institute of Semiconductors,Chinese Academy of Sciences,Beijing 100083,China;University of Chinese Academy of Sciences,Beijing 100089,China;Center for Excellence in Brain Science and Intelligence Technology,Chinese Academy of Sciences,Shanghai 200031,China;Semiconductor Neural Network Intelligent Perception and Computing Technology Beijing Key Lab,Beijing 100083,China)
出处
《智能系统学报》
CSCD
北大核心
2020年第2期323-333,共11页
CAAI Transactions on Intelligent Systems
基金
国家自然科学基金项目(61701473)
中国科学院STS计划项目(KFJ-STS-ZDTP-070)
中国科学院国防科技创新基金项目(CXJJ-17-M152)
中国科学院战略性先导科技专项(A类)(XDA18040400)
北京市科技计划项目(Z181100001518006)。