利用通用樣式集對卷積神經網路模型進行壓縮且具有硬體友善性之漸進式剪枝技術

Hardware-Friendly Progressive Pruning for CNN Model Compression using Universal Pattern Sets

檔案

日期

2021

類型

語言

英文

摘要

權重剪枝(Pruning)方法已被認為是卷積神經網路(CNN)模型壓縮技術中能在各種計算平台上實現加速的有效方法。前人所提出方法要應用到硬體上仍有些許問題,且選定的圖樣集(Pattern Set)僅適用於單一模型。而第一層卷積層相較其他層來的更敏感,需要特殊方法對其做處理。本篇論文所展示為針對硬體友善之適用於不同模型的通用樣式圖樣集挑選方式、為第一層卷積層設計的兩階段剪枝方法、及針對整體卷積神經網路之漸進式剪枝演算法。可應用於不同模型的通用圖樣集意謂對應之硬體能同時支援各式不同的模型。第一層卷積層的處理方式是將3x3卷積核心(Kernel)由通用圖樣集中的2個圖樣組合而成,並將第一層卷積層權重剪枝問題與其他層區別開來。漸進式剪枝演算法則能逐步將3x3卷積層剪枝成通用圖樣集中圖樣的形狀。經文獻調查後,本論文應該是全世界首先提出兩階段剪枝第一層卷積層概念之論文。本論文所提出之方法能有效地將模型中所有卷積核心剪枝成通用圖樣集中的圖樣,並能使剪枝過後的HarDNet-68神經網路模型於ImageNet資料集上之Top-1準確度損失落在0.45%之內並減少整體計算量達2.25倍。
Weight pruning for model compression on convolution neural networks (CNNs) has been considered an effective way to accelerate operations on various computing platforms. Previous studies still leave some issues during hardware implementation. In addition, the pattern set is selected model by model. Moreover, the first convolution layer is more sensitive to pruning than other layers, which needs special care when dealing with it. This thesis shows how to select a hardware-friendly universal pattern set generally suitable for different models, the two-staged pruning method for the first convolution layer, and the progressive pruning algorithm for an entire CNN model. The universal pattern set ensures a single hardware accelerator can support multiple different models. The processing method of the first convolution layer is to combine 2 patterns in the universal pattern set to form a 3x3 kernel, and hence, the pruning of the first layer is different from that of other layers. The progressive pruning algorithm gradually prunes 3x3 kernels into valid patterns selected in the universal pattern set. To the best of our knowledge, this thesis is the first one to propose the two-staged pruning method for the first layer in the world. The proposed work can effectively prune all 3x3 kernels using the universal pattern set. It keeps the Top-1 accuracy loss within 0.45% and achieves 2.25x reduction of computation when the HarDNet-68 is tested on the ImageNet dataset.

所屬典藏

電子研究所
顯示完整詮釋資料 統計資料

引用此條目

Chou, W.-C. (2021). Hardware-Friendly Progressive Pruning for CNN Model Compression using Universal Pattern Sets. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/79015

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/79015