MAC 不使用による圧縮・可変精度ウェイトを支援するニューラル推論プロセッサ
A MAC-less Neural Inference Processor Supporting Compressed, Variable Precision Weights
A MAC-less Neural Inference Processor Supporting Compressed, Variable Precision Weights
@misc{liguori2020a,
title = {A MAC-less Neural Inference Processor Supporting Compressed, Variable Precision Weights},
author = {Vincenzo Liguori},
year = {2020},
eprint = {2012.06018},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2012.06018}
}
Liguori, V. (2020). A MAC-less Neural Inference Processor Supporting Compressed, Variable Precision Weights [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.06018
LIGUORI V. A MAC-less Neural Inference Processor Supporting Compressed, Variable Precision Weights[EB/OL]. (2020-12-10)[2026-11-30]. https://arxiv.org/abs/2012.06018.
要旨
本論文では、畳み込みニューラルネットワーク(CNN)の推論のための 2 つのアーキテクチャを提案する。両方のアーキテクチャは、計算複雑性と帯域幅を削減するために重みの疎性と圧縮を利用する。最初のアーキテクチャは積算器(MAC)を使用するが、ゼロ重みをスキップすることで不要な乗算を回避する。2 つ目のアーキテクチャは、重みのビット表現レベルでの疎性を活用し、リソース集約的な MAC をはるかに小さい Bit Layer Multiply Accumulators(BLMAC)で置き換える。BLMAC の使用により、可変サイズ整数乃至浮動小数点までの可変精度重みも可能となる。2 つ目のアーキテクチャの実装に関する詳細が記述されている。また、算術符号化を用いた重み圧縮と、それによる帯域幅の影響についても議論する。最後に、パスファインダー設計および各種技術に対する実装結果を示す。
This paper introduces two architectures for the inference of convolutional neural networks (CNNs). Both architectures exploit weight sparsity and compression to reduce computational complexity and bandwidth. The first architecture uses multiply-accumulators (MACs) but avoids unnecessary multiplications by skipping zero weights. The second architecture exploits weight sparsity at the level of their bit representation by substituting resource-intensive MACs with much smaller Bit Layer Multiply Accumulators (BLMACs). The use of BLMACs also allows variable precision weights as variable size integers and even floating points. Some details of an implementation of the second architecture are given. Weight compression with arithmetic coding is also discussed as well as bandwidth implications. Finally, some implementation results for a pathfinder design and various technologies are presented.