arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.06982cs.LG
收藏

FastOmniTMAE:并行子句学习用于可扩展且硬件高效的Tsetlin嵌入

FastOmniTMAE: Parallel Clause Learning for Scalable and Hardware-Efficient Tsetlin Embeddings

Department of ICT University of Agder(信息与通信技术系阿格德大学);School of Engineering Newcastle University(工程学院新castle大学)

Ahmed K. Kadhim, Lei Jiao, Rishad Shafik, Ole-Christoffer Granmo, Mayur Kishor Shende

AI总结:

本文提出FastOmniTMAE,通过并行评估和更新阶段提升训练效率,实现分类任务5倍加速,同时在FPGA和SoC上实现高效逻辑嵌入学习。

摘要:

自然语言处理中的嵌入模型日益依赖深度架构如BERT,而更简单的Word2Vec提供高效表示但解释性有限。Tsetlin机(TM)提供了一种替代的逻辑学习范式。Omni TM自动编码器(Omni TM-AE)通过在单个子句层内利用自动机状态分布来应用此范式进行静态嵌入,但其训练过程仍较慢。本文提出FastOmniTMAE,是一种重新表述的Omni TM-AE,通过将顺序训练依赖替换为两阶段并行过程:评估和更新。使用单次运行多环境基准测试,涵盖分类、相似性和聚类,FastOmniTMAE在分类任务中实现了高达5倍的训练加速,同时在Spearman和Kendall相似性度量下保持可比的嵌入质量。为了解决TM在传统GPU上的有限效率,我们进一步在SoC-FPGA平台上实现FastOmniTMAE作为可重用的加速器。多硬件基准测试显示,FastOmniTMAE在资源受限的FPGA上达到相似性分数0.669,在UltraScale+ SoC上达到0.696,证明了在小硬件足迹下高效逻辑嵌入训练的可能性。

英文摘要:

Embedding models in natural language processing (NLP) increasingly rely on deep architectures such as BERT, while simpler models such as Word2Vec provide efficient representations but limited interpretability. The Tsetlin Machine (TM) offers an alternative logic-based learning paradigm. Omni TM Autoencoder (Omni TM-AE) applies this paradigm to static embedding by exploiting automaton state distributions within a single clause layer, but its training process remains slow. In this work, we propose FastOmniTMAE, a reformulation of Omni TM-AE that replaces sequential training dependencies with a two-stage parallel process: evaluation and update. Using a Single-Run Multi-Environment Benchmark covering classification, similarity, and clustering, FastOmniTMAE achieves up to 5$\times$ faster training in classification while maintaining comparable embedding quality under both Spearman and Kendall similarity measures. To address the limited efficiency of TM training on conventional GPUs, we further implement FastOmniTMAE as a reusable accelerator on SoC-FPGA platforms. The Multi-Hardware Benchmark shows that FastOmniTMAE achieves similarity scores of 0.669 on a resource-constrained FPGA and 0.696 on an UltraScale+ SoC, demonstrating efficient logic-based embedding training with a small hardware footprint.

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

↑