arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.08532cs.CV
收藏

一种受信息论启发的自动网络剪枝策略

An Information Theory-inspired Strategy for Automatic Network Pruning

Media Analytics and Computing Lab, Department of Artificial Intelligence, School of Informatics, Xiamen, China(厦门大学信息学院人工智能系媒体分析与计算实验室);Department of Computer Vision Technology (VIS), Baidu Inc, Beijing, China(百度公司计算机视觉技术部);National Engineering Laboratory for Video Technology (NELVT), School of Electronics Engineering and Computer Science, Beijing, China(北京航空航天大学电子信息与计算机科学学院视频技术国家工程实验室)

Xiawu Zheng, Yuexiao Ma, Teng Xi, Gang Zhang, Errui Ding, Yuchao Li, Jie Chen, Yonghong Tian, Rongrong Ji

AI总结:

该研究提出一种受信息论启发的自动网络剪枝策略,以nHSIC作为层重要性指标,将架构搜索转化为带二次约束的线性规划快速求解,在无需搜索的情况下实现了更优的模型压缩权衡。

摘要:

尽管深度卷积神经网络在众多计算机视觉任务中表现优异,但众所周知,这类网络需要在资源受限的设备上进行压缩。现有大多数网络剪枝方法需要耗费大量人力与极高的计算资源,尤其是在约束条件发生变化时,这在实际中限制了模型压缩在需部署于多类设备场景下的应用。此外,现有方法仍面临缺乏理论指导的挑战。本文提出了一种受信息论启发的自动模型压缩策略,其核心原理源于信息瓶颈理论,即隐藏表征应相互压缩信息。我们引入了针对网络激活的归一化希尔伯特-施密特独立性准则(nHSIC),作为衡量层重要性的稳定且通用的指标。当给定特定资源约束时,我们将HSIC指标与约束相结合,把架构搜索问题转化为带二次约束的线性规划问题,该问题可通过凸优化方法在数秒内轻松求解。我们还提供了严格的证明,揭示优化归一化HSIC可同时最小化不同层之间的互信息。无需任何搜索过程,我们的方法与现有最优压缩算法相比,实现了更优的压缩权衡。例如,针对ResNet-50,我们实现了45.3%的浮点运算量(FLOPs)削减,在ImageNet上的top-1准确率达到75.75%。代码可在https://github.com/MAC-AutoML/ITPruner/tree/master获取。

英文摘要:

Despite superior performance on many computer vision tasks, deep convolution neural networks are well known to be compressed on devices that have resource constraints. Most existing network pruning methods require laborious human efforts and prohibitive computation resources, especially when the constraints are changed. This practically limits the application of model compression when the model needs to be deployed on a wide range of devices. Besides, existing methods are still challenged by the missing theoretical guidance. In this paper we propose an information theory-inspired strategy for automatic model compression. The principle behind our method is the information bottleneck theory, i.e., the hidden representation should compress information with each other. We thus introduce the normalized Hilbert-Schmidt Independence Criterion (nHSIC) on network activations as a stable and generalized indicator of layer importance. When a certain resource constraint is given, we integrate the HSIC indicator with the constraint to transform the architecture search problem into a linear programming problem with quadratic constraints. Such a problem is easily solved by a convex optimization method with a few seconds. We also provide a rigorous proof to reveal that optimizing the normalized HSIC simultaneously minimizes the mutual information between different layers. Without any search process, our method achieves better compression tradeoffs comparing to the state-of-the-art compression algorithms. For instance, with ResNet-50, we achieve a 45.3%-FLOPs reduction, with a 75.75 top-1 accuracy on ImageNet. Codes are avaliable at https://github.com/MAC-AutoML/ITPruner/tree/master.

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

↑