A Regression Tsetlin Machine with Integer Weighted Clauses for Compact Pattern Representation

Kuruge Darshana Abeyrathna, Ole-Christoffer Granmo, Morten GoodwinarXiv 2020

Abstract

Regression models based on the Tsetlin Machine (TM) provide a transparent, logic-based alternative to traditional neural networks. However, standard Regression Tsetlin Machines (RTMs) often require a massive number of redundant clauses to achieve high-resolution output, leading to high memory and computational costs. This paper introduces the Integer Weighted Regression Tsetlin Machine (RTM-IW), which replaces redundant clauses with a single clause modified by an integer weight. Using a "stochastic searching on the line" (SPL) learning scheme, the RTM-IW maintains the interpretability of propositional logic while significantly reducing model size and improving computational efficiency.

Introduction

The quest for interpretable machine learning has led to the development of the Tsetlin Machine, which uses IF-THEN rules (propositional logic) to make decisions. In regression tasks, the standard RTM sums the outputs of many clauses to predict continuous values. To achieve high precision, a model might need to learn hundreds of identical clauses—a "brute force" approach that consumes significant memory and power. This paper addresses this bottleneck by introducing integer weights, allowing a single clause to represent the influence of many.

The Integer Weighted RTM Architecture

The core innovation of the RTM-IW is the transition from unity-weighted clauses to integer-weighted clauses. In this architecture, each clause $C_j$ is assigned an integer weight $w_j$. The final output is derived from the weighted sum of these clauses, which is then mapped to the target output range.

Figure 1: Architecture of the Regression Tsetlin Machine with weighted clauses, showing the mapping from TA teams to the final output $y$.

This structure allows the model to be much more compact. For example, a weight of "10" indicates that a specific logic pattern is ten times as influential as a standard rule, effectively replacing ten identical clauses with one. This sparsity not only saves memory but also enhances interpretability, as an integer weight can be conceptualized as the number of times a specific rule "voted" for an outcome.

Learning via Stochastic Searching on the Line (SPL)

To train these weights without resorting to energy-intensive floating-point multiplications, the authors utilize Stochastic Searching on the Line (SPL). This mechanism updates weights through simple increment and decrement operations. If the model's prediction is lower than the target, the weights of active clauses are increased; if it is higher, they are decreased. This approach is particularly well-suited for low-power hardware like FPGAs, as it relies entirely on addition and subtraction, making it a "multiplication-free" computing solution.

Experimental Results

The researchers evaluated the RTM-IW against standard RTM and real-valued weighted RTM (RTM-RW) using several artificial datasets designed to test pattern recognition and noise robustness.

Figure 3: Comparison of RTM, RTM-IW, and RTM-RW across different metrics, highlighting the reduction in the number of clauses ($m$) required for RTM-IW.

As shown in Figure 3, the RTM-IW achieves the same zero Mean Absolute Error (MAE) as the standard RTM but requires significantly fewer clauses. In one instance, the clause count was reduced from 7 to 3. Furthermore, the RTM-IW demonstrated superior performance on noisy datasets, suggesting that the discrete nature of integer weights provides a regularizing effect that prevents overfitting to noise. In complex noisy scenarios, the RTM-IW achieved lower MAE than the standard RTM while using less than half the number of clauses.

Conclusion

The Integer Weighted Regression Tsetlin Machine represents a significant step forward in making logic-based regression models practical for edge computing and high-resolution tasks. By replacing redundancy with weighted logic, the RTM-IW achieves a more compact and interpretable representation of complex patterns. Future work will focus on applying this architecture to real-world benchmarks and extending the weighting mechanism to other TM variants, such as convolutional Tsetlin Machines, to further reduce their memory footprint.

Summary updated

BibTeX
@misc{abeyrathna2020regression,
  author = {Kuruge Darshana Abeyrathna and Ole-Christoffer Granmo and Morten Goodwin},
  title = {{A Regression Tsetlin Machine with Integer Weighted Clauses for Compact Pattern Representation}},
  year = {2020},
  eprint = {2002.01245},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.01245},
}
Figure