Tsetlin Machine-Based Image Classification FPGA Accelerator With On-Device Training

被引:0
作者
Tunheim, Svein Anders [1 ]
Jiao, Lei [1 ]
Shafik, Rishad [2 ]
Yakovlev, Alex [2 ]
Granmo, Ole-Christoffer [1 ]
机构
[1] Univ Agder, Ctr Artificial Intelligence Res CAIR, N-4879 Grimstad, Norway
[2] Newcastle Univ, Sch Engn, Microsyst Grp, Newcastle Upon Tyne NE1 7RU, England
关键词
Training; Field programmable gate arrays; Accuracy; Power demand; Image classification; Convolution; Energy efficiency; CMOS technology; Transformers; Learning automata; Machine learning; Tsetlin machine; accelerator; image classification; FPGA; NEURAL-NETWORKS; BINARY;
D O I
10.1109/TCSI.2024.3519191
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
The Tsetlin Machine (TM) is a novel machine learning algorithm that uses Tsetlin automata (TAs) to define propositional logic expressions (clauses) for classification. This paper describes a field-programmable gate array (FPGA) accelerator for image classification based on the Convolutional Coalesced Tsetlin Machine. The accelerator classifies booleanized images of $28\times 28$ pixels into 10 classes, and is configured with 128 clauses in a highly parallel architecture. To achieve fast clause evaluation and class prediction, the TA action signals and the clause weights per class are available from registers. Full on-device training is included, and the TAs are implemented with 34 Block RAM (BRAM) instances which operate in parallel. Each BRAM is addressed by the clause number and has a 72-bit word width that supports 8 TAs. The design is implemented in a Xilinx Zynq Ultrascale $+$ XCZU7 FPGA. Running at 50 MHz, the accelerator core achieves 134k image classifications per second, with an energy consumption per classification of 13.3 $\mu$ J. A single training epoch of 60k samples requires a processing time of 1.5 seconds. The accelerator obtains a test accuracy of 97.6% on MNIST, 84.1% on Fashion-MNIST and 82.8% on Kuzushiji-MNIST.
引用
收藏
页码:830 / 843
页数:14
相关论文
共 50 条
[41]   An FPGA-Based Energy-Efficient Reconfigurable Depthwise Separable Convolution Accelerator for Image Recognition [J].
Xuan, Lei ;
Un, Ka-Fai ;
Lam, Chi-Seng ;
Martins, Rui P. .
IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II-EXPRESS BRIEFS, 2022, 69 (10) :4003-4007
[42]   AUTOMATIC GENERATION OF TRAINING DATA FOR HYPERSPECTRAL IMAGE CLASSIFICATION USING SUPPORT VECTOR MACHINE [J].
Abbasi, B. ;
Arefi, H. ;
Bigdeli, B. ;
Roessner, S. .
36TH INTERNATIONAL SYMPOSIUM ON REMOTE SENSING OF ENVIRONMENT, 2015, 47 (W3) :575-580
[43]   An OpenCL-based SIFT Accelerator for Image Features Extraction on FPGA in Mobile Edge Computing Environment [J].
Duc Canh Le ;
Oh, Eun Young ;
Jeong, Jae Ho ;
Kim, Sung Hyun ;
Jeon, Minsu ;
Jang, Jonghyun ;
Youn, Chan-Hyun .
2018 INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGY CONVERGENCE (ICTC), 2018, :1406-1410
[44]   FPGA-based Hardware Accelerator for Image Reconstruction in Magnetic Resonance Imaging [J].
Pezzotti, Emanuele ;
Iacobucci, Alex ;
Nash, Gregory ;
Cheema, Umer ;
Vinella, Paolo ;
Ansari, Rashid .
FPGA'17: PROCEEDINGS OF THE 2017 ACM/SIGDA INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE GATE ARRAYS, 2017, :293-293
[45]   Multilayer extreme learning machine-based unsupervised deep feature representation for heartbeat classification [J].
Xu, Yuefan ;
Liu, Luyao ;
Zhang, Sen ;
Xiao, Wendong .
SOFT COMPUTING, 2023, 27 (17) :12353-12366
[46]   A machine learning-based feature extraction method for image classification using ResNet architecture [J].
Liao, Jing ;
Guo, Linpei ;
Jiang, Lei ;
Yu, Chang ;
Liang, Wei ;
Li, Kuanching ;
Pop, Florin .
Digital Signal Processing: A Review Journal, 2025, 160
[47]   A machine learning-based forensic tool for image classification-A design science approach [J].
Del Mar-Raave, Joanna Rose ;
Bahsi, Hayretdin ;
Mrsic, Leo ;
Hausknecht, Kresimir .
FORENSIC SCIENCE INTERNATIONAL-DIGITAL INVESTIGATION, 2021, 38
[48]   Support Vector Machine-based approach for Recognizing Bonsai Species using Leaf Image [J].
Aminuddin, Raihah ;
Maskan, Farizul Azlan ;
Jalil, Ummu Mardhiah Abdul ;
Fesol, Siti Feirusz Ahmad ;
Ibrahim, Shafaf .
2022 IEEE 18TH INTERNATIONAL COLLOQUIUM ON SIGNAL PROCESSING & APPLICATIONS (CSPA 2022), 2022, :266-271
[49]   Machine Vision Image Acquisition Hardware System Based on FPGA [J].
Liu, Xiaojie ;
Zhang, Min ;
Luo, Yinshen ;
Fan, Honghui .
AGRO FOOD INDUSTRY HI-TECH, 2017, 28 (01) :3490-3493
[50]   FPGA Implementation of Machine Learning Based Image Quality Assessment [J].
Tchendjou, Ghislain Takam ;
Simeu, Emmanuel ;
Lebowsky, Fritz .
2017 29TH INTERNATIONAL CONFERENCE ON MICROELECTRONICS (ICM), 2017, :100-103