支持节能目标检测的权重聚类的尺度评估
At-Scale Evaluation of Weight Clustering to Enable Energy-Efficient Object Detection
摘要:
实现用于基于图像的目标检测的深度神经网络的加速器由于获取图像和神经网络参数而对大量数据进行操作,特别是如果它们需要处理视频流,因此需要高功耗和带宽要求来获取所有这些数据。虽然存在一些解决方案来减轻数据提取的功率和带宽需求,但它们通常在规模比目标应用小得多的有限评估的上下文中进行评估,这在实践中很难找到最佳权衡。本文建立了基础设施,以评估规模的关键功率和带宽优化-权重聚类-为你只看一次v3(YOLOv 3),基于神经网络的目标检测系统,使用视频的真实驾驶条件。我们的评估表明,加速器,如脉动阵列与输出固定架构变成了一个非常有效的解决方案结合权重聚类。特别地,每个神经网络层独立地应用权重聚类,并且使用32(5位)和256(8位)之间的权重允许实现接近原始YOLOv 3权重(32位权重)的精度。这种权重的比特数减少允许将带宽要求降低到原始要求的30%-40%,并将能耗降低到45%。这是基于以下事实:(i)由于乘法和累加操作而产生的能量比DRAM数据提取小得多,以及(ii)适当地设计加速器可以使得所提取的大部分数据对应于神经网络权重,其中可以应用聚类。总的来说,我们的大规模评估提供了关键结果,通过将真实应用程序(YOLOv 3)和真实驾驶视频放在一个统一的设置中,构建基于摄像头的目标检测加速器,从而使观察到的趋势可靠。
英文摘要:
Accelerators implementing Deep Neural Networks for image-based object detection operate on large volumes of data due to fetching images and neural network parameters, especially if they need to process video streams, hence with high power dissipation and bandwidth requirements to fetch all those data. While some solutions exist to mitigate power and bandwidth demands for data fetching, they are often assessed in the context of limited evaluations with a scale much smaller than that of the target application, which challenges finding the best tradeoff in practice. This paper sets up the infrastructure to assess at-scale a key power and bandwidth optimization - weight clustering - for You Only Look Once v3 (YOLOv3), a neural network-based object detection system, using videos of real driving conditions. Our assessment shows that accelerators such as systolic arrays with an Output Stationary architecture turn out to be a highly effective solution combined with weight clustering. In particular, applying weight clustering independently per neural network layer, and using between 32 (5-bit) and 256 (8-bit) weights allows achieving an accuracy close to that of the original YOLOv3 weights (32-bit weights). Such bit-count reduction of the weights allows shaving bandwidth requirements down to 30%-40% of the original requirements, and reduces energy consumption down to 45%. This is based on the fact that (i) energy due to multiply-and-accumulate operations is much smaller than DRAM data fetching, and (ii) designing accelerators appropriately may make that most of the data fetched corresponds to neural network weights, where clustering can be applied. Overall, our at-scale assessment provides key results to architect camera-based object detection accelerators by putting together a real-life application (YOLOv3), and real driving videos, in a unified setup so that trends observed are reliable.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。