Evaluation of the effects of K-Means Clustered-Based Weight Quantization on a Keras Library Based Convolutional Neural Network for Hand Written Digit Image Recognition
Journal: International Journal of Advanced Trends in Computer Science and Engineering (IJATCSE) (Vol.13, No. 2)Publication Date: 2024-04-07
Authors : Roderick Yap Goldwin Giron Leonard Miguel Lanto Lorenzo Garcia;
Page : 66-71
Keywords : Convolutional Neural Network; K-Means Clustering; Hardware Model; VHDL; Weight Compression; Field Programmable Gate Array;
Abstract
A lot of Convolutional Neural Networks (CNNs) have been implemented using FPGAs for the past years. Subsequently, memory saving features were added to the CNN through weight quantization using K-means clustering. A future goal on an ASIC design, involving CNN and weight quantization working together in one chip, can give way to an automated procedure of memory-saving CNN design. In this paper an evaluation was done on the effect of quantizing the weights of a Keras library-based CNN using K means clustering. Various values of K in K-means clustering were tested to see its effects on the CNN accuracy performance. This paper presents first the design approach of a Keras library based Convolutional Neural Network (CNN) for hand-written digit images. It then presents a hardware model design of K-Means clustering algorithm using VHDL. The performance of CNN for image recognition was then tested for various levels of weight quantization using K-means clustering algorithm. Simulation results showed a compression of weights as high as 60% resulted to less than 1% reduction in CNN's accuracy. The findings in this paper will serve as guide in determining the relevant values of K i.e. the compression ratio, for future ASIC design on this topic.
Other Latest Articles
- Is destination management data-driven and technology based? The perspective of the authorities responsible for destination management in a geographically diverse destination area
- An Exploratory view of Application of Digital Twin Technology in Education
- A Mobile Application Based Optimized Out-Patient Emergency Request Model
- A Comparative Study of Transformer-based Models for Text Summarization of News Articles
- THE IMAGE OF RUSSIA IN THE LANGUAGE CONSCIOUSNESS OF RUSSIAN AND CHINESE STUDENTS ACCORDING TO THE DATA OF ASSOCIATIVE EXPERIMENTS (QUANTITATIVE ANALYSIS)
Last modified: 2024-04-19 21:48:32