Scalar Arithmetic Multiple Data: Customizable Precision for Deep Neural Networks
Andrew Anderson, David Gregg

TL;DR
This paper introduces a software technique to perform customizable bit-precise integer operations for DNNs, enabling efficient quantization without specialized hardware, achieving significant speedups on standard processors.
Contribution
It presents a method to emulate arbitrary bit-width integer operations within fixed-width scalar arithmetic, facilitating flexible and fast DNN quantization on general-purpose hardware.
Findings
Achieves up to 6x speedup on Intel processors.
Achieves up to 10x speedup on ARM processors.
Enables efficient software-based quantization for DNNs.
Abstract
Quantization of weights and activations in Deep Neural Networks (DNNs) is a powerful technique for network compression, and has enjoyed significant attention and success. However, much of the inference-time benefit of quantization is accessible only through the use of customized hardware accelerators or by providing an FPGA implementation of quantized arithmetic. Building on prior work, we show how to construct arbitrary bit-precise signed and unsigned integer operations using a software technique which logically \emph{embeds} a vector architecture with custom bit-width lanes in universally available fixed-width scalar arithmetic. We evaluate our approach on a high-end Intel Haswell processor, and an embedded ARM processor. Our approach yields very fast implementations of bit-precise custom DNN operations, which often match or exceed the performance of operations quantized to the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
