ENOS:节能型网络运营商寻找混合数字和内存计算DNN加速器
ENOS: Energy-Aware Network Operator Search for Hybrid Digital and Compute-in-Memory DNN Accelerators
摘要:
这项工作提出了一种新的能量感知网络运营商搜索(ENOS)方法,以解决深度神经网络(DNN)加速器的能量准确性权衡。近年来,已经提出了新的推理算子来提高DNN的计算效率。通过对算子的扩充,探索了相应的新的计算模式。然而,DNN运算符的简化总是以较低的精度为代价,特别是在复杂的处理任务中。我们提出的ENOS框架允许推理算子和计算模式的最佳逐层集成,以实现所需的能量和精度的平衡。ENOS中的搜索被公式化为一个连续优化问题,可以使用典型的梯度下降方法求解,从而可以以最小的训练成本增加扩展到更大的DNN。我们在两种情况下表征ENOS。在第一种设置中,对于数字加速器,我们讨论了乘法累加(MAC)核心上的ENOS,这些核心可以重新配置为不同的运算符。讨论并比较了单目标和双目标的ENOS训练方法。我们还讨论了ENOS中的顺序操作符分配策略,该策略仅在一个训练步骤中学习一个层的分配,从而在收敛到最佳操作符分配时具有更大的灵活性。此外,根据贝叶斯原理,还提出了一种基于抽样的ENOS变分模式。ENOS在CIFAR10和CIFAR100上流行的DNN ShuffleNet和SqueezeNet上具有特征。
英文摘要:
This work proposes a novel Energy-Aware Network Operator Search (ENOS) approach to address the energy-accuracy trade-offs of a deep neural network (DNN) accelerator. In recent years, novel inference operators have been proposed to improve the computational efficiency of a DNN. Augmenting the operators, their corresponding novel computing modes have also been explored. However, simplification of DNN operators invariably comes at the cost of lower accuracy, especially on complex processing tasks. Our proposed ENOS framework allows an optimal layer-wise integration of inference operators and computing modes to achieve the desired balance of energy and accuracy. The search in ENOS is formulated as a continuous optimization problem, solvable using typical gradient descent methods, thereby scalable to larger DNNs with minimal increase in training cost. We characterize ENOS under two settings. In the first setting, for digital accelerators, we discuss ENOS on multiply-accumulate (MAC) cores that can be reconfigured to different operators. ENOS training methods with single and bi-level optimization objectives are discussed and compared. We also discuss a sequential operator assignment strategy in ENOS that only learns the assignment for one layer in one training step, enabling greater flexibility in converging towards the optimal operator allocations. Furthermore, following Bayesian principles, a sampling-based variational mode of ENOS is also presented. ENOS is characterized on popular DNNs ShuffleNet and SqueezeNet on CIFAR10 and CIFAR100.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。