arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.00972cs.CVcs.AIcs.LGstat.ML
收藏

小集合网络加速:假设、理论与算法

Practical Network Acceleration with Tiny Sets: Hypothesis, Theory, and Algorithm

Nanjing University(南京大学)

Guo-Hua Wang, Jianxin Wu

摘要:

由于数据隐私问题,使用小型训练集加速网络已成为实践中的关键需求。以前的方法取得了可喜的成果经验过滤器级修剪。在本文中,我们都研究了这个问题的理论,并提出了一个有效的算法与我们的理论结果一致。首先,我们提出微调凸性假设来解释为什么最近的Few-Shot压缩算法不遭受过拟合问题。在此基础上,首次建立了解释这些方法的理论。与单纯地微调修剪后的网络相比,特征模仿被证明可以实现更低的参数方差,因此更容易优化。根据我们的理论结论,我们声称丢弃块在更凸的优化和更高的加速比方面是一种从根本上优越的Few-Shot压缩方案。为了选择丢弃哪些块,我们提出了一个新的度量标准,可恢复性,以有效地衡量恢复压缩网络的难度。最后,我们提出了一个名为PRACTISE的算法,仅使用微小的训练集来加速网络。PRACTISE的性能明显优于以前的方法。对于22%的延迟减少,它在ImageNet-1 k上平均超过了以前的方法7个百分点。它在无数据或域外数据设置下也能很好地工作。我们的代码在https://github.com/DoctorKey/Practise

英文摘要:

Due to data privacy issues, accelerating networks with tiny training sets has become a critical need in practice. Previous methods achieved promising results empirically by filter-level pruning. In this paper, we both study this problem theoretically and propose an effective algorithm aligning well with our theoretical results. First, we propose the finetune convexity hypothesis to explain why recent few-shot compression algorithms do not suffer from overfitting problems. Based on it, a theory is further established to explain these methods for the first time. Compared to naively finetuning a pruned network, feature mimicking is proved to achieve a lower variance of parameters and hence enjoys easier optimization. With our theoretical conclusions, we claim dropping blocks is a fundamentally superior few-shot compression scheme in terms of more convex optimization and a higher acceleration ratio. To choose which blocks to drop, we propose a new metric, recoverability, to effectively measure the difficulty of recovering the compressed network. Finally, we propose an algorithm named PRACTISE to accelerate networks using only tiny training sets. PRACTISE outperforms previous methods by a significant margin. For 22% latency reduction, it surpasses previous methods by on average 7 percentage points on ImageNet-1k. It also works well under data-free or out-of-domain data settings. Our code is at https://github.com/DoctorKey/Practise

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

↑