HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

ConvTextTM: An Explainable Convolutional Tsetlin Machine Framework for Text Classification

{Lei Jiao Ole-Christoffer Granmo Bimal Bhattarai}

ConvTextTM: An Explainable Convolutional Tsetlin Machine Framework for Text Classification

Abstract

Recent advancements in natural language processing (NLP) have reshaped the industry, with powerful language models such as GPT-3 achieving superhuman performance on various tasks. However, the increasing complexity of such models turns them into “black boxes”, creating uncertainty about their internal operation and decision-making. Tsetlin Machine (TM) employs human-interpretable conjunctive clauses in propositional logic to solve complex pattern recognition problems and has demonstrated competitive performance in various NLP tasks. In this paper, we propose ConvTextTM, a novel convolutional TM architecture for text classification. While legacy TM solutions treat the whole text as a corpus-specific set-of-words (SOW), ConvTextTM breaks down the text into a sequence of text fragments. The convolution over the text fragments opens up for local position-aware analysis. Further, ConvTextTM eliminates the dependency on a corpus-specific vocabulary. Instead, it employs a generic SOW formed by the tokenization scheme of the Bidirectional Encoder Representations from Transformers (BERT). The convolution binds together the tokens, allowing ConvTextTM to address the out-of-vocabulary problem as well as spelling errors. We investigate the local explainability of our proposed method using clause-based features. Extensive experiments are conducted on seven datasets, to demonstrate that the accuracy of ConvTextTM is either superior or comparable to state-of-the-art baselines.

Benchmarks

BenchmarkMethodologyMetrics
document-classification-on-wos-5736ConvTextTM
Accuracy: 91.28
fake-news-detection-on-politifactConvolutional Tsetlin Machine
1:1 Accuracy: 91.21
text-classification-on-r8ConvTextTM
Accuracy: 96.4

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
ConvTextTM: An Explainable Convolutional Tsetlin Machine Framework for Text Classification | Papers | HyperAI