arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.19347cs.LGcs.AR
收藏

全数字 8.6-nJ/帧 65-nm Tsetlin Machine 图像分类加速器

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

The University of Agder(阿格德大学);Centre for Artificial Intelligence Research (CAIR)(人工智能研究中心);School of Engineering(工程学院);Newcastle University(新castle大学)

Svein Anders Tunheim, Yujin Zheng, Lei Jiao, Rishad Shafik, Alex Yakovlev, Ole-Christoffer Granmo

AI总结:

提出基于 Tsetlin machine 的全数字图像分类加速器芯片,采用 65nm CMOS 工艺,实现高能效与高准确率,匹配软件模型性能。

摘要:

我们提出了一款用于图像分类的全数字可编程机器学习加速器芯片,基于 Tsetlin machine (TM) 原理。TM 是一种基于命题逻辑的新兴机器学习算法,利用称为子句的子模式识别表达式。该加速器实现了带卷积的合并 TM 版本,对 28×28 像素的 10 类布尔化图像进行分类。在高度并行的架构中使用了 128 个子句的配置。通过将所有子句权重和 Tsetlin automata (TA) 动作信号保存在寄存器中,实现了快速子句评估。芯片采用 65 nm 低功耗 CMOS 技术实现,占用 2.7 mm² 的有效面积。在 27.8 MHz 时钟频率下,加速器实现每秒 60.3k 次分类,每次分类消耗 8.6 nJ。这证明了 TM 的能效,这也是开发此芯片的主要动机。分类单张图像的延迟为 25.4 μs,包含系统时序开销。加速器在 MNIST、Fashion-MNIST 和 Kuzushiji-MNIST 数据集上分别达到 97.42%、84.54% 和 82.55% 的测试准确率,与 TM 软件模型相匹配。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑