深度神经网络(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.
Nanyang Technological University(南洋理工大学);University of Cambridge(剑桥大学);Loyola Marymount University(洛约拉马利蒙特大学);Mila(米拉人工智能研究所);University of Montréal(蒙特利尔大学);National University of Singapore(新加坡国立大学)
Theory-inspired Parameter Control Benchmarks for Dynamic Algorithm Configuration
University of Freiburg(弗赖堡大学);University of St Andrews(圣安德鲁斯大学);Sorbonne Université(索邦大学);CNRS(法国国家科学研究中心);Bosch Center for Artificial Intelligence(博世人工智能中心)
Benchmarking Differentially Private Residual Networks for Medical Imagery
OpenMined;Manifold Computing Group(曼尼福德计算集团);Ford R&A(福特研发部门);Harvard University(哈佛大学);Indian Institute of Technology Jodhpur(印度理工学院焦特布尔分校);University of Oxford(牛津大学)
Benchmarking and Analyzing In-context Learning, Fine-tuning and Supervised Learning for Biomedical Knowledge Curation: a focused study on chemical entities of biological interest
Institute of Health Informatics(健康信息学研究所);University College London(伦敦大学学院)
ChaosNetBench: Benchmarking Spatio-Temporal Graph Neural Networks on Chaotic Lattice Dynamics
Centre for Artificial Intelligence Research (CAIR)(人工智能研究中心(CAIR));University of Cape Town(开普敦大学);Nonlinear Dynamics and Chaos Group(非线性动力学与混沌组);Department of Mathematics and Applied Mathematics(数学与应用数学系)
OmniOpt: Taxonomy, Geometry, and Benchmarking of Modern Optimizers
Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Shanghai University(上海大学);Westlake University(西湖大学);Shanghai Jiao Tong University(上海交通大学);UCAS(中国科学技术大学);Zhejiang University(浙江大学);Southern University of Science and Technology(南方科技大学)
AIMeter: Measuring, Analyzing, and Visualizing Energy and Carbon Footprint of AI Workloads
The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));National University of Defense Technology(国防科技大学);University of Victoria(维多利亚大学)