RUS  ENG
Full version
JOURNALS // Proceedings of the Institute for System Programming of the RAS // Archive

Proceedings of ISP RAS, 2022 Volume 34, Issue 3, Pages 61–74 (Mi tisp693)

Method for convolutional neural network hardware implementation based on a residue number system

M. V. Valuevaa, G. V. Valueva, M. G. Babenkobc, A. N. Tchernykhdec, J. M. Cortés-Mendozae

a North-Caucasus Center for Mathematical Research NCFU
b North-Caucasus Federal University
c Ivannikov Institute for System Programming of the RAS
d Centro de Investigación Científica y de Educación Superior de Ensenada
e South Ural State University

Abstract: Convolutional Neural Networks (CNN) show high accuracy in pattern recognition solving problem but have high computational complexity, which leads to slow data processing. To increase the speed of CNN, we propose a hardware implementation method with calculations in the residue number system with moduli of a special type $2^\alpha$ and $2^\alpha-1$. A hardware simulation of the proposed method on Field-Programmable Gate Array for LeNet-5 CNN is trained with the MNIST, FMNIST, and CIFAR-10 image databases. It has shown that the proposed approach can increase the clock frequency and performance of the device by 11%-12%, compared with the traditional approach based on the positional number system.

Keywords: convolutional neural network, residue number system, pattern recognition, field-programmable gate array (FPGA)

DOI: 10.15514/ISPRAS-2022-34(3)-5



© Steklov Math. Inst. of RAS, 2024