TL;DR
Tsetlin Machines (TMs) learn human-readable logical rules, but they have a hoarding problem: they pack clauses with redundant conditions that bloat the model without improving accuracy. This paper introduces Minimal Co-Activation Feedback (TM-MCAF), a lightweight trick that uses the shortest winning rule for each training sample as a reference to trim the fat off longer, overlapping rules. Across 15 datasets, it shrinks clause sizes by up to 95%—and converges in 10–20 epochs instead of 100+—without sacrificing accuracy or adding a single hyperparameter.
What Problem Does This Paper Address?
In machine learning, there is a familiar tug-of-war between accuracy and interpretability. Deep neural networks and boosted trees are accurate but opaque, while linear models and decision trees are easy to read but often struggle on complex tasks. Tsetlin Machines (TMs) offer a compelling middle ground: they learn propositional logic rules (clauses) made of Boolean features and their negations (literals), using efficient bitwise operations instead of floating-point math.
The catch is that standard TMs are only interpretable if their rules stay compact. During training, TMs reinforce literals independently without checking whether a literal is actually needed. As a result, clauses accumulate redundant literals, growing needlessly large without boosting accuracy. Existing fixes either impose a hard cap on clause length (which can hurt accuracy) or use Type III Feedback (TM3) to estimate literal independence—a method that works, but takes many more training epochs to converge, making it sluggish for edge or resource-constrained devices.
Methods
The authors noticed that a simple signal for literal necessity is already sitting right there during training. If multiple clauses correctly fire for the same training sample $X_t$, the shortest firing clause is already sufficient to make the prediction. Any extra literals in longer, co-firing clauses are likely redundant.
TM-MCAF turns this observation into a two-step feedback rule (applied on top of standard Weighted TM):
- Build a sample-local reference set ($R_t$): For a training sample, gather all clauses of the matching polarity that fire ($F_t$), find the ones with the fewest included literals ($M_t$), and take the union of their literals as $R_t$. This reference set is transient—recomputed per sample and immediately discarded.
- Prune overlapping, bloated clauses: Compare each firing clause $C_j$'s literal set $L_j$ against $R_t$ by splitting it into an overlap ($O_j = L_j \cap R_t$) and an excess ($E_j = L_j \setminus R_t$).
- If $O_j \neq \emptyset$ and $E_j \neq \emptyset$ (it overlaps the minimal reference and has extra literals), it receives Type Ib (Erase) feedback to prune the redundant literals.
- Otherwise (it is contained in $R_t$, or completely disjoint—meaning it might represent a valid alternative sub-pattern), it receives standard Type Ia (Recognize) feedback.
Because literal sets can be stored as bit-vectors, these overlap and excess checks reduce to fast bitwise operations. The method adds no new hyperparameters or Tsetlin automata and keeps the same $O(m \cdot \bar{d})$ asymptotic complexity per sample as standard TM.
Datasets
The authors evaluate TM, TM3, and TM-MCAF across 15 datasets spanning four domains:
- Bayesian Networks (6 nodes): 3 nodes each from
PIGSandHAILFINDER(frombnlearn), which provide ground-truth Markov blankets for validating whether pruned literals are genuinely irrelevant. - Tabular (4):
HIGGS,ELECTRICITY,MAGIC, andPHISHING(from OpenML/UCI). - Image (3):
MNIST,FMNIST, andKMNIST. - Text (2):
IMDB(5,000-word vocabulary) andREUTERS(top 10 classes, 5,000-word vocabulary).
No new benchmarks were introduced; all datasets use standard preprocessing (one-hot encoding, quantile binning, threshold binarization, or multi-hot bag-of-words) to produce binary uint32 literals.
Key Insights and Ideas
- Compression happens almost immediately: While standard TM never compresses (and even grows without bound on text datasets) and TM3 takes 40–100+ epochs to gradually shrink clauses, TM-MCAF drops to its compact final clause size within 10–20 epochs on image datasets and stays flat and compact on text.
- Pruning removes noise, not signal: On Bayesian network nodes with known Markov blankets (3–4 true variables), TM-MCAF cuts wrong features per clause by 32–39% on
PIGSand 58–59% onHAILFINDER, while keeping total missing Markov blanket features at zero for 5 out of 6 nodes. - Cleaner, more positive explanations: Per-pixel literal-contribution heatmaps show that standard TM spreads diffuse positive and negative evidence across the whole image. TM-MCAF suppresses most of the negative (blue) clutter and concentrates brighter positive (red) votes onto genuinely relevant features.
Key Results
Across all 15 datasets (10 epochs, 10 seeds):
- Clause Size: TM-MCAF reduces average clause size by 27–95% relative to standard TM (62% average) and 15–95% relative to TM3 (56% average). On
REUTERS, average clause size drops from 196.15 (TM) and 188.19 (TM3) down to 9.77. The reduction is statistically significant across all 15 datasets (Wilcoxon signed-rank, $p = 6.1 \times 10^{-5}$). - Accuracy: Statistically indistinguishable from both baselines ($p = 0.121$ vs. TM; $p = 0.073$ vs. TM3), with a small positive mean shift of +0.44 percentage points overall vs. TM (matching or beating TM on 10/15 datasets and TM3 on 11/15).
Limitations and Future Work
The authors note that TM-MCAF is a heuristic feedback rule: they do not claim formal theoretical guarantees of clause sufficiency or minimality. Establishing those formal guarantees remains an open direction for future work.
Summary updated