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 条
  • [31] 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
    [J]. IEEE JOURNAL OF SOLID-STATE CIRCUITS, 2023, 58 (03) : 600 - 613
  • [32] A comprehensive support vector machine-based classification model for soil quality assessment
    Liu, Yong
    Wang, Huifeng
    Zhang, Hong
    Liber, Karsten
    [J]. SOIL & TILLAGE RESEARCH, 2016, 155 : 19 - 26
  • [33] Machine-Based Learning System: Classification of ADHD and non-ADHD participants
    Oztoprak, Hseyin
    Toycan, Mehmet
    Alp, Yasar Kemal
    Arikan, Orhan
    Dogutepe, Elvin
    Karakas, Sirel
    [J]. 2017 25TH SIGNAL PROCESSING AND COMMUNICATIONS APPLICATIONS CONFERENCE (SIU), 2017,
  • [34] Research on multimedia image classification technology based on chaos optimization machine learning algorithm
    Yan Zhang
    Rui Zhang
    [J]. Multimedia Tools and Applications, 2021, 80 : 22645 - 22656
  • [35] Human-Machine Interaction Issues in Quality Control Based on Online Image Classification
    Lughofer, Edwin
    Smith, James E.
    Tahir, Muhammad Atif
    Caleb-Solly, Praminda
    Eitzinger, Christian
    Sannen, Davy
    Nuttin, Marnix
    [J]. IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART A-SYSTEMS AND HUMANS, 2009, 39 (05): : 960 - 971
  • [36] Research on multimedia image classification technology based on chaos optimization machine learning algorithm
    Zhang, Yan
    Zhang, Rui
    [J]. MULTIMEDIA TOOLS AND APPLICATIONS, 2021, 80 (15) : 22645 - 22656
  • [37] Joint learning method with teacher-student knowledge distillation for on-device breast cancer image classification
    Sepahvand, Majid
    Abdali-Mohammadi, Fardin
    [J]. COMPUTERS IN BIOLOGY AND MEDICINE, 2023, 155
  • [38] A Novel Image Classification Algorithm Based on Extreme Learning Machine
    Yu Jing
    Song Wei
    Li Ming
    Hou Jianjun
    Wang Nan
    [J]. CHINA COMMUNICATIONS, 2015, 12 (02) : 48 - 54
  • [39] A Novel Image Classification Algorithm Based on Extreme Learning Machine
    YU Jing
    SONG Wei
    LI Ming
    HOU Jianjun
    WANG Nan
    [J]. China Communications, 2015, (S2) : 48 - 54
  • [40] An FPGA-Based Reconfigurable Accelerator for Low-Bit DNN Training
    Shao, Haikuo
    Lu, Jinming
    Lin, Jun
    Wang, Zhongfeng
    [J]. 2021 IEEE COMPUTER SOCIETY ANNUAL SYMPOSIUM ON VLSI (ISVLSI 2021), 2021, : 254 - 259