一种用于深度学习能耗缩放定律的晶体管操作模型
A Transistor Operations Model for Deep Learning Energy Consumption Scaling Law
摘要:
深度学习(DL)已经改变了许多行业的自动化,并在社会中越来越普遍。DL模型的高度复杂性及其广泛采用导致全球能源消耗每3-4个月翻一番。目前,DL模型配置与能耗之间的关系尚未建立。在一般计算能量模型级别,存在对硬件架构(例如,具有内部组件(CPU和GPU)的不同配置的通用处理器、可编程集成电路(FPGA))以及不同的交互能量消耗方面(例如,数据移动、计算、控制)。在DL模型级别,我们需要将非线性激活函数及其与数据的交互转换为计算任务。目前的方法主要是线性化非线性DL模型,以近似其理论FLOP和MAC作为能源消耗的代理。这是不正确的()。93\%的准确度),这是由于例如许多卷积神经网络(CNN)的高度非线性性质。在本文中,我们开发了一个底层的晶体管操作(TO)的方法来揭示的非线性激活函数和神经网络结构中的能量消耗的作用。我们将一系列前馈和CNN模型转换为ALU计算任务,然后转换为TO步骤。然后,通过针对不同硬件配置和数据集的回归模型,将其与实际能耗值进行统计关联。我们表明,我们提出的TOs方法可以达到93.61% - 99.51%的精度预测其能源消耗。
英文摘要:
Deep Learning (DL) has transformed the automation of a wide range of industries and finds increasing ubiquity in society. The high complexity of DL models and its widespread adoption has led to global energy consumption doubling every 3-4 months. Currently, the relationship between the DL model configuration and energy consumption is not well established. At a general computational energy model level, there is both strong dependency to both the hardware architecture (e.g. generic processors with different configuration of inner components- CPU and GPU, programmable integrated circuits - FPGA), as well as different interacting energy consumption aspects (e.g., data movement, calculation, control). At the DL model level, we need to translate non-linear activation functions and its interaction with data into calculation tasks. Current methods mainly linearize nonlinear DL models to approximate its theoretical FLOPs and MACs as a proxy for energy consumption. Yet, this is inaccurate (est. 93\% accuracy) due to the highly nonlinear nature of many convolutional neural networks (CNNs) for example. In this paper, we develop a bottom-level Transistor Operations (TOs) method to expose the role of non-linear activation functions and neural network structure in energy consumption. We translate a range of feedforward and CNN models into ALU calculation tasks and then TO steps. This is then statistically linked to real energy consumption values via a regression model for different hardware configurations and data sets. We show that our proposed TOs method can achieve a 93.61% - 99.51% precision in predicting its energy consumption.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。