Hybrid SORN Implementation of k-Nearest Neighbor Algorithm on FPGA

被引:3
作者
Huelsmeier, Nils [1 ]
Baerthel, Moritz [1 ]
Karsthof, Ludwig [1 ]
Rust, Jochen [2 ]
Paul, Steffen [1 ]
机构
[1] Univ Bremen, Inst Electrodynam & Microelect ITEMme, Bremen, Germany
[2] DSI Aerosp Technol GmbH, Bremen, Germany
来源
2022 20TH IEEE INTERREGIONAL NEWCAS CONFERENCE (NEWCAS) | 2022年
关键词
FPGA; hardware; Hybrid SORN; kNN; machine learning; SORN; MNIST;
D O I
10.1109/NEWCAS52662.2022.9841985
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In this paper a new implementation of the k-Nearest Neighbor algorithm (kNN) is presented. The approach is based on the Sets-of-Real-Numbers (SORN) representation. SORNs are an interval-based binary number representation providing ultra fast and low complex arithmetic operations. The proposed approach combines the advantages of SORN (complexity) and fixed point representations (precision) to provide high dimensional vector arithmetic operations with high precision. This Hybrid SORN approach is used to implement a low-complexity kNN architecture, introduced as Hybrid SORN kNN. The proposed design is implemented on an FPGA board with Zynq 7000 XC7Z100 SoC and verified with the MNIST dataset. To achieve the data transfer to the FPGA for the complete MNIST dataset, an AXI Direct Memory Access (DMA) IP-Core to access an SD card is used. The proposed architecture provides promising results since the validation error is significantly lower compared to floating point implementations. The hardware utilization shows an LUT reduction of 39.2% compared to a fixed point implementation.
引用
收藏
页码:163 / 167
页数:5
相关论文
共 14 条
[1]  
[Anonymous], 2019, AXI DMA v7.1: LogiCORE IP Product Guide v7.1
[2]   SORN Arithmetic for MIMO Symbol Detection - Exploration of the Type-2 Unum Format [J].
Baerthel, Moritz ;
Seidel, Pascal ;
Rust, Jochen ;
Paul, Steffen .
2019 17TH IEEE INTERNATIONAL NEW CIRCUITS AND SYSTEMS CONFERENCE (NEWCAS), 2019,
[3]   Application-Specific Analysis of Different SORN Datatypes for Unum Type-2-Based Arithmetic [J].
Barthel, Moritz ;
Rust, Jochen ;
Paul, Steffen .
2020 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2020,
[4]  
Goodfellow I, 2016, ADAPT COMPUT MACH LE, P1
[5]   MNIST Dataset Classification Utilizing k-NN Classifier with Modified Sliding-Window Metric [J].
Grover, Divas ;
Toghi, Behrad .
ADVANCES IN COMPUTER VISION, VOL 2, 2020, 944 :583-591
[6]  
Gustafson J., 2016, SUPERCOMPUTING FRONT, V3
[7]  
Hulsmeier N., 2021, 28 EUROPEAN SIGNAL P
[8]   Complexity Reduction for Sphere Decoding using Unum-Type-II-Based SORN-Arithmetic [J].
Knobbe, Simon ;
Baerthel, Moritz ;
Paul, Steffen ;
Rust, Jochen .
2020 9TH INTERNATIONAL CONFERENCE ON MODERN CIRCUITS AND SYSTEMS TECHNOLOGIES (MOCAST), 2020,
[9]   Gradient-based learning applied to document recognition [J].
Lecun, Y ;
Bottou, L ;
Bengio, Y ;
Haffner, P .
PROCEEDINGS OF THE IEEE, 1998, 86 (11) :2278-2324
[10]  
LeCun Y., 1998, The mnist database of handwritten digits