arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.35304cs.LG
收藏

推理延迟感知的Tsetlin机训练

Inference Latency-Aware Tsetlin Machine Training

Newcastle University(纽卡斯尔大学)

Yefan Zeng, Shengyu Duan, Rishad Shafik, Alex Yakovlev

AI总结:

本研究针对Tsetlin机训练,提出定向搜索策略以在固定评估预算内增大超参数s,在保持准确率的同时降低推理延迟,经实验验证可有效减少延迟且评估成本更低。

摘要:

Tsetlin机(TM)是一种基于逻辑的机器学习模型,非常适合在资源受限的边缘设备上进行低延迟推理。由于每个子句是布尔文字的与运算,文字及其关联的Tsetlin自动机(TA)动作都可在比特级别表示,支持按位评估,且只要包含的任意文字计算结果为零,就会触发提前退出,强制子句输出为零。本研究探讨TM的两个训练超参数T和s如何同时影响分类准确率和推理延迟。基于准确率近乎恒定的T与s成反比关系,发现增加s主要可降低推理延迟;为避免在高训练成本下对(T,s)网格进行穷举搜索,提出一种定向搜索策略,将准确率作为约束条件,在固定评估预算内增大s以降低推理延迟。在搭载ARM处理器的gem5模拟器上的实验结果表明,针对某些数据集,该搜索可在保持基线准确率的同时增大s,从而以可忽略的准确率损失降低推理延迟:在六个数据集上,该方法最多可将推理延迟降低16.34%,部分数据集的准确率仅下降0.06%。该策略所需的配置评估次数远少于穷举网格搜索。

英文摘要:

The Tsetlin Machine (TM) is a logic-based machine learning model well suited to low-latency inference on resource-constrained edge devices. Because each clause is an AND over Boolean literals, both the literals and their associated Tsetlin Automaton (TA) actions can be represented at the bit level, enabling bitwise evaluation and an early exit that is triggered as soon as any included literal evaluates to zero, forcing the clause output to zero. In this work, we study how the two TM training hyperparameters, T and s, govern both classification accuracy and inference latency. Building on the inversely proportional T-s relationship along which accuracy is nearly constant, we find that inference latency is reduced primarily by increasing s; rather than exhaustively searching the (T, s) grid at high training cost, we propose a directed search strategy that treats accuracy as a constraint and advances toward larger s to reduce inference latency within a fixed evaluation budget. Experimental results on the gem5 simulator with an ARM processor show that, for certain datasets, the search is able to increase s while preserving the baseline accuracy, thereby reducing inference latency at negligible accuracy cost: across six datasets, the method reduces inference latency by up to 16.34%, while some datasets exhibit an accuracy reduction of only 0.06%. The proposed strategy requires far fewer configuration evaluations than an exhaustive grid search.

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

↑