Skip to main content

Block-Wise Mixed-Precision Quantization: Enabling High Efficiency for Practical ReRAM-Based DNN Accelerators

Publication ,  Journal Article
Wu, X; Hanson, E; Wang, N; Zheng, Q; Yang, X; Yang, H; Li, S; Cheng, F; Pande, PP; Doppa, JR; Chakrabarty, K; Li, H
Published in: IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
January 1, 2024

Resistive random access memory (ReRAM)-based processing-in-memory (PIM) architectures have demonstrated great potential to accelerate the deep neural network (DNN) training/inference. However, the computational accuracy of analog PIM is compromised due to the nonidealities, such as the conductance variation of ReRAM cells. The impact of these nonidealities worsens as the number of concurrently activated wordlines (WLs) and bitlines (BLs) increases. To guarantee computational accuracy, only a limited number of WLs and BLs of the crossbar array can be turned on concurrently, significantly reducing the achievable parallelism of the architecture.While the constraints on parallelism limit the efficiency of the accelerators, they also provide a new opportunity for the fine-grained mixed-precision quantization. To enable efficient DNN inference on the practical ReRAM-based accelerators, we propose an algorithm-architecture co-design framework called block-wise mixed-precision quantization (BWQ). At the algorithm level, the BWQ algorithm (BWQ-A) introduces a mixed-precision quantization scheme at the block level, which achieves a high weight and activation compression ratio with negligible accuracy degradation. We also present the hardware architecture design BWQ-H, which leverages the low-bit-width models achieved by BWQ-A to perform high-efficiency DNN inference on the ReRAM devices. BWQ-H also adopts a novel precision-aware weight mapping method to increase the ReRAM crossbar's throughput. Our evaluation demonstrates the effectiveness of BWQ, which achieves a $6.08 \times $ speedup and a $17.47 \times $ energy saving on average compared to the existing ReRAM-based architectures.

Duke Scholars

Published In

IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems

DOI

EISSN

1937-4151

ISSN

0278-0070

Publication Date

January 1, 2024

Volume

43

Issue

12

Start / End Page

4558 / 4571

Related Subject Headings

  • Computer Hardware & Architecture
  • 4607 Graphics, augmented reality and games
  • 4009 Electronics, sensors and digital hardware
  • 1006 Computer Hardware
  • 0906 Electrical and Electronic Engineering
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Wu, X., Hanson, E., Wang, N., Zheng, Q., Yang, X., Yang, H., … Li, H. (2024). Block-Wise Mixed-Precision Quantization: Enabling High Efficiency for Practical ReRAM-Based DNN Accelerators. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 43(12), 4558–4571. https://doi.org/10.1109/TCAD.2024.3409193
Wu, X., E. Hanson, N. Wang, Q. Zheng, X. Yang, H. Yang, S. Li, et al. “Block-Wise Mixed-Precision Quantization: Enabling High Efficiency for Practical ReRAM-Based DNN Accelerators.” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 43, no. 12 (January 1, 2024): 4558–71. https://doi.org/10.1109/TCAD.2024.3409193.
Wu X, Hanson E, Wang N, Zheng Q, Yang X, Yang H, et al. Block-Wise Mixed-Precision Quantization: Enabling High Efficiency for Practical ReRAM-Based DNN Accelerators. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. 2024 Jan 1;43(12):4558–71.
Wu, X., et al. “Block-Wise Mixed-Precision Quantization: Enabling High Efficiency for Practical ReRAM-Based DNN Accelerators.” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 43, no. 12, Jan. 2024, pp. 4558–71. Scopus, doi:10.1109/TCAD.2024.3409193.
Wu X, Hanson E, Wang N, Zheng Q, Yang X, Yang H, Li S, Cheng F, Pande PP, Doppa JR, Chakrabarty K, Li H. Block-Wise Mixed-Precision Quantization: Enabling High Efficiency for Practical ReRAM-Based DNN Accelerators. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. 2024 Jan 1;43(12):4558–4571.

Published In

IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems

DOI

EISSN

1937-4151

ISSN

0278-0070

Publication Date

January 1, 2024

Volume

43

Issue

12

Start / End Page

4558 / 4571

Related Subject Headings

  • Computer Hardware & Architecture
  • 4607 Graphics, augmented reality and games
  • 4009 Electronics, sensors and digital hardware
  • 1006 Computer Hardware
  • 0906 Electrical and Electronic Engineering