Abstract
This study reviews and compares methods for single-label and multi-label text classification, categorized into bag-of-words, sequence-based, graph-based, and hierarchical methods. The comparison aggregates results from the literature over five single-label and seven multi-label datasets and complements them with new experiments. The findings reveal that all recently proposed graph-based and hierarchy-based methods fail to outperform pre-trained language models and sometimes perform worse than standard machine learning methods like a multilayer perceptron on a bag-of-words. To assess the true scientific progress in text classification, future work should thoroughly test against strong bag-of-words baselines and state-of-the-art pre-trained language models.
Introduction: The Reality of "State-of-the-Art"
In the rapidly evolving landscape of Natural Language Processing (NLP), new architectures claiming state-of-the-art (SOTA) performance appear almost weekly. Recently, these claims have focused on Graph Neural Networks (GNNs) for modeling text as a graph and the in-context learning capabilities of generative Large Language Models (LLMs). However, this study argues that much of this perceived progress is illusory, often stemming from a lack of robustness in comparative evaluations.
The authors identify three primary issues hindering scientific progress: "baseline nerfing" (comparing new models against poorly tuned existing ones), unnecessary architectural complexity for its own sake, and the growing assumption that LLM prompting is inherently superior to fine-tuning smaller, specialized models on full datasets.
Methodological Taxonomy
To provide a fair playing field, the researchers categorized text classification methods into three distinct families and mapped them against three core task types. This taxonomy allows for a structured comparison between classical approaches and modern neural architectures.
The methods evaluated include:
- Bag-of-Words (BoW): Ranging from classical SVMs and Logistic Regression to "Deep BoW" approaches using Multi-Layer Perceptrons (MLPs) on TF-IDF features.
- Sequence-based: Including RNNs, CNNs, and the dominant Transformer-based models like BERT, RoBERTa, and DeBERTa, as well as generative LLMs like GPT-3.5 and Llama.
- Graph-based: Methods that construct synthetic graphs from text (e.g., TextGCN) or utilize label hierarchies to inform the model structure.
Experimental Setup and Datasets
The study involved an extensive literature review complemented by "gap-filling" experiments. A critical component was the re-evaluation of BERT and its variants across multiple datasets, specifically searching for optimal fine-tuning learning rates to reveal performance often left "on the table" in previous studies. The benchmarks spanned a wide range of standard tasks:
- Single-label: 20ng, R8, R52, Ohsumed, and Movie Reviews (MR).
- Multi-label: R21578, RCV1-V2, EconBiz, GoEmotions, Amazon-531, DBPedia-298, and NYT AC.
- Hierarchical: Web of Science (WOS), NYT, and RCV1-V2.
Key Insights: Challenging the Hype
The Learning Rate Trap
One of the most significant findings was the extreme sensitivity of models like BERT to hyperparameters. Performance can swing by as much as 13 percentage points based solely on the fine-tuning learning rate. This suggests that many reported SOTA gains over BERT were simply beating an undertuned version of the baseline.
The Redundancy of Synthetic Graphs
For topical text classification, the study found that synthetic graphs connecting words and documents rarely provide information that a standard transformer cannot already extract from the raw text sequence. In many inductive settings—where the model encounters new documents at test time—simple Logistic Regression models frequently outperformed complex GNNs.
Fine-tuning vs. In-Context Learning
For supervised tasks with available training data, fine-tuning "small" language models (SLMs) like DeBERTa consistently outperformed zero-shot or few-shot prompting of massive generative LLMs. The discriminative objective of encoder-only models remains fundamentally better suited for classification than the generative objective of GPT-style models.
The Resilience of Bag-of-Words
On high-cardinality datasets like EconBiz (which features thousands of classes), a "WideMLP"—a simple MLP on BoW features—emerged as the strongest performer. This highlights that classical features remain incredibly robust for large label spaces where sequence modeling may become computationally expensive or less effective.
Conclusion and Future Directions
The study concludes that DeBERTa and RoBERTa remain the overall champions for most text classification tasks when properly fine-tuned. While specialized architectures like HBGL showed clear wins in hierarchical tasks, the general trend suggests that the field should return to basics: rigorous baseline optimization and a skeptical view of complexity.
Future work should address language bias (as this study focused on English) and explore whether "unmasking" causal LLMs during fine-tuning can eventually match the efficiency of masked encoder-only models for classification tasks. To ensure genuine progress, the community must prioritize thorough testing against strong BoW baselines and properly optimized pre-trained language models.
Summary updated