paper-with-me

홈 › Papers

Coalesced Multi-Output Tsetlin Machines with Clause Sharing

2021-08-17 · Sondre Glimsdal, Ole-Christoffer Granmo

Using finite-state machines to learn patterns, Tsetlin machines (TMs) have obtained competitive accuracy and learning speed across several benchmarks, with frugal memory- and energy footprint. A TM represents patterns as conjunctive clauses in propositional logic (AND-rules), each clause voting for or against a particular output. While efficient for single-output problems, one needs a separate TM per output for multi-output problems. Employing multiple TMs hinders pattern reuse because each TM then operates in a silo. In this paper, we introduce clause sharing, merging multiple TMs into a single one. Each clause is related to each output by using a weight. A positive weight makes the clause vote for output $1$, while a negative weight makes the clause vote for output $0$. The clauses thus coalesce to produce multiple outputs. The resulting coalesced Tsetlin Machine (CoTM) simultaneously learns both the weights and the composition of each clause by employing interacting Stochastic Searching on the Line (SSL) and Tsetlin Automata (TA) teams. Our empirical results on MNIST, Fashion-MNIST, and Kuzushiji-MNIST show that CoTM obtains significantly higher accuracy than TM on $50$- to $1$K-clause configurations, indicating an ability to repurpose clauses. E.g., accuracy goes from $71.99$% to $89.66$% on Fashion-MNIST when employing $50$ clauses per class (22 Kb memory). While TM and CoTM accuracy is similar when using more than $1$K clauses per class, CoTM reaches peak accuracy $3\times$ faster on MNIST with $8$K clauses. We further investigate robustness towards imbalanced training data. Our evaluations on imbalanced versions of IMDb- and CIFAR10 data show that CoTM is robust towards high degrees of class imbalance. Being able to share clauses, we believe CoTM will enable new TM application domains that involve multiple outputs, such as learning language models and auto-encoding.

📄 PDF Abstract BibTeX arXiv:2108.07594

Code (7)

cair/pycoalescedtsetlinmachinecuda 공식 구현
cair/PyTsetlinMachineCUDA
cair/TsetlinMachine
cair/pyTsetlinMachine
cair/pyTsetlinMachineMT
cair/pyTsetlinMachineParallel
ckinateder/pytsetlinmachineparallel

Similar Papers 제목 키워드 기반

Fuzzy-Pattern Tsetlin Machine

2025-08-11 · Artem Hnilov arxiv

The "all-or-nothing" clause evaluation strategy is a core mechanism in the Tsetlin Machine (TM) family of algorithms. In this approach, each clause - a logical pattern composed of binary literals mapped to input data - i…

IMPACT:InMemory ComPuting Architecture Based on Y-FlAsh Technology for Coalesced Tsetlin Machine Inference

2024-12-04 · Omar Ghazal, Wei Wang, Shahar Kvatinsky, Farhad Merchant 외

The increasing demand for processing large volumes of data for machine learning models has pushed data bandwidth requirements beyond the capability of traditional von Neumann architecture. In-memory computing (IMC) has r…

A Novel Approach To Implementing Knowledge Distillation In Tsetlin Machines

2025-04-02 · Calvin Kinateder

The Tsetlin Machine (TM) is a propositional logic based model that uses conjunctive clauses to learn patterns from data. As with typical neural networks, the performance of a Tsetlin Machine is largely dependent on its p…

Knowledge Distillationtext-classificationText Classification

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

2025-01-31 · Svein Anders Tunheim, Yujin Zheng, Lei Jiao, Rishad Shafik 외

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 proposit…

Allimage-classificationImage Classification

Extending the Tsetlin Machine With Integer-Weighted Clauses for Increased Interpretability

2020-05-11 · K. Darshana Abeyrathna, Ole-Christoffer Granmo, Morten Goodwin

Despite significant effort, building models that are both interpretable and accurate is an unresolved challenge for many pattern recognition problems. In general, rule-based and linear models lack accuracy, while deep le…