Binary Weight Multi-Bit Activation Quantization for Compute-in-Memory CNN Accelerators

Wenyong Zhou, Zhengwu Liu, Yuan Ren, Ngai Wong
8/29/2025
cs.ARcs.LG

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Compute-in-memory (CIM) accelerators have emerged as a promising way for enhancing the energy efficiency of convolutional neural networks (CNNs). Deploying CNNs on CIM platforms generally requires quantization of network weights and activations to meet hardware constraints. However, existing approaches either prioritize hardware efficiency with binary weight and activation quantization at the cost of accuracy, or utilize multi-bit weights and activations for greater accuracy but limited efficiency. In this paper, we introduce a novel binary weight multi-bit activation (BWMA) method for CNNs on CIM-based accelerators. Our contributions include: deriving closed-form solutions for weight quantization in each layer, significantly improving the representational capabilities of binarized weights; and developing a differentiable function for activation quantization, approximating the ideal multi-bit function while bypassing the extensive search for optimal settings. Through comprehensive experiments on CIFAR-10 and ImageNet datasets, we show that BWMA achieves notable accuracy improvements over existing methods, registering gains of 1.44\%-5.46\% and 0.35\%-5.37\% on respective datasets. Moreover, hardware simulation results indicate that 4-bit activation quantization strikes the optimal balance between hardware cost and model performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhou2025binary,
  title  = {Binary Weight Multi-Bit Activation Quantization for Compute-in-Memory CNN Accelerators},
  author = {Wenyong Zhou and Zhengwu Liu and Yuan Ren and Ngai Wong},
  year   = {2025},
  eprint = {2508.21524},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.21524v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.21524.svg)](https://codeofpaper.com/paper/2508.21524)

Discussion