Are We Really Making Much Progress in Text Classification? A Comparative Review

Ansgar Scherp, Andor Diera, Fabian Karl, Bao Xin Lin, Bhakti Khera +3 more
4/8/2022
cs.CL
survey

No official code found. Best implementation: drndr/multilabel-text-clf (20 stars, Python, last commit 2023-03-03).

Abstract

We survey the literature on single-label, multi-label, and hierarchical text classification and provide a quantitative comparison of methods categorized into bag-of-words, sequence-based, and graph- or hierarchy-based approaches. Despite a recent surge in graph-based methods, they do not provide an improvement over fine-tuned transformer models on most evaluated datasets.

Show full abstract

Decoder-only generative language models show promise in few-shot in-context learning, but appear to lag behind fine-tuned language models when sufficient training data is available. The amount of training data needed for a fine-tuned language model to exceed the performance of a generative model is task-dependent. We further highlight the variance in reported numbers across the literature when applying the same model to the same dataset, which can be traced to the use of different hyperparameter values, such as the fine-tuning learning rate. For practitioners, we recommend using a fine-tuned language model when sufficient training data is available. Otherwise, a frozen generative model, enhanced by few-shot in-context learning or reasoning, is preferable. The source code and further information are available at: https://github.com/ascherp/text-classification-survey

View on arXivView PDF

Code Implementations(1)

204Python, Jupyter NotebookFeb 28, 20223 years ago

Similar Papers

Cite this paper

@article{scherp2022really,
  title  = {Are We Really Making Much Progress in Text Classification? A Comparative Review},
  author = {Ansgar Scherp and Andor Diera and Fabian Karl and Bao Xin Lin and Bhakti Khera and Tim Meuser and Tushar Singhal and Lukas Galke},
  year   = {2022},
  eprint = {2204.03954},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.03954}
}

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/2204.03954.svg)](https://codeofpaper.com/paper/2204.03954)

Discussion