Litcius/Paper detail

Symmetric $k$-Means for Deep Neural Network Compression and Hardware Acceleration on FPGAs

Akshay Jain, Pulkit Goel, Shivam Aggarwal, Alexander Fell, Saket Anand

2020IEEE Journal of Selected Topics in Signal Processing16 citationsDOI

Abstract

Convolutional Neural Networks (CNNs) are popular models that have been successfully applied to diverse domains like vision, speech, and text. To reduce inference-time latency, it is common to employ hardware accelerators, which often require a model compression step. Contrary to most compression algorithms that are agnostic of the underlying hardware acceleration strategy, this paper introduces a novel Symmetric <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$k$</tex-math></inline-formula> -means based compression algorithm that is specifically designed to support a new FPGA-based hardware acceleration scheme by reducing the number of inference-time multiply-accumulate (MAC) operations by up to 98%. First, a simple <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$k$</tex-math></inline-formula> -means based training approach is presented and then as an extension, Symmetric <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$k$</tex-math></inline-formula> -means is proposed which yields twice the reduction in MAC operations for the same bit-depth as the simple <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$k$</tex-math></inline-formula> -means approach. A comparative analysis is conducted on popular CNN architectures for tasks including classification, object detection and end-to-end stereo matching on various datasets. For all tasks, the model compression down to 3 bits is presented, while no loss is observed in accuracy for the 5-bits quantization.

Topics & Concepts

Computer scienceHardware accelerationField-programmable gate arrayAlgorithmInferenceNotationConvolutional neural networkArtificial intelligenceArithmeticMathematicsComputer hardwareAdvanced Neural Network ApplicationsAdvanced Image and Video Retrieval TechniquesAdversarial Robustness in Machine Learning