TITLE:
The Cost of Accuracy in Text Classification: Tradeoffs in Data Representation and Model Design for Classical ML, Neural Network, and Transformer-Based Models
AUTHORS:
Peter J. Worth Jr.
KEYWORDS:
Text Classification, Computational Cost, Fine-Tuning, Transformers, Large Language Models, Word Embeddings, Word-Class Embeddings, Language Representation, Pareto Efficiency, Green AI
JOURNAL NAME:
International Journal of Intelligence Science,
Vol.17 No.1,
November
26,
2026
ABSTRACT: Fine-tuned transformers are the default choice for text classification, yet the accuracy they add over cheaper alternatives, and the compute they spend to add it, are seldom reported side by side. We measure both across 3725 training runs of eight classifiers in three families on eight single- and multi-label corpora. The families are linear models (logistic regression, linear SVM, naive Bayes) over sparse, latent-semantic and pooled-embedding features; CNN, LSTM and attention networks over static word embeddings; and seven fine-tuned transformers, from DistilBERT to Llama-3.2-1B and DeepSeek-R1-Distill-Qwen-1.5B. Comparing the best test-set run of each family on each corpus, fine-tuned transformers lead everywhere, but by a mean of only 3.2 Macro-F1 points over the best linear configuration and 6.7 points over the best static-embedding network. Meanwhile, a typical transformer run trains 75 times longer than a typical linear run, and 32 times longer than a typical static-embedding run (127 times its GPU-time). The premium depends on the task. On the four single-label corpora, a linear model within 0.5 - 2.7 points of the best transformer needs under 0.5% of its classifier-fitting time; on the four multi-label, many-class corpora, the transformer’s 3.7 - 7.0-point lead over the best linear configuration has no linear substitute. Within the transformer family, the two billion-parameter-scale decoders cost about five times as much to fine-tune as base-size encoders for no consistent gain. Word-class embeddings help static-embedding networks in 80 of 129 paired runs, but not consistently across corpora. For their token-level analogue in fine-tuned transformers, no statistically detectable systematic effect was found in these runs. The savings are in classifier fitting only: the strongest linear configurations use frozen transformer embeddings, which also need transformer inference on new documents, so deployment savings are unmeasured. We release the run-level results and the analysis scripts.