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

包围知识引导的子网络搜索和滤波器修剪的微调

Ensemble Knowledge Guided Sub-network Search and Fine-tuning for Filter Pruning

Inha University(仁荷大学)

Seunghyun Lee, Byung Cheol Song

摘要:

传统的基于NAS的剪枝算法旨在找到具有最佳验证性能的子网络。但是,确认性能不能成功代表测试性能,即,潜力表现。此外,虽然微调修剪网络以恢复性能下降是一个不可避免的过程,但很少有研究处理这个问题。本文提出了一种新的包围知识引导(EKG),以解决这两个问题。首先,我们通过实验证明了损失景观的波动可以作为评估潜在性能的有效指标。为了以低成本搜索具有最平滑损失景观的子网络,我们采用EKG作为搜索奖励。用于以下搜索迭代的EKG由临时子网络的总体知识组成,即,子网络评估的副产品。接下来,我们重用EKG来为修剪后的网络提供温和而信息丰富的指导,同时微调修剪后的网络。由于EKG在两个阶段中都被实现为存储体,因此其需要的成本可以忽略不计。例如,当修剪和训练ResNet-50时,仅需要315个GPU小时就可以去除大约45.04%的FLOPS,而不会降低任何性能,即使在低规格的工作站上也可以运行。所实现的代码可在https://github.com/sseung0703/EKG上获得。

英文摘要:

Conventional NAS-based pruning algorithms aim to find the sub-network with the best validation performance. However, validation performance does not successfully represent test performance, i.e., potential performance. Also, although fine-tuning the pruned network to restore the performance drop is an inevitable process, few studies have handled this issue. This paper provides a novel Ensemble Knowledge Guidance (EKG) to solve both problems at once. First, we experimentally prove that the fluctuation of loss landscape can be an effective metric to evaluate the potential performance. In order to search a sub-network with the smoothest loss landscape at a low cost, we employ EKG as a search reward. EKG utilized for the following search iteration is composed of the ensemble knowledge of interim sub-networks, i.e., the by-products of the sub-network evaluation. Next, we reuse EKG to provide a gentle and informative guidance to the pruned network while fine-tuning the pruned network. Since EKG is implemented as a memory bank in both phases, it requires a negligible cost. For example, when pruning and training ResNet-50, just 315 GPU hours are required to remove around 45.04% of FLOPS without any performance degradation, which can operate even on a low-spec workstation. the implemented code is available at https://github.com/sseung0703/EKG.

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

↑