NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Human Interpretable AI: Enhancing Tsetlin Machine Stochasticity with Drop Clause

Jivitesh Sharma, Rohan Kumar Yadav, Ole-Christoffer Granmo, Lei Jiao

Abstract

In this article, we introduce a novel variant of the Tsetlin machine (TM) that randomly drops clauses, the key learning elements of a TM. In effect, TM with drop clause ignores a random selection of the clauses in each epoch, selected according to a predefined probability. In this way, additional stochasticity is introduced in the learning phase of TM. To explore the effects drop clause has on accuracy, training time, interpretability and robustness, we conduct extensive experiments on nine benchmark datasets in natural language processing (NLP) and image classification. Our proposed model outperforms baseline machine learning algorithms by a wide margin and achieves competitive performance in comparison with recent deep learning models such as BERT and AlexNET-DFA. In brief, we observe up to +10% increase in accuracy and 2x to 4x faster learning compared with standard TM. We further employ the Convolutional TM to document interpretable results on the CIFAR datasets, visualizing how the heatmaps produced by the TM become more interpretable with drop clause.

Introduction

While Deep Learning (DL) dominates the current AI landscape, its "black box" nature poses significant challenges for high-stakes applications in fields like healthcare and law. The Tsetlin Machine (TM) offers a compelling alternative by being natively interpretable. Instead of complex calculus and floating-point weights, TMs utilize propositional logic (AND/OR rules) and operate on bits, making them exceptionally hardware-efficient.

However, standard TMs often suffer from a redundancy problem where they overfit by using multiple clauses to capture the same noise or redundant patterns. Simply reducing the number of clauses typically degrades performance. This research introduces Drop Clause (DC), a regularization technique designed to force the TM to learn more diverse and robust patterns without sacrificing simplicity.

Methodology: The Drop Clause Mechanism

Drop Clause is inspired by the Dropout technique used in neural networks. In a standard TM, an ensemble of logical clauses votes on the final classification. With DC, each clause is assigned a probability $p$ of being "dropped" or ignored during a specific training epoch.

This mechanism introduces three primary benefits:

  1. Forced Learning: Dropping "strong" clauses forces the remaining clauses to learn patterns they might otherwise ignore.
  2. Diversity: It prevents the model from relying on a few redundant rules, leading to a broader set of logical expressions.
  3. Efficiency: Dropped clauses are not updated during that epoch, reducing computational overhead and accelerating training.

Interpretability and Robustness

A key advantage of the TM is its transparency. The researchers evaluated how DC affects the clarity of the learned logic across both text and image domains.

Interpretability in NLP

In NLP tasks, clauses produced with DC were found to be significantly more intuitive. Without DC, models often rely on nonsensical word combinations to reach a decision. With DC, the model focuses on clear semantic indicators, such as specific negations (e.g., "NOT honest").

Comparison of NLP sentiment analysis interpretability with and without drop clause.

Visualizing Image Interpretability

For image classification, the Convolutional Tsetlin Machine (CTM) was used. By visualizing the heatmaps of which pixels trigger specific clauses, the researchers demonstrated that DC leads to more focused and interpretable feature detection, as seen in the ship classification task below.

Heatmaps for image classification (ship) comparing standard TM (p=0) and TM with drop clause (p=0.5).

Experimental Results

The proposed model was tested across nine benchmarks, including IMDb, Reuters (R8, R52), MNIST, and CIFAR-10/100.

  • Accuracy: On the IMDb dataset, accuracy increased by over 4%. On the challenging CIFAR-100, accuracy rose from 35.5% to 45.2%.
  • Speed: Training times for CIFAR-10 were nearly halved (from ~62s to ~33s per epoch) when using a 50% drop rate.
  • Robustness: When tested on MNIST-C (corrupted digits), the DC-enabled version showed significantly higher resilience to noise, with accuracy dropping only 7.7% compared to the standard CTM's 11% drop.

Conclusion

Drop Clause significantly enhances the Tsetlin Machine's performance, speed, and interpretability. While TMs still face challenges in handling high-dimensional continuous embeddings and very high-resolution images due to the "Booleanization" gap, DC moves the architecture closer to being a viable, transparent alternative to deep neural networks. Future work will focus on improving bit-encoding for continuous data to bridge the remaining performance gap.

Summary updated

BibTeX
@misc{sharma2021human,
  author = {Jivitesh Sharma and Rohan Kumar Yadav and Ole-Christoffer Granmo and Lei Jiao},
  title = {{Human Interpretable AI: Enhancing Tsetlin Machine Stochasticity with Drop Clause}},
  year = {2021},
  eprint = {2105.14506},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.14506},
}
Figure