Title :
An adaptive implementation of a dynamically reconfigurable K-nearest neighbour classifier on FPGA
Author :
Hussain, Hanaa M. ; Benkrid, Khaled ; Seker, Huseyin
Author_Institution :
Sch. of Eng., Edinburgh Univ., Edinburgh, UK
Abstract :
K-nearest neighbour (KNN) is a supervised classification technique that is widely used in many fields of study to classify unknown queries based on some known information about the dataset. KNN is known to be robust and simple to implement when dealing with data of small size. However it performs slowly when data are large and have high dimensions. Therefore, KNN classifiers can benefit from the parallelism offered by Field Programmable Gate Arrays (FPGAs) to accelerate the algorithm. In addition, the KNN classifier is sensitive to the user defined parameter (K) which is the number of nearest neighbours. This parameter is known to affect the performance of the classifier; thus users would want the classifier to be easily adaptable to different values of K. In this work, we propose two adaptive FPGA architectures of the KNN classifier, and compare the implementations of each one of them with an equivalent implementation running on a general purpose processor (GPP). The proposed hardware implementations outperformed GPP by 76× for the first architecture and 68× for the second. In addition, we propose a novel dynamic partial reconfiguration (DPR) architecture of the KNN classifier, which allows for an efficient dynamic partial reconfiguration of a classifier implementation on FPGA for different K´s. This DPR implementation offers 5× speed-up in the reconfiguration time of a KNN classifier on FPGA.
Keywords :
electronic engineering computing; field programmable gate arrays; learning (artificial intelligence); pattern classification; reconfigurable architectures; DPR architecture; GPP; KNN classifier; adaptive FPGA architecture; dynamic partial reconfiguration; dynamically reconfigurable K-nearest neighbour classifier; field programmable gate array; general purpose processor; supervised classification technique; unknown queries; user defined parameter; Clocks; Computer architecture; Field programmable gate arrays; Hardware; Support vector machine classification; Training; Vectors; Classification; Dynamic partial reconfiguration; FPGA; GPP; KNN;
Conference_Titel :
Adaptive Hardware and Systems (AHS), 2012 NASA/ESA Conference on
Conference_Location :
Erlangen
Print_ISBN :
978-1-4673-1915-7
Electronic_ISBN :
978-1-4673-1914-0
DOI :
10.1109/AHS.2012.6268651