An All-digital 8.6-nJ/Frame 65-nm Tsetlin Machine Image Classification Accelerator

Svein Anders Tunheim, Yujin Zheng, Lei Jiao, Rishad Shafik, Alex Yakovlev +1 more
1/31/2025
cs.LGcs.AR

No official code found. Best implementation: satunheim/ConvCoTM-FPGA-28x28 (7 stars, MIT, last commit 2025-04-11). 1 more below.

Abstract

We present an all-digital programmable machine learning accelerator chip for image classification, underpinning on the Tsetlin machine (TM) principles. The TM is an emerging machine learning algorithm founded on propositional logic, utilizing sub-pattern recognition expressions called clauses. The accelerator implements the coalesced TM version with convolution, and classifies booleanized images of 28$\times$28 pixels with 10 categories. A configuration with 128 clauses is used in a highly parallel architecture. Fast clause evaluation is achieved by keeping all clause weights and Tsetlin automata (TA) action signals in registers. The chip is implemented in a 65 nm low-leakage CMOS technology, and occupies an active area of 2.7 mm$^2$. At a clock frequency of 27.8 MHz, the accelerator achieves 60.3k classifications per second, and consumes 8.6 nJ per classification. This demonstrates the energy-efficiency of the TM, which was the main motivation for developing this chip. The latency for classifying a single image is 25.4 $μ$s which includes system timing overhead. The accelerator achieves 97.42%, 84.54% and 82.55% test accuracies for the datasets MNIST, Fashion-MNIST and Kuzushiji-MNIST, respectively, matching the TM software models.

View on arXivView PDF

Code Implementations(2)

MIT

VHDL code for an FPGA implementation of a Convolutional Coalesced Tsetlin Machine-based Image Classification Accelerator with On-Device Training

70C, TclFeb 29, 20241 years agoMIT
MIT

VHDL code for an FPGA implementation of a Convolutional Coalesced Tsetlin Machine-based Image Classification Accelerator

50C, TclFeb 4, 20251 years agoMIT

Similar Papers

Cite this paper

@article{tunheim2025alldigital,
  title  = {An All-digital 8.6-nJ/Frame 65-nm Tsetlin Machine Image Classification Accelerator},
  author = {Svein Anders Tunheim and Yujin Zheng and Lei Jiao and Rishad Shafik and Alex Yakovlev and Ole-Christoffer Granmo},
  year   = {2025},
  eprint = {2501.19347},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.19347v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.19347.svg)](https://codeofpaper.com/paper/2501.19347)

Discussion