arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.00286cs.CV
收藏

多GPU上基于能量的卷积神经网络优化

Energy-based Tuning of Convolutional Neural Networks on Multi-GPUs

University of Malaga(马拉加大学);University of Cordoba(科尔多瓦大学)

Francisco M. Castro, Nicolás Guil, Manuel J. Marín-Jiménez, Jesús Pérez-Serrano, Manuel Ujaldón

摘要:

深度学习(DL)应用在人工智能领域的发展势头越来越强劲,特别是在GPU表现出卓越的技能来加速其具有挑战性的计算需求之后。在这种情况下,卷积神经网络(CNN)模型构成了一个代表性的例子,成功的广泛的一组复杂的应用程序,特别是在数据集上的目标可以表示通过层次结构的本地功能的语义复杂性增加。在大多数真实场景中,改善结果的路线图依赖于涉及蛮力计算的CNN设置,研究人员最近证明Nvidia GPU是加速的最佳硬件对应物之一。我们的工作通过对CNN在旗舰图像和视频应用中部署的关键参数进行能量研究来补充这些发现:分别通过步态进行对象识别和人员识别。我们基于两个最流行的网络(ResNet/AlexNet)评估四个不同网络的能耗:ResNet(167层),2D CNN(15层),CaffeNet(25层)和ResNetIm(94层),使用批量大小为64,128和256,然后将这些与速度和准确性相关联,以确定最佳设置。在一台配备Maxwell和Pascal Titan X GPU的多GPU服务器上的实验结果表明,能量与性能相关,Pascal与Maxwell相比可能有高达40%的增益。更大的批量可以提高性能并节省能源,但我们必须关注准确性,这有时会显示出对小批量的偏好。我们希望这项工作能够为现代HPC时代的广泛CNN和DL应用提供初步指导,其中GFLOPS/w比率构成了主要目标。

英文摘要:

Deep Learning (DL) applications are gaining momentum in the realm of Artificial Intelligence, particularly after GPUs have demonstrated remarkable skills for accelerating their challenging computational requirements. Within this context, Convolutional Neural Network (CNN) models constitute a representative example of success on a wide set of complex applications, particularly on datasets where the target can be represented through a hierarchy of local features of increasing semantic complexity. In most of the real scenarios, the roadmap to improve results relies on CNN settings involving brute force computation, and researchers have lately proven Nvidia GPUs to be one of the best hardware counterparts for acceleration. Our work complements those findings with an energy study on critical parameters for the deployment of CNNs on flagship image and video applications: object recognition and people identification by gait, respectively. We evaluate energy consumption on four different networks based on the two most popular ones (ResNet/AlexNet): ResNet (167 layers), a 2D CNN (15 layers), a CaffeNet (25 layers) and a ResNetIm (94 layers) using batch sizes of 64, 128 and 256, and then correlate those with speed-up and accuracy to determine optimal settings. Experimental results on a multi-GPU server endowed with twin Maxwell and twin Pascal Titan X GPUs demonstrate that energy correlates with performance and that Pascal may have up to 40% gains versus Maxwell. Larger batch sizes extend performance gains and energy savings, but we have to keep an eye on accuracy, which sometimes shows a preference for small batches. We expect this work to provide a preliminary guidance for a wide set of CNN and DL applications in modern HPC times, where the GFLOPS/w ratio constitutes the primary goal.

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

↑