mlsanityData to 14 Oct 2026

Large Language Models For Text Classification: Case Study And Comprehensive Review

arXiv 2501.08457 ↗First posted 14 Jan 2025cs.CL cs.LGcited by 12

Not on the map. Why?

Abstract (arXiv)

Unlocking the potential of Large Language Models (LLMs) in data classification represents a promising frontier in natural language processing. In this work, we evaluate the performance of different LLMs in comparison with state-of-the-art deep-learning and machine-learning models, in two different classification scenarios: i) the classification of employees' working locations based on job reviews posted online (multiclass classification), and 2) the classification of news articles as fake or not (binary classification). Our analysis encompasses a diverse range of language models differentiating in size, quantization, and architecture. We explore the impact of alternative prompting techniques and evaluate the models based on the weighted F1-score. Also, we examine the trade-off between performance (F1-score) and time (inference response time) for each language model to provide a more nuanced understanding of each model's practical applicability. Our work reveals significant variations in model responses based on the prompting strategies. We find that LLMs, particularly Llama3 and GPT-4, can outperform traditional methods in complex classification tasks, such as multiclass classification, though at the cost of longer inference times. In contrast, simpler ML models offer better performance-to-time trade-offs in simpler binary classification tasks.

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). First posted on arXiv 14 Jan 2025.

Builds on

0 of 0 references.

No references here yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 8; 2026: 4.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Large Language Models as Universal Predictors? An Empirical Study on Small Tabular Datasets
  2. 2024Survey of different Large Language Model Architectures: Trends, Benchmarks, and Challenges
  3. 2023A Comprehensive Overview of Large Language Models
  4. 2024Comparing Specialised Small and General Large Language Models on Text Classification: 100 Labelled Samples to Achieve Break-Even Performance
  5. 2023Text Classification via Large Language Models
  6. 2024LLMEmbed: Rethinking Lightweight LLM's Genuine Function in Text Classification
  7. 2023Large Language Models Are Zero-Shot Text Classifiers
  8. 2023Synthetic Data Generation with Large Language Models for Text Classification: Potential and Limitations