MVQ: Towards Efficient DNN Compression and Acceleration with Masked Vector Quantization
Open Access
- 30 March 2025
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 731-745
Abstract
Vector quantization(VQ) is a hardware-friendly DNN compression method that can reduce the storage cost and weight-loading datawidth of hardware accelerators. However, conventional VQ techniques lead to significant accuracy loss because the important weights are not well preserved. To tackle this problem, a novel approach called MVQ is proposed, which aims at better approximating important weights with a limited number of codewords. At the algorithm level, our approach removes the less important weights through N:M pruning and then minimizes the vector clustering error between the remaining weights and codewords by the masked k-means algorithm. Only distances between the unpruned weights and the codewords are computed, which are then used to update the codewords. At the architecture level, our accelerator implements vector quantization on an EWS (Enhanced weight stationary) CNN accelerator and proposes a sparse systolic array design to maximize the benefits brought by masked vector quantization. Our algorithm is validated on various models for image classification, object detection, and segmentation tasks. Experimental results demonstrate that MVQ not only outperforms conventional vector quantization methods at comparable compression ratios but also reduces FLOPs. Under ASIC evaluation, our MVQ accelerator boosts energy efficiency by 2.3× and reduces the size of the systolic array by 55% when compared with the base EWS accelerator. Compared to the previous sparse accelerators, MVQ achieves 1.73× higher energy-efficiency.Keywords
All Related Versions
Funding Information
- Shenzhen Science and Technology Program (KJZD20230923115213027)
- National Natural Science Foundation of China (62274142)
This publication has 18 references indexed in Scilit:
- Sibia: Signed Bit-slice Architecture for Dense DNN Acceleration with Slice-level Sparsity Exploitation2023
- S2TA: Exploiting Structured Sparsity for Energy-Efficient Mobile CNN Acceleration2022
- Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integration2021
- 4.4 A 1.3TOPS/W @ 32GOPS Fully Integrated 10-Core SoC for IoT End-Nodes with 1.7μW Cognitive Wake-Up From MRAM-Based State-Retentive Sleep Mode2021
- Importance Estimation for Neural Network Pruning2019
- Convolutional Neural Network Accelerator with Vector Quantization2019
- Accelerator Design for Vector Quantized Convolutional Neural Network2019
- Clustering Convolutional Kernels to Compress Deep Neural Networks2018
- Scaling equations for the accurate prediction of CMOS device performance from 180 nm to 7 nmIntegration, 2017
- Quantized Convolutional Neural Networks for Mobile Devices2016