중요도 의존성을 기반으로 한 다기준 채널 프루닝
Channel Pruning via Multi-Criteria based on Weight Dependency
Channel Pruning via Multi-Criteria based on Weight Dependency
@misc{yan2020channel,
title = {Channel Pruning via Multi-Criteria based on Weight Dependency},
author = {Yangchun Yan and Rongzuo Guo and Chao Li and Kang Yang and Yongjun Xu},
year = {2020},
eprint = {2011.03240},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2011.03240}
}
Yan, Y., Guo, R., Li, C., Yang, K., & Xu, Y. (2020). Channel Pruning via Multi-Criteria based on Weight Dependency [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.03240
YAN Y, GUO R, LI C, et al. Channel Pruning via Multi-Criteria based on Weight Dependency[EB/OL]. (2020-11-06)[2026-11-30]. https://arxiv.org/abs/2011.03240.
초록
채널 프루닝은 ConvNets 압축의 효과성을 입증해 왔습니다. 관련 연구들에서 출력 피처 맵의 중요성은 주로 해당 필터와 연관된 가중치 값으로만 결정되지만, 이러한 방법들은 피처 맵이 제거됨에 따라 사라지는 다음 레이어의 일부 가중치를 간과합니다. 이는 가중치 의존성 (weight dependency) 현상을 무시하는 것입니다. 또한, 많은 프루닝 방법은 평가에 단일 기준만을 사용하며, 프루닝 구조와 정확도 사이의 최적점을 시행착오 방식으로 찾음으로써 시간이 많이 소요됩니다. 본 논문에서는 가중치 의존성을 기반으로 다중 기준을 적용한 채널 프루닝 알고리즘인 CPMC 를 제안합니다. CPMC 는 사전 학습된 모델을 직접 압축할 수 있습니다. CPMC 는 연관된 가중치 값, 계산 비용, 파라미터 수를 포함하여 채널 중요성을 세 가지 측면에서 정의합니다. 가중치 의존성 현상에 따라 CPMC 는 해당 필터와 대응하는 다음 레이어의 부분 가중치를 평가하여 채널 중요도를 산출합니다. 이후 CPMC 는 전역 정규화를 통해 층 간 비교를 수행합니다. 마지막으로 CPMC 는 전역 순위 (global ranking) 를 통해 덜 중요한 채널을 제거합니다. CPMC 는 VGGNet, ResNet, DenseNet 등 다양한 CNN 모델을 이미지 분류 데이터셋에서 효과적으로 압축할 수 있습니다. 광범위한 실험 결과, CPMC 는 기존 방법들보다 현저히 우수한 성능을 보였습니다.
Channel pruning has demonstrated its effectiveness in compressing ConvNets. In many related arts, the importance of an output feature map is only determined by its associated filter. However, these methods ignore a small part of weights in the next layer which disappears as the feature map is removed. They ignore the phenomenon of weight dependency. Besides, many pruning methods use only one criterion for evaluation and find a sweet spot of pruning structure and accuracy in a trial-and-error fashion, which can be time-consuming. In this paper, we proposed a channel pruning algorithm via multi-criteria based on weight dependency, CPMC, which can compress a pre-trained model directly. CPMC defines channel importance in three aspects, including its associated weight value, computational cost, and parameter quantity. According to the phenomenon of weight dependency, CPMC gets channel importance by assessing its associated filter and the corresponding partial weights in the next layer. Then CPMC uses global normalization to achieve cross-layer comparison. Finally, CPMC removes less important channels by global ranking. CPMC can compress various CNN models, including VGGNet, ResNet, and DenseNet on various image classification datasets. Extensive experiments have shown CPMC outperforms the others significantly.