Generalized Convergence Analysis of Tsetlin Machines: A Probabilistic Approach to Concept Learning

Mohamed-Bachir Belaid, Jivitesh Sharma, Lei Jiao, Ole-Christoffer Granmo, Per-Arne Andersen, Anis Yazidi · Submission to ICLR 2024 · Rejected

TL;DR

Tsetlin Machines offer an interpretable, logic-based alternative to deep neural networks, but proving their theoretical convergence for inputs larger than two bits has remained an open challenge. This paper introduces Probabilistic Concept Learning (PCL), a variant of the Tsetlin Machine that decouples literal updates, and provides a formal proof that a clause almost surely converges to any target conjunction of $n$ Boolean literals when its inclusion probability parameter is set between $0.5$ and $1.0$.

What Problem Does This Paper Address?

Tsetlin Machines (TMs) learn patterns expressed directly as propositional logic formulas (such as Disjunctive Normal Form, or DNF) using two-action learning automata known as Tsetlin Automata. Because they manipulate readable Boolean clauses rather than continuous numerical weights, they provide inherent interpretability.

However, mathematical proofs of TM convergence have stalled: researchers have established convergence for 1-bit and 2-bit operations (AND, OR, XOR), but the general case for $n > 2$ input bits remained unsolved. The bottleneck is clause-level interdependence: in a standard TM, whether an individual literal receives a reward or penalty depends on the truth value of the entire clause it belongs to. This coupling produces combinatorial complexity that has resisted generalized convergence proofs.

Methods

The authors propose Probabilistic Concept Learning (PCL), which modifies the learning dynamics of standard Tsetlin Machines to make theoretical analysis tractable:

  • Autonomous Literal Updates: Unlike standard TMs, PCL's feedback rules do not depend on the clause's evaluated truth value. Each Tsetlin Automaton updates its state purely based on the literal's value and the sample label.
  • No Inaction Transitions: Traditional TMs include "inaction" probabilities where states do not move; PCL eliminates these.
  • Clause-Specific Inclusion Probabilities ($p_k$): Each clause $C_k$ is assigned a distinct inclusion probability $p_k$. When a literal matches the target condition, it is rewarded with probability $p_k$; when it violates it, it is penalized accordingly.

By analyzing the distribution of literal values across all $2^n$ possible Boolean samples, the authors prove Theorem 1: for a single clause $C_k$, the probability of driving correct literals into the "Include" state and incorrect or irrelevant literals into the "Exclude" state is strictly greater than $0.5$ if and only if $0.5 < p_k < 1.0$, guaranteeing almost-sure convergence over an infinite time horizon.

Datasets

  • Synthetic Boolean Conjunctions: Exhaustive truth-table evaluations with all $2^n$ combinations for $n \in \{3, 4, 6, 8, 10\}$ features, used to evaluate convergence to randomly generated target conjunction formulas $C_T$.
  • Binary Iris Dataset: Standard benchmark converted to a binary classification task.
  • Breast Cancer Dataset: Standard medical classification benchmark.
  • Binary MNIST (0 vs. 1): Image classification distinguishing digits 0 and 1.

Key Insights and Ideas

  • Decoupling is Key: By eliminating the dependence of literal updates on overall clause evaluation, each literal's automaton acts as a Markov chain whose drift direction can be calculated independently.
  • Why $p_k$ Cannot Be $1.0$: While one might assume an inclusion probability of $1.0$ maximizes learning speed, the math reveals that irrelevant literals (features not in the target formula) only reliably drift toward "Exclude" if $1 - p_k > 0$ (i.e., $p_k < 1.0$). At $p_k = 1.0$, the algorithm overfits and fails to discard irrelevant literals.
  • Controlling Clause Sparsity: Assigning different $p_k$ values across clauses encourages diversity, enabling some clauses to capture shorter conjunctions and others to capture longer ones.

Key Results

  • Theoretical Validation: Across 100 randomly sampled target expressions on noise-free synthetic datasets, PCL achieved a 100% success rate for $n = 4, 6, 8,$ and $10$ features when $p_k = 0.75$. Standard TMs only reached $96.87\%$ ($n=6$) and $93.50\%$ ($n=10$) under identical two-clause constraints.
  • Failure Regimes: As predicted by theory, setting $p_k \le 0.5$ resulted in near-zero learning success, and setting $p_k = 1.0$ caused performance to degrade significantly.
  • Real-World Benchmarks: Despite its simplified structure, PCL remained competitive with standard machine learning baselines while using far fewer clauses:
  • Binary Iris: 94.2% accuracy (10 clauses) vs. 95.0% for TM (300 clauses) and 93.6% for SVM.
  • Breast Cancer: 69.5% accuracy (10 clauses) vs. 70.6% for TM (300 clauses).
  • Binary MNIST: Reached 96% accuracy distinguishing 0s from 1s.

Limitations and Future Work

  • Not a Direct Proof for Vanilla TMs: The proof applies to PCL, not original Tsetlin Machines. While PCL provides a stepping stone, proving general convergence for the fully coupled vanilla TM feedback mechanism remains open.
  • Uniform Sample Distribution Assumption: The convergence proof relies on receiving feedback across all $2^n$ sample possibilities; extending guarantees to arbitrary or biased empirical data distributions is left for future research.
  • Multi-Class Expansion: The current formalization focuses on single conjunctions and binary classification; scaling to multi-class problems and larger real-world datasets is noted as a key next step.

Summary updated

BibTeX
@misc{belaid2023generalized,
  author = {Mohamed-Bachir Belaid and Jivitesh Sharma and Lei Jiao and Ole-Christoffer Granmo and Per-Arne Andersen and Anis Yazidi},
  title = {{Generalized Convergence Analysis of Tsetlin Machines: A Probabilistic Approach to Concept Learning}},
  year = {2023},
  eprint = {2310.02005},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.02005},
}
Figure