GDP:基于可微分极化门的稳定神经网络剪枝
GDP: Stabilized Neural Network Pruning via Gates with Differentiable Polarization
摘要:
模型压缩技术最近获得了爆炸性的关注,以获得各种实时应用的有效AI模型。信道修剪是一种重要的压缩策略,广泛用于精简各种DNN。以前的基于门或基于重要性的修剪方法旨在去除重要性最小的通道。然而,目前还不清楚什么标准的渠道重要性应衡量,导致各种渠道选择的技巧。其他一些基于采样的剪枝方法使用采样策略来训练子网,这通常会导致训练不稳定和压缩模型的性能下降。鉴于研究的空白,我们提出了一个新的模块命名为门微分极化(GDP),启发原则优化思想。GDP可以插在卷积层之前,而无需花里胡哨,以控制每个通道或整个层块的开和关。在训练过程中,极化效应将驱动一部分门平滑地下降到精确的零,而其他门逐渐远离零。当训练终止时,这些零门控通道可以被无痛地移除,而其他非零门可以被吸收到后续的卷积核中,完全不会中断训练,也不会损坏训练模型。在CIFAR-10和ImageNet数据集上进行的实验表明,所提出的GDP算法在各种基准DNN上以广泛的修剪比率实现了最先进的性能。我们还将GDP应用于具有挑战性的Pascal VOC分割任务的DeepLabV 3 Plus-ResNet 50,其测试性能没有下降(甚至略有改善),节省了超过60%的FLOP。
英文摘要:
Model compression techniques are recently gaining explosive attention for obtaining efficient AI models for various real-time applications. Channel pruning is one important compression strategy and is widely used in slimming various DNNs. Previous gate-based or importance-based pruning methods aim to remove channels whose importance is smallest. However, it remains unclear what criteria the channel importance should be measured on, leading to various channel selection heuristics. Some other sampling-based pruning methods deploy sampling strategies to train sub-nets, which often causes the training instability and the compressed model's degraded performance. In view of the research gaps, we present a new module named Gates with Differentiable Polarization (GDP), inspired by principled optimization ideas. GDP can be plugged before convolutional layers without bells and whistles, to control the on-and-off of each channel or whole layer block. During the training process, the polarization effect will drive a subset of gates to smoothly decrease to exact zero, while other gates gradually stay away from zero by a large margin. When training terminates, those zero-gated channels can be painlessly removed, while other non-zero gates can be absorbed into the succeeding convolution kernel, causing completely no interruption to training nor damage to the trained model. Experiments conducted over CIFAR-10 and ImageNet datasets show that the proposed GDP algorithm achieves the state-of-the-art performance on various benchmark DNNs at a broad range of pruning ratios. We also apply GDP to DeepLabV3Plus-ResNet50 on the challenging Pascal VOC segmentation task, whose test performance sees no drop (even slightly improved) with over 60% FLOPs saving.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。