arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.06435cs.LGcs.CVstat.ML
收藏

用于高效训练的动态神经网络通道执行

Dynamic Neural Network Channel Execution for Efficient Training

University of Cambridge(剑桥大学)

Simeon E. Spasov, Pietro Lio

摘要:

现有的用于减少神经网络在运行时的计算负担的方法,诸如参数修剪或动态计算路径选择,仅仅关注于在推理期间提高计算效率。另一方面,在这项工作中,我们提出了一种新的方法,减少了内存占用和训练和推理所需的计算操作的数量。我们的框架通过探索和跟踪卷积通道的相对重要性,有效地将修剪作为训练过程的一部分。在每个训练步骤中,我们只选择一个高度显著的通道的子集来根据组合置信上限算法执行,并只对这些激活的通道运行向前和向后传递,从而学习它们的参数。因此,我们能够有效地发现紧凑的模型。我们在最先进的CNN- VGGNet,ResNet和DenseNet以及几个图像分类数据集上经验性地验证了我们的方法。结果表明,我们的动态通道执行框架将计算成本降低了4倍,参数计数降低了9倍,从而降低了发现和训练紧凑神经网络模型的内存和计算需求。

英文摘要:

Existing methods for reducing the computational burden of neural networks at run-time, such as parameter pruning or dynamic computational path selection, focus solely on improving computational efficiency during inference. On the other hand, in this work, we propose a novel method which reduces the memory footprint and number of computing operations required for training and inference. Our framework efficiently integrates pruning as part of the training procedure by exploring and tracking the relative importance of convolutional channels. At each training step, we select only a subset of highly salient channels to execute according to the combinatorial upper confidence bound algorithm, and run a forward and backward pass only on these activated channels, hence learning their parameters. Consequently, we enable the efficient discovery of compact models. We validate our approach empirically on state-of-the-art CNNs - VGGNet, ResNet and DenseNet, and on several image classification datasets. Results demonstrate our framework for dynamic channel execution reduces computational cost up to 4x and parameter count up to 9x, thus reducing the memory and computational demands for discovering and training compact neural network models.

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

↑