The Tsetlin Machine -- A Game Theoretic Bandit Driven Approach to Optimal Pattern Recognition with Propositional Logic

Ole-Christoffer Granmo
4/4/2018
cs.AIcs.CVcs.LG

Official code: cair/TsetlinMachine (509 stars, MIT, last commit 2026-02-10). 1 more implementation below.

Abstract

Although simple individually, artificial neurons provide state-of-the-art performance when interconnected in deep networks. Arguably, the Tsetlin Automaton is an even simpler and more versatile learning mechanism, capable of solving the multi-armed bandit problem. Merely by means of a single integer as memory, it learns the optimal action in stochastic environments through increment and decrement operations. In this paper, we introduce the Tsetlin Machine, which solves complex pattern recognition problems with propositional formulas, composed by a collective of Tsetlin Automata. To eliminate the longstanding problem of vanishing signal-to-noise ratio, the Tsetlin Machine orchestrates the automata using a novel game. Further, both inputs, patterns, and outputs are expressed as bits, while recognition and learning rely on bit manipulation, simplifying computation. Our theoretical analysis establishes that the Nash equilibria of the game align with the propositional formulas that provide optimal pattern recognition accuracy. This translates to learning without local optima, only global ones. In five benchmarks, the Tsetlin Machine provides competitive accuracy compared with SVMs, Decision Trees, Random Forests, Naive Bayes Classifier, Logistic Regression, and Neural Networks. We further demonstrate how the propositional formulas facilitate interpretation. In conclusion, we believe the combination of high accuracy, interpretability, and computational simplicity makes the Tsetlin Machine a promising tool for a wide range of domains.

View on arXivView PDF

Code Implementations(2)

MIT

Code and datasets for the Tsetlin Machine

50958Cython, PythonApr 2, 20188 months agoMIT
bandit-learningfrequent-pattern-mininggame-theorylearning-automatamachine-learning+3 more
MIT

A fast Tsetlin Machine implementation employing bit-wise operators, with MNIST demo.

7012C, MakefileDec 30, 20187 years agoMIT
artificial-intelligencebitwise-operatorsexplainable-aifrequent-pattern-miningmachine-learning+4 more

Similar Papers

Cite this paper

@article{granmo2018tsetlin,
  title  = {The Tsetlin Machine -- A Game Theoretic Bandit Driven Approach to Optimal Pattern Recognition with Propositional Logic},
  author = {Ole-Christoffer Granmo},
  year   = {2018},
  eprint = {1804.01508},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1804.01508}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1804.01508.svg)](https://codeofpaper.com/paper/1804.01508)

Discussion