Saved in:
Bibliographic Details
Main Authors: Zhou, Wenyong, Liu, Zhengwu, Ren, Yuan, Wong, Ngai
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.21524
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911129990594560
author Zhou, Wenyong
Liu, Zhengwu
Ren, Yuan
Wong, Ngai
author_facet Zhou, Wenyong
Liu, Zhengwu
Ren, Yuan
Wong, Ngai
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2508_21524
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Binary Weight Multi-Bit Activation Quantization for Compute-in-Memory CNN Accelerators
Zhou, Wenyong
Liu, Zhengwu
Ren, Yuan
Wong, Ngai
Hardware Architecture
Machine Learning
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.
title Binary Weight Multi-Bit Activation Quantization for Compute-in-Memory CNN Accelerators
topic Hardware Architecture
Machine Learning
url https://arxiv.org/abs/2508.21524