On Reducing the Number of Multiplications in RNS-based CNN Accelerators
Authors:
- 28 November 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-6
Abstract
In this paper, a method to reduce the number of multiplications in Convolutional Neural Networks (CNNs) by exploiting the properties of the Residue Number System (RNS) is proposed. RNS decomposes the elementary computations into a number of small bit-width, independent channels, which can be processed in parallel. Naturally, due to the small dynamic range of each RNS channel, the number of common factors inside the weight kernels during a convolution is increased. By identifying these common factors and by rearranging the order of computations to perform first the additions of the input feature-map terms that correspond to the same factors, the number of multiplications can be reduced up to 97 %, for state-of-the-art CNN models. The remaining multiplications are also simplified, as they are implemented through shift-add operations or fixed-operand multipliers. ASIC implementations of the proposed Processing Element (PE) architecture show a speedup of up to 2.67× and 1.64× compared to the binary and conventional RNS counterparts, respectively. Compared to a conventional RNS PE implementation, the proposed method also leads to a 20% reduction in area and 16% reduction in power consumption.Keywords
Funding Information
- Khalifa University
- SRC (2020-AH-2983)
This publication has 11 references indexed in Scilit:
- 9.2 A 28nm 12.1TOPS/W Dual-Mode CNN Processor Using Effective-Weight-Based Convolution and Error-Compensation-Based Prediction2021
- Application of the residue number system to reduce hardware costs of the convolutional neural network implementationMathematics and Computers in Simulation, 2020
- Res-DNN: A Residue Number System-Based DNN Accelerator UnitIEEE Transactions on Circuits and Systems I: Regular Papers, 2019
- Understanding Reuse, Performance, and Hardware Cost of DNN Dataflow2019
- Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference2018
- Efficient Processing of Deep Neural Networks: A Tutorial and SurveyProceedings of the IEEE, 2017
- MinervaACM SIGARCH Computer Architecture News, 2016
- A deep convolutional neural network based on nested residue number system2015
- Fast Sign Detection Algorithm for the RNS Moduli Set $\{2^{n+1}-1, 2^{n}-1, 2^{n}\}$IEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2014
- Fast Scaling in the Residue Number SystemIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2009