arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.05476cs.LGstat.ML
收藏

硬件感知机器学习:建模与优化

Hardware-Aware Machine Learning: Modeling and Optimization

Carnegie Mellon University(卡内基梅隆大学)

Diana Marculescu, Dimitrios Stamoulis, Ermao Cai

摘要:

深度学习(DL)应用的最新突破使DL模型成为几乎所有现代计算系统中的关键组件。部署在各种平台上的DL应用的日益普及导致了与硬件本身引入的约束相关的过多设计挑战。深度神经网络(DNN)进行推理的延迟或能量成本是多少?在训练模型之前,是否有可能预测这种延迟或能量消耗?如果是,机器学习者如何利用这些模型来设计硬件最佳的DNN部署?从延长移动设备的电池寿命到降低在云中执行的DL模型的运行时要求,这些问题的答案引起了人们的极大关注。没有正确建模的东西是无法优化的。因此,重要的是要了解DL模型在服务期间的硬件效率,以便进行推理,甚至在训练模型之前。这一关键观察结果促使人们使用预测模型来捕获DL应用程序的硬件性能或能效。此外,DL从业者面临着设计DNN模型的任务,即,调整DNN架构的超参数,同时优化DL模型的准确性及其硬件效率。因此,现有技术的方法已经提出了硬件感知的超参数优化技术。在本文中,我们提供了一个全面的评估国家的最先进的工作和选择结果的硬件感知建模和优化DL应用程序。我们还强调了几个悬而未决的问题,这些问题将在未来几年内产生新的硬件感知设计,因为DL应用程序将继续显著影响相关的硬件系统和平台。

英文摘要:

Recent breakthroughs in Deep Learning (DL) applications have made DL models a key component in almost every modern computing system. The increased popularity of DL applications deployed on a wide-spectrum of platforms have resulted in a plethora of design challenges related to the constraints introduced by the hardware itself. What is the latency or energy cost for an inference made by a Deep Neural Network (DNN)? Is it possible to predict this latency or energy consumption before a model is trained? If yes, how can machine learners take advantage of these models to design the hardware-optimal DNN for deployment? From lengthening battery life of mobile devices to reducing the runtime requirements of DL models executing in the cloud, the answers to these questions have drawn significant attention. One cannot optimize what isn't properly modeled. Therefore, it is important to understand the hardware efficiency of DL models during serving for making an inference, before even training the model. This key observation has motivated the use of predictive models to capture the hardware performance or energy efficiency of DL applications. Furthermore, DL practitioners are challenged with the task of designing the DNN model, i.e., of tuning the hyper-parameters of the DNN architecture, while optimizing for both accuracy of the DL model and its hardware efficiency. Therefore, state-of-the-art methodologies have proposed hardware-aware hyper-parameter optimization techniques. In this paper, we provide a comprehensive assessment of state-of-the-art work and selected results on the hardware-aware modeling and optimization for DL applications. We also highlight several open questions that are poised to give rise to novel hardware-aware designs in the next few years, as DL applications continue to significantly impact associated hardware systems and platforms.

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

↑