arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.15100cs.LGeess.SPstat.ML
收藏

E2GC:深度神经网络中的能量有效群卷积

E2GC: Energy-efficient Group Convolution in Deep Neural Networks

IIT Hyderabad(印度理工学院海得拉巴分校)

Nandan Kumar Jha, Rajat Saini, Subhrajit Nag, Sparsh Mittal

摘要:

选择组卷积(GConv)中的组数($g$),以计算和参数高效的方式提高深度神经网络(DNN)的预测性能。然而,我们发现,天真的选择$g$在GConv创建之间的不平衡的计算复杂性和程度的数据重用,这导致次优的能源效率在DNN。我们设计了一个最佳组大小模型,该模型能够在计算成本和数据移动成本之间实现平衡,从而优化DNN的能量效率。基于此模型的见解,我们提出了一个“节能组卷积”(E2 GC)模块,与以前的GConv实现不同,组大小($G$)保持不变。此外,为了证明E2 GC模块的有效性,我们将此模块纳入MobileNet-V1和ResNeXt-50的设计中,并在两个GPU P100和P4000上进行实验。我们表明,在相当的计算复杂性,具有恒定组大小(E2 GC)的DNN比具有固定组数(F $g$ GC)的DNN更节能。例如,在P100 GPU上,当E2 GC模块替代两个DNN中的F $g$ GC模块时,MobileNet-V1和ResNeXt-50的能量效率分别提高了10.8%和4.73%。此外,通过我们对ImageNet-1 K和Food-101图像分类数据集的广泛实验,我们证明了E2 GC模块能够在DNN的泛化能力和表示能力之间进行权衡。因此,可以通过选择适当的$G$来优化DNN的预测性能。代码和训练模型可在https://github.com/iithcandle/E2GC-release上获得。

英文摘要:

The number of groups ($g$) in group convolution (GConv) is selected to boost the predictive performance of deep neural networks (DNNs) in a compute and parameter efficient manner. However, we show that naive selection of $g$ in GConv creates an imbalance between the computational complexity and degree of data reuse, which leads to suboptimal energy efficiency in DNNs. We devise an optimum group size model, which enables a balance between computational cost and data movement cost, thus, optimize the energy-efficiency of DNNs. Based on the insights from this model, we propose an "energy-efficient group convolution" (E2GC) module where, unlike the previous implementations of GConv, the group size ($G$) remains constant. Further, to demonstrate the efficacy of the E2GC module, we incorporate this module in the design of MobileNet-V1 and ResNeXt-50 and perform experiments on two GPUs, P100 and P4000. We show that, at comparable computational complexity, DNNs with constant group size (E2GC) are more energy-efficient than DNNs with a fixed number of groups (F$g$GC). For example, on P100 GPU, the energy-efficiency of MobileNet-V1 and ResNeXt-50 is increased by 10.8% and 4.73% (respectively) when E2GC modules substitute the F$g$GC modules in both the DNNs. Furthermore, through our extensive experimentation with ImageNet-1K and Food-101 image classification datasets, we show that the E2GC module enables a trade-off between generalization ability and representational power of DNN. Thus, the predictive performance of DNNs can be optimized by selecting an appropriate $G$. The code and trained models are available at https://github.com/iithcandle/E2GC-release.

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

↑