コンピュータービジョンニューラルネットワークのMobileNetsファミリーは、近年、リソース効率の高いアーキテクチャの設計と組織化に大きな進歩をもたらしました。高度に制約されたデバイスで厳しいリアルタイム要件を持つ新しいアプリケーションでは、すでに計算効率の高いモバイルネットのようなMobileNetのさらなる圧縮が必要です。モデルの量子化は、ニューラルネットワークの推論を圧縮および加速するために広く使用されている手法であり、以前の研究では、わずかな精度の大幅な低下にもかかわらず、MobileNetを4-6ビットに量子化しました。サブバイト値への量子化(すなわち、8ビット以下の精度)は価値がありますが、大幅なエネルギー節約と、ASICなどの特殊なハードウェアでの実行時間の高速化を実現するには、MobileNetをバイナリまたは3値にさらに量子化する必要がありますおよびFPGA。ディープニューラルネットワークの各層の畳み込みフィルターは、3値量子化に対して異なる応答をする可能性があるという重要な観察の下で、MobileNetの完全精度および3値重みフィルターで構成されるレイヤーごとのハイブリッドフィルターバンクを生成する新しい量子化方法を提案します。レイヤーワイズハイブリッドフィルターバンクは、基本的に完全精度と3進重みフィルターの長所を組み合わせて、MobileNet用のコンパクトでエネルギー効率の高いアーキテクチャを導き出します。この提案された量子化方法を使用して、MobileNetのウェイトフィルターのかなりの部分を3進値に量子化し、エネルギーを27.98%削減し、モデルサイズを51.07%削減しました。ベースラインの完全精度のMobileNetとの比較。
MobileNets family of computer vision neural networks have fueled tremendous progress in the design and organization of resource-efficient architectures in recent years. New applications with stringent real-time requirements on highly constrained devices require further compression of MobileNets-like already compute-efficient networks. Model quantization is a widely used technique to compress and accelerate neural network inference and prior works have quantized MobileNets to 4-6 bits albeit with a modest to significant drop in accuracy. While quantization to sub-byte values (i.e. precision less than or equal to 8 bits) has been valuable, even further quantization of MobileNets to binary or ternary values is necessary to realize significant energy savings and possibly runtime speedups on specialized hardware, such as ASICs and FPGAs. Under the key observation that convolutional filters at each layer of a deep neural network may respond differently to ternary quantization, we propose a novel quantization method that generates per-layer hybrid filter banks consisting of full-precision and ternary weight filters for MobileNets. The layer-wise hybrid filter banks essentially combine the strengths of full-precision and ternary weight filters to derive a compact, energy-efficient architecture for MobileNets. Using this proposed quantization method, we quantized a substantial portion of weight filters of MobileNets to ternary values resulting in 27.98% savings in energy, and a 51.07% reduction in the model size, while achieving comparable accuracy and no degradation in throughput on specialized hardware in comparison to the baseline full-precision MobileNets.