COSAIM: Counter-based Stochastic-behaving Approximate Integer Multiplier for Deep Neural Networks
Shuyuan Yu, Yibo Liu, Sheldon X.-D. Tan
Abstract
In this work, we propose a new counter-based stochastic-behaving approximate integer unsigned multiplier, called COSAIM, for many emerging error tolerant application workloads such as deep neural networks. Unlike existing approximate multipliers, which are based on some deterministic ad-hoc methods or mathematical formula, the new design is an improved stochastic multiplier, which performs improved sequential counting for multiplication operation in a deterministic way. In this work, we further improve the counting efficiency by introducing approximate schemes to significantly speed up the counting process, which leads to significant clock cycle reduction with no accuracy loss. COSAIM bears all the advantages of stochastic computing such as built-in configurability for progressive performance-accuracy trade-off. At the same time, it shows very small latency and high energy efficiency. Our evaluation shows that the COSAIM with error improvement operation can achieve very low error bias (0.06%), along with lower mean error (0.30% to 3.49%), and low peak errors (around 1.81%) with variance of 1. %. Experimental results obtained from Xilinx ISE show that compared with the 8-bit exact multiplier baseline, COSAIM can save up to 53.95%, 32.84%, 52.24%, 21.05% in area, power, energy and the product Area. 1/Throughput, respectively. Furthermore, by doing shared parallel design, COSAIM can further lead to improvements in area, power and energy reduction by 60.44%, 53.33% and 68.54%, respectively compared to the baseline. We also implement COSAIM in a Convolution Neural Network (CNN) and test it on CIFAR10 dataset and find that CNN with COSAIM delivers similar inference accuracy compared to some state of art approximate multipliers.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- Scaled-CBSC: scaled counting-based stochastic computing multiplication for improved accuracyShuyuan Yu, Sheldon X.-D. TanDAC 2022 · 4 citations
- Control Variate Approximation for DNN AcceleratorsGeorgios Zervakis, Ourania Spantidi, Iraklis Anagnostopoulos, Hussam Amrouch et al.DAC 2021 · 32 citations
- Efficient Non-Linear Adder for Stochastic Computing with Approximate Spatial-Temporal Sorting NetworkYixuan Hu, Tengyu Zhang, Meng Li, Renjie Wei et al.DAC 2023 · 2 citations
- FDCA: Fine-grained Digital-CIM based CNN Accelerator with Hybrid Quantization and Weight-Stationary DataflowBo Liu, Qingwen Wei, Yang Zhang, Xingyu Xu et al.DAC 2024 · 2 citations
- April: Accuracy-Improved Floating-Point Approximation For Neural Network AcceleratorsYonghao Chen, Jiaxiang Zou, Xinyu ChenDAC 2025 · 4 citations
