On the Convergence of Tsetlin Machines for the XOR Operator

Lei Jiao, Xuan Zhang, Ole-Christoffer Granmo, K. Darshana Abeyrathna
1/7/2021
cs.LGcs.AIcs.LO

Official code: cair/TM-XOR-proof (5 stars, last commit 2022-08-24).

Abstract

The Tsetlin Machine (TM) is a novel machine learning algorithm with several distinct properties, including transparent inference and learning using hardware-near building blocks. Although numerous papers explore the TM empirically, many of its properties have not yet been analyzed mathematically. In this article, we analyze the convergence of the TM when input is non-linearly related to output by the XOR-operator. Our analysis reveals that the TM, with just two conjunctive clauses, can converge almost surely to reproducing XOR, learning from training data over an infinite time horizon. Furthermore, the analysis shows how the hyper-parameter T guides clause construction so that the clauses capture the distinct sub-patterns in the data. Our analysis of convergence for XOR thus lays the foundation for analyzing other more complex logical expressions. These analyses altogether, from a mathematical perspective, provide new insights on why TMs have obtained state-of-the-art performance on several pattern recognition problems

View on arXivView PDF

Code Implementations(1)

cair/TM-XOR-proofOfficial100%

#tsetlin-machine #machine-learning #game-theory #propositional-logic #pattern-recognition #bandit-learning #frequent-pattern-mining #learning-automata

51Cython, PythonNov 13, 20204 years ago

Cite this paper

@article{jiao2021convergence,
  title  = {On the Convergence of Tsetlin Machines for the XOR Operator},
  author = {Lei Jiao and Xuan Zhang and Ole-Christoffer Granmo and K. Darshana Abeyrathna},
  year   = {2021},
  eprint = {2101.02547},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.02547}
}

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/2101.02547.svg)](https://codeofpaper.com/paper/2101.02547)

Discussion