압축 및 가변 정밀도 가중치를 지원하는 MAC-less 신경망 추론 프로세서
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) 추론을 위한 두 가지 아키텍처를 소개한다. 두 아키텍처 모두 계산 복잡도와 대역폭을 줄이기 위해 가중치 희소성과 압축을 활용한다. 첫 번째 아키텍처는 곱 - 축적기 (MAC) 를 사용하지만, 0 가중치를 건너뛰어 불필요한 곱셈을 피한다. 두 번째 아키텍처는 가중치의 비트 표현 수준에서 가중치 희소성을 활용하여 리소스 집약적인 MAC 를 훨씬 작은 Bit Layer Multiply Accumulators (BLMAC) 로 대체한다. BLMAC 의 사용은 가변 정밀도 가중치를 가변 크기 정수 및 심지어 부동소수점으로 가능하게 한다. 두 번째 아키텍처의 구현 세부사항이 제시되며, 산술 인코딩을 이용한 가중치 압축과 대역폭 영향도 논의된다. 마지막으로, 패스파인더 설계와 다양한 기술에 대한 구현 결과가 제시된다.
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.