arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1807.10585cs.CV
收藏

网络压缩中的过滤蒸馏

Filter Distillation for Network Compression

Apple(苹果公司)

Xavier Suau, Luca Zappella, Nicholas Apostoloff

摘要:

在本文中,我们介绍了主滤波器分析(PFA),一个易于使用和有效的方法来压缩神经网络。PFA利用网络层内滤波器响应之间的相关性,推荐一个尽可能保持完整模型准确性的较小网络。我们提出了两个算法:第一种允许用户将压缩目标定在特定的网络属性(例如可训练变量(足迹)的数量),并且产生满足所请求的属性的压缩模型,同时在每层的响应中保留最大量的频谱能量,而第二种是无参数的试探法,其通过试图模仿不相关响应的理想集合来选择在每层处使用的压缩。由于PFA根据网络响应的相关性来压缩网络,因此我们在实验中表明,它在压缩时获得了使每个架构适应特定域的额外灵活性。PFA针对几种架构和数据集进行了评估,并显示出相当大的压缩率而不影响准确性,例如,对于CIFAR-10、CIFAR-100和ImageNet上的VGG-16,PFA实现了8倍、3倍和1.4倍的压缩率,准确率分别提高了0.4%、1.4%和2.4%。我们的测试表明,PFA与最先进的方法相比具有竞争力,同时由于其实用的实施,直观的理念和易用性,消除了采用障碍。

英文摘要:

In this paper we introduce Principal Filter Analysis (PFA), an easy to use and effective method for neural network compression. PFA exploits the correlation between filter responses within network layers to recommend a smaller network that maintain as much as possible the accuracy of the full model. We propose two algorithms: the first allows users to target compression to specific network property, such as number of trainable variable (footprint), and produces a compressed model that satisfies the requested property while preserving the maximum amount of spectral energy in the responses of each layer, while the second is a parameter-free heuristic that selects the compression used at each layer by trying to mimic an ideal set of uncorrelated responses. Since PFA compresses networks based on the correlation of their responses we show in our experiments that it gains the additional flexibility of adapting each architecture to a specific domain while compressing. PFA is evaluated against several architectures and datasets, and shows considerable compression rates without compromising accuracy, e.g., for VGG-16 on CIFAR-10, CIFAR-100 and ImageNet, PFA achieves a compression rate of 8x, 3x, and 1.4x with an accuracy gain of 0.4%, 1.4% points, and 2.4% respectively. Our tests show that PFA is competitive with state-of-the-art approaches while removing adoption barriers thanks to its practical implementation, intuitive philosophy and ease of use.

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

↑