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 条
  • [1] Convolutional Tsetlin Machine-based Training and Inference Accelerator for 2-D Pattern Classification
    Tunheim, Svein Anders
    Jiao, Lei
    Shafik, Rishad
    Yakovlev, Alex
    Granmo, Ole-Christoffer
    MICROPROCESSORS AND MICROSYSTEMS, 2023, 103
  • [2] An FPGA-based Hybrid Neural Network accelerator for embedded satellite image classification
    Lemaire, Edgar
    Moretti, Matthieu
    Daniel, Lionel
    Miramond, Benoit
    Millet, Philippe
    Feresin, Frederic
    Bilavarn, Sebastien
    2020 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2020,
  • [3] An Efficient CNN Architecture for Image Classification on FPGA Accelerator
    Mujawar, Shahmustafa
    Kiran, Divya
    Ramasangu, Hariharan
    2018 SECOND INTERNATIONAL CONFERENCE ON ADVANCES IN ELECTRONICS, COMPUTERS AND COMMUNICATIONS (ICAECC), 2018,
  • [4] Wearable on-device deep learning system for hand gesture recognition based on FPGA accelerator
    Jiang, Weibin
    Ye, Xuelin
    Chen, Ruiqi
    Su, Feng
    Lin, Mengru
    Ma, Yuhanxiao
    Zhu, Yanxiang
    Huang, Shizhen
    MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2020, 18 (01) : 132 - 153
  • [5] A novel image model for vehicle classification in restricted areas using on-device machine learning
    Lamba A.
    Kumar V.
    International Journal of Information Technology, 2023, 15 (6) : 3037 - 3043
  • [6] Research on Medical Image Classification Based on Machine Learning
    Tang, Hai
    Hu, Zhihui
    IEEE ACCESS, 2020, 8 : 93145 - 93154
  • [7] On-Device Training of Machine Learning Models on Microcontrollers with Federated Learning
    Llisterri Gimenez, Nil
    Monfort Grau, Marc
    Pueyo Centelles, Roger
    Freitag, Felix
    ELECTRONICS, 2022, 11 (04)
  • [8] A Machine Learning Accelerator for DDoS Attack Detection and Classification on FPGA
    Lai, Yu-Kuen
    Chang, Kai-Po
    Ku, Xiu-Wen
    Hua, Hsiang-Lun
    2022 19TH INTERNATIONAL SOC DESIGN CONFERENCE (ISOCC), 2022, : 181 - 182
  • [9] Image features for machine learning based web image classification
    Cho, SS
    Hwang, CJ
    INTERNET IMAGING IV, 2003, 5018 : 328 - 335
  • [10] Lightweight On-Device Detection of Android Malware Based on the Koodous Platform and Machine Learning
    Krzyszton, Mateusz
    Bok, Bartosz
    Lew, Marcin
    Sikora, Andrzej
    SENSORS, 2022, 22 (17)