[論文レビュー] DBP: Discrimination Based Block-Level Pruning for Deep Model Acceleration
本稿では、出力特徴の識別度に基づいて冗長なブロック(例:Conv-BN-ReLU シーケンス)を削除することで、深層畳み込みニューラルネットワーク(CNN)の推論を高速化する、差別度に基づくブロックレベルの pruning 法である DBP を提案する。個々のフィルターよりもブロック全体を pruning することで、フィルターレベルの pruning よりも高い推論加速を達成し、CIFAR-10 および CIFAR-100 における ResNet および DenseNet において、精度と速度の両面で最先端の手法を上回る性能を発揮する。
Neural network pruning is one of the most popular methods of accelerating the inference of deep convolutional neural networks (CNNs). The dominant pruning methods, filter-level pruning methods, evaluate their performance through the reduction ratio of computations and deem that a higher reduction ratio of computations is equivalent to a higher acceleration ratio in terms of inference time. However, we argue that they are not equivalent if parallel computing is considered. Given that filter-level pruning only prunes filters in layers and computations in a layer usually run in parallel, most computations reduced by filter-level pruning usually run in parallel with the un-reduced ones. Thus, the acceleration ratio of filter-level pruning is limited. To get a higher acceleration ratio, it is better to prune redundant layers because computations of different layers cannot run in parallel. In this paper, we propose our Discrimination based Block-level Pruning method (DBP). Specifically, DBP takes a sequence of consecutive layers (e.g., Conv-BN-ReLu) as a block and removes redundant blocks according to the discrimination of their output features. As a result, DBP achieves a considerable acceleration ratio by reducing the depth of CNNs. Extensive experiments show that DBP has surpassed state-of-the-art filter-level pruning methods in both accuracy and acceleration ratio. Our code will be made available soon.
研究の動機と目的
- 畳み込みニューラルネットワークの層における並列計算の影響により、フィルターレベルの pruning では加速比が限定的であるという問題に取り組む。
- 深層 CNN における冗長なブロックを特定・削除することで、より高い推論高速化を達成する。
- 出力特徴の識別度に基づいてブロックの冗長性を評価する基準を開発する。
- モデルの深さと計算コストを顕著に削減しつつ、高いモデル精度を維持する。
提案手法
- ブロックを、CNN 内の連続する層のシーケンス(例:Conv-BatchNorm-ReLU)として定義する。
- 下流タスクにおける線形分類器の精度を用いて、各ブロックの出力特徴の識別度を評価する。
- 識別度が低い(すなわち、削除によって精度低下が最小限に抑える)ブロックを pruning して、モデルの深さを低減する。
- 繰り返し pruning を行い、MSE を用いた mimic loss を導入することで、訓練の安定性を確保し、pruning 中の性能維持を図る。
- ブロック削除後に精度回復を図るため、pruned モデルのファインチューニングを実施する。
- アーキテクチャの感受性に応じて、ResNet および DenseNet それぞれに異なる pruning 策略を適用する。
実験結果
リサーチクエスチョン
- RQ1なぜ、計算量の大幅な削減が見られるにもかかわらず、フィルターレベルの pruning は加速に限界があるのか?
- RQ2フィルターよりもブロック全体を pruning することで、深層 CNN における推論高速化をより高められるか?
- RQ3顕著な精度低下を伴わずに、深層 CNN における冗長なブロックを効果的に特定できるか?
- RQ4特徴の識別度は、ブロックの冗長性を特定する上でどのような役割を果たすか?
- RQ5繰り返し pruning と mimic loss は、pruned モデルにおける性能回復にどのように寄与するか?
主な発見
- フィルターレベルの pruning では、計算量の削減が並列処理によって相殺されるため、加速比が限定的である。
- DBP は、冗長なブロックを完全に削除することで、最先端のフィルターレベル pruning 手法を上回る高い加速比を達成する。
- CIFAR-100 において、DBP はパラメータ削減率 81.5%、トップ1精度 71.32%、精度低下 3.62% を達成し、SOTA 手法を上回る性能を発揮する。
- 識別度に基づく基準は、冗長なブロックを効果的に特定できており、ランダムな pruning では顕著に低い精度が得られる。
- 繰り返し pruning と mimic loss は、特に感受性の高いアーキテクチャ(例:DenseNet)において、性能回復に不可欠である。
- 可視化結果から、保持されたブロックの出力特徴が pruning 前後で類似していることが確認され、情報の有効な保持が示された。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。