arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1803.06905cs.LGstat.ML
收藏

TBD:深度神经网络训练的基准测试和分析

TBD: Benchmarking and Analyzing Deep Neural Network Training

University of Toronto(多伦多大学);Microsoft Research(微软研究院)

Hongyu Zhu, Mohamed Akrout, Bojian Zheng, Andrew Pelegris, Amar Phanishayee, Bianca Schroeder, Gennady Pekhimenko

摘要:

深度神经网络(DNN)最近的流行已经在有效地执行DNN相关计算方面产生了大量的研究兴趣。然而,主要焦点通常非常狭窄,并且仅限于(i)推理-即如何有效地执行已经训练的模型和(ii)图像分类网络作为评估的主要基准。我们在这项工作中的主要目标是通过以下方式打破这种短视的观点:(i)提出DNN训练的新基准,称为TBD(TBD是Training Benchmark for DNN的缩写),它使用了一组代表性的DNN模型,涵盖了广泛的机器学习应用:图像分类、机器翻译、语音识别、目标检测、对抗网络、强化学习以及(ii)通过在三个主要的深度学习框架(TensorFlow、MXNet、CNTK)上跨不同的硬件配置(单GPU、多GPU和多机器)对这些不同的应用程序进行广泛的性能分析。TBD目前涵盖六个主要的应用领域和八种不同的最先进的模型。我们为这些模型提供了一个新的性能分析工具链,该工具链结合了现有性能分析工具的有针对性的使用,仔细选择新的和现有的指标和方法来分析结果,并利用DNN训练的特定领域特征。我们还在所有三个主要框架中构建了一组新的内存分析工具;急需的工具最终可以精确地揭示DNN训练中不同数据结构(权重,激活,梯度,工作空间)消耗了多少内存。通过使用我们的工具和方法,我们提出了一些重要的意见和建议,未来的研究和优化DNN培训应该集中在哪里。

英文摘要:

The recent popularity of deep neural networks (DNNs) has generated a lot of research interest in performing DNN-related computation efficiently. However, the primary focus is usually very narrow and limited to (i) inference -- i.e. how to efficiently execute already trained models and (ii) image classification networks as the primary benchmark for evaluation. Our primary goal in this work is to break this myopic view by (i) proposing a new benchmark for DNN training, called TBD (TBD is short for Training Benchmark for DNNs), that uses a representative set of DNN models that cover a wide range of machine learning applications: image classification, machine translation, speech recognition, object detection, adversarial networks, reinforcement learning, and (ii) by performing an extensive performance analysis of training these different applications on three major deep learning frameworks (TensorFlow, MXNet, CNTK) across different hardware configurations (single-GPU, multi-GPU, and multi-machine). TBD currently covers six major application domains and eight different state-of-the-art models. We present a new toolchain for performance analysis for these models that combines the targeted usage of existing performance analysis tools, careful selection of new and existing metrics and methodologies to analyze the results, and utilization of domain specific characteristics of DNN training. We also build a new set of tools for memory profiling in all three major frameworks; much needed tools that can finally shed some light on precisely how much memory is consumed by different data structures (weights, activations, gradients, workspace) in DNN training. By using our tools and methodologies, we make several important observations and recommendations on where the future research and optimization of DNN training should be focused.

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

↑