English

Building Concise Logical Patterns by Constraining Tsetlin Machine Clause Size

Machine Learning 2023-01-20 v1 Artificial Intelligence Logic in Computer Science

Abstract

Tsetlin machine (TM) is a logic-based machine learning approach with the crucial advantages of being transparent and hardware-friendly. While TMs match or surpass deep learning accuracy for an increasing number of applications, large clause pools tend to produce clauses with many literals (long clauses). As such, they become less interpretable. Further, longer clauses increase the switching activity of the clause logic in hardware, consuming more power. This paper introduces a novel variant of TM learning - Clause Size Constrained TMs (CSC-TMs) - where one can set a soft constraint on the clause size. As soon as a clause includes more literals than the constraint allows, it starts expelling literals. Accordingly, oversized clauses only appear transiently. To evaluate CSC-TM, we conduct classification, clustering, and regression experiments on tabular data, natural language text, images, and board games. Our results show that CSC-TM maintains accuracy with up to 80 times fewer literals. Indeed, the accuracy increases with shorter clauses for TREC, IMDb, and BBC Sports. After the accuracy peaks, it drops gracefully as the clause size approaches a single literal. We finally analyze CSC-TM power consumption and derive new convergence properties.

Keywords

Cite

@article{arxiv.2301.08190,
  title  = {Building Concise Logical Patterns by Constraining Tsetlin Machine Clause Size},
  author = {K. Darshana Abeyrathna and Ahmed Abdulrahem Othman Abouzeid and Bimal Bhattarai and Charul Giri and Sondre Glimsdal and Ole-Christoffer Granmo and Lei Jiao and Rupsa Saha and Jivitesh Sharma and Svein Anders Tunheim and Xuan Zhang},
  journal= {arXiv preprint arXiv:2301.08190},
  year   = {2023}
}

Comments

17 pages, 4 figures

R2 v1 2026-06-28T08:15:34.149Z