GHFP: 점진적 하드 필터 가지치기
GHFP: Gradually Hard Filter Pruning
GHFP: Gradually Hard Filter Pruning
@misc{cai2020ghfp,
title = {GHFP: Gradually Hard Filter Pruning},
author = {Linhang Cai and Zhulin An and Yongjun Xu},
year = {2020},
eprint = {2011.03170},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2011.03170}
}
Cai, L., An, Z., & Xu, Y. (2020). GHFP: Gradually Hard Filter Pruning [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.03170
CAI L, AN Z, XU Y. GHFP: Gradually Hard Filter Pruning[EB/OL]. (2020-11-06)[2026-11-30]. https://arxiv.org/abs/2011.03170.
초록
필터 가지치기는 딥러닝의 계산량을 줄여 자원 제한된 장치에 딥 뉴럴 네트워크 (DNN) 를 배포할 수 있게 하는 데 널리 사용된다. 기존의 하드 필터 가지치기 (HFP) 방법은 가지친 필터를 0 으로 설정하고 업데이트를 중단함으로써 모델의 탐색 공간을 축소한다. 반면, 소프트 필터 가지치기 (SFP) 는 가지친 필터를 0 으로 설정하되 후속 학습 에피소드 동안 계속 업데이트함으로써 네트워크의 용량을 유지한다. 그러나 SFP 와 그 변형들은 더 큰 탐색 공간 때문에 HFP 보다 수렴 속도가 현저히 느리다. 본 연구의 질문은 SFP 기반 방법과 HFP 를 결합하여 더 나은 성능을 달성하고 수렴 속도를 가속화할 수 있는가이다. 먼저, SFP 기반 방법과 HFP 를 일반화하여 그 특성을 분석한다. 그 후, 훈련 및 가지치기 과정에서 SFP 기반 방법에서 HFP 로 부드럽게 전환하는 점진적 하드 필터 가지치기 (GHFP) 방법을 제안한다. 이를 통해 초기에는 큰 탐색 공간을 유지한 후 점진적으로 모델의 용량을 감소시켜 적절한 수렴 속도를 확보한다. CIFAR-10/100 실험 결과, 본 방법은 최상위 성능 (state-of-the-art) 을 달성함을 보였다.
Filter pruning is widely used to reduce the computation of deep learning, enabling the deployment of Deep Neural Networks (DNNs) in resource-limited devices. Conventional Hard Filter Pruning (HFP) method zeroizes pruned filters and stops updating them, thus reducing the search space of the model. On the contrary, Soft Filter Pruning (SFP) simply zeroizes pruned filters, keeping updating them in the following training epochs, thus maintaining the capacity of the network. However, SFP, together with its variants, converges much slower than HFP due to its larger search space. Our question is whether SFP-based methods and HFP can be combined to achieve better performance and speed up convergence. Firstly, we generalize SFP-based methods and HFP to analyze their characteristics. Then we propose a Gradually Hard Filter Pruning (GHFP) method to smoothly switch from SFP-based methods to HFP during training and pruning, thus maintaining a large search space at first, gradually reducing the capacity of the model to ensure a moderate convergence speed. Experimental results on CIFAR-10/100 show that our method achieves the state-of-the-art performance.