HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Transformers are Short Text Classifiers: A Study of Inductive Short Text Classifiers on Benchmarks and Real-world Datasets

Fabian Karl Ansgar Scherp

Transformers are Short Text Classifiers: A Study of Inductive Short Text Classifiers on Benchmarks and Real-world Datasets

Abstract

Short text classification is a crucial and challenging aspect of Natural Language Processing. For this reason, there are numerous highly specialized short text classifiers. However, in recent short text research, State of the Art (SOTA) methods for traditional text classification, particularly the pure use of Transformers, have been unexploited. In this work, we examine the performance of a variety of short text classifiers as well as the top performing traditional text classifier. We further investigate the effects on two new real-world short text datasets in an effort to address the issue of becoming overly dependent on benchmark datasets with a limited number of characteristics. Our experiments unambiguously demonstrate that Transformers achieve SOTA accuracy on short text classification tasks, raising the question of whether specialized short text techniques are necessary.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
text-classification-on-mrBERT
Accuracy: 86.94
text-classification-on-mrALBERTv2
Accuracy: 86.02
text-classification-on-mrERNIE 2.0
Accuracy: 88.97
text-classification-on-mrERNIE 2.0 (optimized)
Accuracy: 89.53
text-classification-on-mrDistilBERT
Accuracy: 85.31
text-classification-on-mrRoBERTa
Accuracy: 89.42
text-classification-on-mrDeBERTa
Accuracy: 90.21
text-classification-on-nice-2RoBERTa
Accuracy: 99.76
text-classification-on-nice-45BERT
Accuracy: 72.79
text-classification-on-r8SGNN
Accuracy: 98.09
text-classification-on-r8C-BERT (ESGNN + BERT)
Accuracy: 98.28
text-classification-on-r8ESGNN
Accuracy: 98.23
text-classification-on-r8DistilBERT
Accuracy: 97.981
text-classification-on-r8fastText
Accuracy: 96.13
text-classification-on-r8WideMLP
Accuracy: 96.98
text-classification-on-r8ERNIE 2.0
Accuracy: 98.041
text-classification-on-r8DeBERTa
Accuracy: 98.451
text-classification-on-r8BERT
Accuracy: 98.171
text-classification-on-r8ALBERTv2
Accuracy: 97.62
text-classification-on-searchsnippetsBERT
Accuracy: 88.2
text-classification-on-searchsnippetsDistilBERT
Accuracy: 89.69
text-classification-on-sst-2BERT
Accuracy: 91.37
text-classification-on-sst-2DeBERTa
Accuracy: 94.78
text-classification-on-stops-2ERNIE 2.0
STOPS-2: 99.88
text-classification-on-stops-41DeBERTa
Accuracy: 89.73
text-classification-on-trec-10BERT
Accuracy: 99.40
text-classification-on-twitterBERT
Accuracy: 99.96
text-classification-on-twitterDistilBERT
Accuracy: 99.96
text-classification-on-twitterERNIE 2.0
Accuracy: 99.97

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