Preview

Doklady BGUIR

Advanced search

Investigation of Hardware Implementation of a Feedforward Neural Network for Handwritten Digit Recognition Based on FPGA

https://doi.org/10.35596/1729-7648-2025-23-2-101-108

Abstract

A hardware implementation based on Field Programmable Gate Array (FPGA) of a single-layer feedforward neural network for handwritten digit recognition has been developed. The effect of the network coefficient bit depth on the recognition accuracy and FPGA hardware costs has been studied. The neural network was trained using the MNIST handwritten digit database. The neural network prototype was implemented as an IP core on the ZYBO Z7 debug board. The developed prototype was used to perform experiments with different bit depths of neural network coefficient representation. Graphs of recognition accuracy and the amount of FPGA hardware resources depending on the bit depth of neural network coefficient representation have been constructed. The coefficients obtained as a result of neural network training have been analyzed using decomposition into bit planes. It has been shown that 5 bits are sufficient to represent neural network coefficients, since they contain the main information learned by the network, ensuring economical use of FPGA resources and high recognition accuracy (92.4 %).

About the Authors

E. A. Krivalсevich
Belarusian State University of Informatics and Radioelectronics
Belarus

Egor A. Krivalcevich, Student

Minsk



M. I. Vashkevich
Belarusian State University of Informatics and Radioelectronics
Belarus

Maxim I. Vashkevich, Dr.   Sci.   (Tech.),   Professor at the Electronic Computing Facilities Department

220013, Minsk, P. Brovki St., 6 



References

1. Mittal S. (2020) A Survey of FPGA-Based Accelerators for Convolutional Neural Networks. Neural Computing and Applications. 32 (4), 1109–1139.

2. Ahmad A., Pasha M. A. (2020) FFConv: An FPGA-Based Accelerator for Fast Convolution Layers in Convolutional Neural Networks. ACM Transactions on Embedded Computing Systems (TECS). 19 (2), 1–24.

3. Giardino D., Matta M., Silvestri F., Spano S., Trobiani V. (2019) FPGA Implementation of Hand- Written Number Recognition Based on CNN. International Journal on Advanced Science, Engineering and Information Technology. 9 (1), 167–171.

4. Common Visual Data Foundation. Available: https:// https://github.com/cvdfoundation/mnist.

5. Nikolenko S. I., Kadurin A. A., Arkhangelskaya E. V. (2019) Deep Learning. A Dive Into the World of Networks. Saint Petersburg, Peter Publishing House (in Russian).

6. Samaragh M., Ghasemzadeh M., Koushanfar F. (2017) Customizing Neural Networks for Efficient FPGA Implementation. IEEE Symposium on Field-Programmable Custom Computing Machines. USA, California. 85–92.


Review

For citations:


Krivalсevich E.A., Vashkevich M.I. Investigation of Hardware Implementation of a Feedforward Neural Network for Handwritten Digit Recognition Based on FPGA. Doklady BGUIR. 2025;23(2):101-108. (In Russ.) https://doi.org/10.35596/1729-7648-2025-23-2-101-108

Views: 19


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.


ISSN 1729-7648 (Print)
ISSN 2708-0382 (Online)