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 条
  • [21] Image classification based on effective extreme learning machine
    Cao, Feilong
    Liu, Bo
    Park, Dong Sun
    NEUROCOMPUTING, 2013, 102 : 90 - 97
  • [22] Wavelet transformation and vertical stacking based image classification applying machine learning
    Iniyan, S.
    Singh, Anurag
    Hazra, Brishti
    BIOMEDICAL SIGNAL PROCESSING AND CONTROL, 2023, 79
  • [23] Efficacy of machine learning image classification for automated occupancy-based monitoring
    Lonsinger, Robert C.
    Dart, Marlin M.
    Larsen, Randy T.
    Knight, Robert N.
    REMOTE SENSING IN ECOLOGY AND CONSERVATION, 2024, 10 (01) : 56 - 71
  • [24] Remote Sensing Image Transfer Classification Based on Weighted Extreme Learning Machine
    Zhou, Yang
    Lian, Jie
    Han, Min
    IEEE GEOSCIENCE AND REMOTE SENSING LETTERS, 2016, 13 (10) : 1405 - 1409
  • [25] An energy-efficient convolutional neural network accelerator for speech classification based on FPGA and quantization
    Wen, Dong
    Jiang, Jingfei
    Dou, Yong
    Xu, Jinwei
    Xiao, Tao
    CCF TRANSACTIONS ON HIGH PERFORMANCE COMPUTING, 2021, 3 (01) : 4 - 16
  • [26] Extreme learning machine-based device displacement free activity recognition model
    Chen, Yiqiang
    Zhao, Zhongtang
    Wang, Shuangquan
    Chen, Zhenyu
    SOFT COMPUTING, 2012, 16 (09) : 1617 - 1625
  • [27] A real-time SVM-based hardware accelerator for hyperspectral images classification in FPGA
    Martins, Lucas Amilton
    Viel, Felipe
    Seman, Laio Oriel
    Bezerra, Eduardo Augusto
    Zeferino, Cesar Albenes
    MICROPROCESSORS AND MICROSYSTEMS, 2024, 104
  • [28] Extreme Learning Machine-based Crop Classification using ALOS/PALSAR Images
    Sonobe, Rei
    Tani, Hiroshi
    Wang, Xiufeng
    Kojima, Yasuhito
    Kobayashi, Nobuyuki
    JARQ-JAPAN AGRICULTURAL RESEARCH QUARTERLY, 2015, 49 (04): : 377 - 381
  • [29] T-PIM: An Energy-Efficient Processing-in-Memory Accelerator for End-to-End On-Device Training
    Heo, Jaehoon
    Kim, Junsoo
    Lim, Sukbin
    Han, Wontak
    Kim, Joo-Young
    IEEE JOURNAL OF SOLID-STATE CIRCUITS, 2023, 58 (03) : 600 - 613
  • [30] An energy-efficient convolutional neural network accelerator for speech classification based on FPGA and quantization
    Dong Wen
    Jingfei Jiang
    Yong Dou
    Jinwei Xu
    Tao Xiao
    CCF Transactions on High Performance Computing, 2021, 3 : 4 - 16