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

Andor Diera, Bao Xin Lin, Bhakti Khera, Tim Meuser, Tushar Singhal, Lukas Galke, Ansgar Scherp, Singhal, Tushar · DOI

Abstract

We analyze various methods for single-label and multi-label text classification across well-known datasets, categorizing them into bag-of-words, sequence-based, graph-based, and hierarchical approaches. Despite the surge in methods like graph-based models, encoder-only pre-trained language models, notably BERT, remain state-of-the-art. However, recent findings suggest simpler models like logistic regression and trigram-based SVMs outperform newer techniques. While decoder-only generative language models show promise in learning with limited data, they lag behind encoder-only models in performance. We emphasize the superiority of discriminative language models like BERT over generative models for supervised tasks. Additionally, we highlight the literature's lack of robustness in method comparisons, particularly concerning basic hyperparameter optimizations like learning rate in fine-tuning encoder-only language models. Data availability: The source code is available at https://github.com/drndr/multilabel-text-clf All datasets used for our experiments are publicly available except the NYT dataset.

Introduction: A Reality Check for NLP

In the fast-moving world of Natural Language Processing (NLP), new papers claim "State-of-the-Art" (SOTA) status almost weekly. However, a troubling trend has emerged: many of these new methods are compared against "undertuned" baselines. If the learning rate for a standard BERT model is not optimized, a complex new architecture might appear superior when it actually is not. This paper serves as a necessary reality check, conducting an extensive comparative review and original experiments to determine if complex new methods—particularly Graph Neural Networks (GNNs)—actually outperform well-tuned standard models.

Taxonomy of Text Classification

To evaluate progress systematically, the authors categorized the vast landscape of text classification into four primary families of methods and three main task types. This taxonomy allows for a structured comparison across different architectural paradigms.

Taxonomy of text classification methods and tasks.

Method Families

  • Bag-of-Words (BoW): Ranging from classical SVMs to "WideMLPs" (multi-layer perceptrons). These ignore word order but remain highly efficient.
  • Sequence-based: Includes RNNs, CNNs, and Small Language Models (SLMs) like BERT, RoBERTa, and DeBERTa that process text as a linear sequence.
  • Large Language Models (LLMs): Generative, decoder-only models like GPT-3.5 used primarily with in-context learning (prompting).
  • Graph-based: Methods that represent a text corpus as a graph of word and document nodes (e.g., TextGCN) or utilize graphs to model label hierarchies.

Key Insights and Empirical Findings

The "Baseline Nerfing" Phenomenon

A critical finding of this study is that BERT's performance can swing by as much as 13 percentage points based on the learning rate alone. Many papers reporting "progress" were likely comparing their novel models against a poorly trained BERT baseline. When properly tuned, these standard models often reclaim the SOTA title.

The Redundancy of Synthetic Graphs

For topical classification, turning text into a synthetic graph (word-to-word or word-to-doc edges) rarely adds value. According to the "Data Processing Inequality," if the information isn't present in the raw text, a graph transformation won't magically create it. In inductive settings—where the model encounters new documents at test time—traditional BoW models like SVMs often outperformed recent GNN-based methods.

Discriminative vs. Generative Models

Encoder-only models (like BERT and DeBERTa) are fundamentally better suited for supervised tasks than decoder-only models (like GPT). Because encoders utilize unrestricted attention to see the entire sequence at once, they are more efficient classifiers than models designed for next-token prediction. While GPT-3.5 is impressive in few-shot settings (e.g., using only 16 examples), it consistently loses to a fine-tuned BERT-base model trained on a full dataset.

The "Sleeping Giant": WideMLP

Surprisingly, a simple, wide Multi-Layer Perceptron (WideMLP) trained on Bag-of-Words features proved to be remarkably robust. It is often faster and more accurate than complex GNNs, particularly on large-scale multi-label datasets like EconBiz.

Conclusion

The empirical evidence suggests that DeBERTa is the current true SOTA for single-label tasks. For researchers and practitioners, the message is clear: before adopting complex graph-based models or expensive LLMs, focus on properly fine-tuning a DeBERTa model or, if computational resources are limited, a well-optimized WideMLP. True progress in the field requires more rigorous benchmarking and a commitment to optimizing baselines before claiming superiority for new architectures.

Summary updated

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