Hardware-Aware Quantization for Accurate Memristor-Based Neural Networks
Memristor-based Computation-In-Memory (CIM) has emerged as a compelling paradigm for designing energy-efficient neural network hardware. However, memristors suffer from conductance variation issue, which introduces computational errors in CIM hardware and leads to a degraded inference accuracy. In this paper, we present a hardware-aware quantization to mitigate the impact of conductance variation on CIM-based neural networks. We achieve this using the inherent characteristics of fixed-point arithmetic in CIM hardware. By tuning the bit-precision of weights, we align the conductance variation-induced errors with lower-order output bits. This reduces their numerical impact on the fixed-point output. We further decrease the residual errors by selectively discarding bits with low information and high error. This leads to error-free computations and a high inference accuracy. Our proposed methodology achieves 5.6× correct operations per unit energy compared to the conventional approach, while incurring very low hardware overheads.
Authors
- Mohammad Amin Yaldagard (ORCID: https://orcid.org/0000-0001-5333-7270)
- Sumit Diware (ORCID: https://orcid.org/0000-0003-4461-1623)
- Rajendra Bishnoi (ORCID: https://orcid.org/0000-0002-0516-7112)
Institutions
- Delft University of Technology (NL)
Publication Details
- Published
- 2024-10-27
- DOI
- https://doi.org/10.1145/3676536.3698023
- Citations
- 4
- Primary Topic
- Advanced Memory and Neural Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.83
Funders
- European Commission
- Technische Universiteit Delft