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

Fabian Karl, Ansgar Scherp
11/30/2022
cs.CL
transformer-attention

Official code: FKarl/short-text-classification (45 stars, Python, MIT, last commit 2022-11-30).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

This repository contains code to reproduce the results in our paper "Transformers are Short Text Classifiers: A Study of Inductive Short Text Classifiers on Benchmarks and Real-world Datasets".

456Python, Jupyter NotebookNov 30, 20224 years agoMIT
bert-fine-tuningnatural-language-processingnlpshort-textshort-text-classification+2 more

Similar Papers

Cite this paper

@article{karl2022transformers,
  title  = {Transformers are Short Text Classifiers: A Study of Inductive Short Text Classifiers on Benchmarks and Real-world Datasets},
  author = {Fabian Karl and Ansgar Scherp},
  year   = {2022},
  eprint = {2211.16878},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.16878}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.16878.svg)](https://codeofpaper.com/paper/2211.16878)

Discussion