ViP:用于加速基于CNN的图像分类和目标检测的虚拟池
ViP: Virtual Pooling for Accelerating CNN-based Image Classification and Object Detection
摘要:
近年来,卷积神经网络(CNN)在视觉学习任务中表现出了优越的能力。虽然精确的CNN提供了前所未有的性能,但对于现代计算机系统来说,它们也是计算密集型的,并且需要能量。在本文中,我们提出了虚拟池(VIP),模型级的方法,以提高基于CNN的图像分类和目标检测任务的速度和能耗,具有可证明的错误界。我们通过对四个CNN模型、三个代表性数据集(桌面和移动平台)以及两个视觉学习任务(即,图像分类和目标检测。例如,在VGG-16上的ImageNet分类中,ViP提供了2.1倍的加速,准确度下降不到1.5%,在使用Faster-RCNN的PASCAL VOC目标检测中,速度提高了1.8倍,下降了0.025 mAP。ViP还将移动GPU和CPU能耗分别降低了55%和70%。作为现有加速方法的补充方法,ViP在ThiNet上实现了1.9倍的加速,从而在VGG-16上实现了5.23倍的综合加速。此外,ViP为机器学习从业者提供了一个旋钮,以生成一组CNN模型,这些模型在系统速度/能耗和准确性之间具有不同的权衡,以更好地适应其任务的要求。代码可在https://github.com/cmu-enyac/VirtualPooling上获得。
英文摘要:
In recent years, Convolutional Neural Networks (CNNs) have shown superior capability in visual learning tasks. While accuracy-wise CNNs provide unprecedented performance, they are also known to be computationally intensive and energy demanding for modern computer systems. In this paper, we propose Virtual Pooling (ViP), a model-level approach to improve speed and energy consumption of CNN-based image classification and object detection tasks, with a provable error bound. We show the efficacy of ViP through experiments on four CNN models, three representative datasets, both desktop and mobile platforms, and two visual learning tasks, i.e., image classification and object detection. For example, ViP delivers 2.1x speedup with less than 1.5% accuracy degradation in ImageNet classification on VGG-16, and 1.8x speedup with 0.025 mAP degradation in PASCAL VOC object detection with Faster-RCNN. ViP also reduces mobile GPU and CPU energy consumption by up to 55% and 70%, respectively. As a complementary method to existing acceleration approaches, ViP achieves 1.9x speedup on ThiNet leading to a combined speedup of 5.23x on VGG-16. Furthermore, ViP provides a knob for machine learning practitioners to generate a set of CNN models with varying trade-offs between system speed/energy consumption and accuracy to better accommodate the requirements of their tasks. Code is available at https://github.com/cmu-enyac/VirtualPooling.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。