ETHEREAL:使用压缩Tsetlin机实现高能效与高吞吐量推理
ETHEREAL: Energy-efficient and High-throughput Inference using Compressed Tsetlin Machine
AI总结:
针对Tsetlin机(TM)中文字被同一类正负子句抵消的特性,提出ETHEREAL压缩方法,通过迭代排除自动机状态稀疏逻辑模式,在8个TinyML数据集上实现模型大小减少87.54%、推理能耗和时间较BNNs降一个数量级、内存小于RFs且精度损失小。
摘要:
Tsetlin机(TM)是深度神经网络(DNNs)的新型替代方案。与依赖多路径算术运算的DNNs不同,TM利用Tsetlin自动机从数据文字中学习命题逻辑模式。这种从算术到逻辑基础的根本性转变,使TM适合通过低成本实现赋能新应用。在TM中,文字常被同一类内的正子句和负子句同时包含,抵消了它们对单个类定义的影响。这一特性可用于开发压缩TM模型,为机器学习(ML)应用实现高能效和高吞吐量推理。我们提出一种训练方法,纳入排除自动机状态以稀疏化正、负子句中的TM逻辑模式。这种排除是迭代的,确保高度类相关(因此重要)的文字被保留在压缩推理模型ETHEREAL中,以维持较强的分类精度。与标准TM相比,ETHEREAL TM模型可将模型大小减少高达87.54%,且精度仅略有下降。我们在STM32F746G-DISCO平台上,针对8个真实世界的微型机器学习(TinyML)数据集,将该压缩方法与标准TM、等效随机森林(RF)和二值化神经网络(BNN)进行验证。结果显示,ETHEREAL TM模型的推理时间和能耗比BNNs降低了一个数量级以上(从而实现更高吞吐量),同时内存占用显著小于RFs。
英文摘要:
The Tsetlin Machine (TM) is a novel alternative to deep neural networks (DNNs). Unlike DNNs, which rely on multi-path arithmetic operations, a TM learns propositional logic patterns from data literals using Tsetlin automata. This fundamental shift from arithmetic to logic underpinning makes TM suitable for empowering new applications with low-cost implementations. In TM, literals are often included by both positive and negative clauses within the same class, canceling out their impact on individual class definitions. This property can be exploited to develop compressed TM models, enabling energy-efficient and high-throughput inferences for machine learning (ML) applications. We introduce a training approach that incorporates excluded automata states to sparsify TM logic patterns in both positive and negative clauses. This exclusion is iterative, ensuring that highly class-correlated (and therefore significant) literals are retained in the compressed inference model, ETHEREAL, to maintain strong classification accuracy. Compared to standard TMs, ETHEREAL TM models can reduce model size by up to 87.54%, with only a minor accuracy compromise. We validate the impact of this compression on eight real-world Tiny machine learning (TinyML) datasets against standard TM, equivalent Random Forest (RF) and Binarized Neural Network (BNN) on the STM32F746G-DISCO platform. Our results show that ETHEREAL TM models achieve over an order of magnitude reduction in inference time (resulting in higher throughput) and energy consumption compared to BNNs, while maintaining a significantly smaller memory footprint compared to RFs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。