mlsanityData to 14 Oct 2026

A thorough benchmark of automatic text classification: From traditional approaches to large language models

arXiv 2504.01930 ↗First posted 2 Apr 2025cs.CL cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

Automatic text classification (ATC) has experienced remarkable advancements in the past decade, best exemplified by recent small and large language models (SLMs and LLMs), leveraged by Transformer architectures. Despite recent effectiveness improvements, a comprehensive cost-benefit analysis investigating whether the effectiveness gains of these recent approaches compensate their much higher costs when compared to more traditional text classification approaches such as SVMs and Logistic Regression is still missing in the literature. In this context, this work's main contributions are twofold: (i) we provide a scientifically sound comparative analysis of the cost-benefit of twelve traditional and recent ATC solutions including five open LLMs, and (ii) a large benchmark comprising {22 datasets}, including sentiment analysis and topic classification, with their (train-validation-test) partitions based on folded cross-validation procedures, along with documentation, and code. The release of code, data, and documentation enables the community to replicate experiments and advance the field in a more scientifically sound manner. Our comparative experimental results indicate that LLMs outperform traditional approaches (up to 26%-7.1% on average) and SLMs (up to 4.9%-1.9% on average) in terms of effectiveness. However, LLMs incur significantly higher computational costs due to fine-tuning, being, on average 590x and 8.5x slower than traditional methods and SLMs, respectively. Results suggests the following recommendations: (1) LLMs for applications that require the best possible effectiveness and can afford the costs; (2) traditional methods such as Logistic Regression and SVM for resource-limited applications or those that cannot afford the cost of tuning large LLMs; and (3) SLMs like Roberta for near-optimal effectiveness-efficiency trade-off.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 15 of its 46 references that are in the map. First posted on arXiv 2 Apr 2025.

Builds on

15 of 46 references.

References · 15

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  4. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  5. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  6. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  7. 2023Benchmarking Large Language Models for News Summarizationcited by 445
  8. 2019Are We Really Making Much Progress? A Worrying Analysis of Recent Neural Recommendation Approachescited by 185
  9. 2020A Survey on Text Classification: From Shallow to Deep Learningcited by 80
  10. 2020Efficient Document Re-Ranking for Transformers by Precomputing Term Representationscited by 44
  11. 2023Is Fine-tuning Needed? Pre-trained Language Models Are Near Perfect for Out-of-Domain Detectioncited by 29
  12. 2017On the Role of Text Preprocessing in Neural Network Architectures: An Evaluation Study on Text Categorization and Sentiment Analysiscited by 15
3 more
  1. 2021Pre-training for Ad-hoc Retrieval: Hyperlink is Also You Needcited by 15
  2. 2024Advancing Single and Multi-task Text Classification through Large Language Model Fine-tuningcited by 7
  3. 2024A Strategy to Combine 1stGen Transformers and Open LLMs for Automatic Text Classificationcited by 3

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.