arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.04270cs.LGcs.CVcs.NE
收藏

EDropout:基于能量的深度神经网络丢弃和修剪

EDropout: Energy-Based Dropout and Pruning of Deep Neural Networks

University of Toronto(多伦多大学)

Hojjat Salehinejad, Shahrokh Valaee

摘要:

Dropout是一种众所周知的正则化方法,它从一个更大的深度神经网络中采样一个子网络,并在不同的数据子集上训练不同的子网络。受dropout概念的启发,我们提出EDropout作为一个基于能量的框架,用于在分类任务中修剪神经网络。在这种方法中,一组二进制修剪状态向量(种群)表示来自任意提供的原始神经网络的一组对应的子网络。能量损失函数为每个修剪状态分配标量能量损失值。基于能量的模型随机演化人口,以找到具有较低能量损失的状态。然后选择最佳修剪状态并应用于原始网络。与dropout类似,在概率模型中使用反向传播更新保留的权重。基于能量的模型再次搜索更好的修剪状态,并且循环连续。实际上,该过程实际上是在每次迭代中在管理修剪状态的能量模型和更新暂时未修剪的权重的概率模型之间切换。种群可以动态地收敛到剪枝状态。这可以被解释为导致修剪网络的dropout。从实现的角度来看,EDropout可以修剪典型的神经网络,而无需修改网络架构。我们在Kuzushiji,Fashion,CIFAR-10,CIFAR-100和Flowers数据集上对ResNets,AlexNet和SqueezeNet的不同风格进行了评估,并比较了模型的剪枝率和分类性能。平均而言,使用EDropout训练的网络实现了超过可训练参数的$50\%$的修剪率,分别具有近似$<5\%$和$<1\%$的Top-1和Top-5分类准确度下降。

英文摘要:

Dropout is a well-known regularization method by sampling a sub-network from a larger deep neural network and training different sub-networks on different subsets of the data. Inspired by the dropout concept, we propose EDropout as an energy-based framework for pruning neural networks in classification tasks. In this approach, a set of binary pruning state vectors (population) represents a set of corresponding sub-networks from an arbitrary provided original neural network. An energy loss function assigns a scalar energy loss value to each pruning state. The energy-based model stochastically evolves the population to find states with lower energy loss. The best pruning state is then selected and applied to the original network. Similar to dropout, the kept weights are updated using backpropagation in a probabilistic model. The energy-based model again searches for better pruning states and the cycle continuous. Indeed, this procedure is in fact switching between the energy model, which manages the pruning states, and the probabilistic model, which updates the temporarily unpruned weights, in each iteration. The population can dynamically converge to a pruning state. This can be interpreted as dropout leading to pruning the network. From an implementation perspective, EDropout can prune typical neural networks without modification of the network architecture. We evaluated the proposed method on different flavours of ResNets, AlexNet, and SqueezeNet on the Kuzushiji, Fashion, CIFAR-10, CIFAR-100, and Flowers datasets, and compared the pruning rate and classification performance of the models. On average the networks trained with EDropout achieved a pruning rate of more than $50\%$ of the trainable parameters with approximately $<5\%$ and $<1\%$ drop of Top-1 and Top-5 classification accuracy, respectively.

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

↑