A Strategy to Combine 1stGen Transformers and Open LLMs for Automatic Text Classification
Not on the map. Why?
Abstract (arXiv)
Transformer models have achieved state-of-the-art results, with Large Language Models (LLMs), an evolution of first-generation transformers (1stTR), being considered the cutting edge in several NLP tasks. However, the literature has yet to conclusively demonstrate that LLMs consistently outperform 1stTRs across all NLP tasks. This study compares three 1stTRs (BERT, RoBERTa, and BART) with two open LLMs (Llama 2 and Bloom) across 11 sentiment analysis datasets. The results indicate that open LLMs may moderately outperform or match 1stTRs in 8 out of 11 datasets but only when fine-tuned. Given this substantial cost for only moderate gains, the practical applicability of these models in cost-sensitive scenarios is questionable. In this context, a confidence-based strategy that seamlessly integrates 1stTRs with open LLMs based on prediction certainty is proposed. High-confidence documents are classified by the more cost-effective 1stTRs, while uncertain cases are handled by LLMs in zero-shot or few-shot modes, at a much lower cost than fine-tuned versions. Experiments in sentiment analysis demonstrate that our solution not only outperforms 1stTRs, zero-shot, and few-shot LLMs but also competes closely with fine-tuned LLMs at a fraction of the cost.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 16 of its 39 references that are in the map. First posted on arXiv 19 Aug 2024.
Builds on
16 of 39 references.
References · 16
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2019Quantifying the Carbon Emissions of Machine Learningcited by 516
- 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
- 2019SemEval-2017 Task 4: Sentiment Analysis in Twittercited by 209
- 2022An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labelscited by 88
- 2021AutoDebias: Learning to Debias for Recommendationcited by 68
- 2020Hierarchical Pre-training for Sequence Labelling in Spoken Dialogcited by 36
- 2024M'elange: Cost Efficient Large Language Model Serving by Exploiting GPU Heterogeneitycited by 30
- 2023Calibrating Transformers via Sparse Gaussian Processescited by 21
4 more
- 2023TPDR: A Novel Two-Step Transformer-based Product and Class Description Match and Retrieval Methodcited by 4
- 2023How to Determine the Most Powerful Pre-trained Language Model without Brute Force Fine-tuning? An Empirical Surveycited by 4
- 2023Can ChatGPT be Your Personal Medical Assistant?cited by 2
- 2024A Novel Two-Step Fine-Tuning Pipeline for Cold-Start Active Learning in Text Classification Taskscited by 1
Built on by
Citing papers per year: 2024: 1; 2025: 2.
3 papers.
- 2025A thorough benchmark of automatic text classification: From traditional approaches to large language modelscited by 2
- 2024ELECTRA and GPT-4o: Cost-Effective Partners for Sentiment Analysiscited by 0
- 2025CTDGSI: A comprehensive exploitation of instance selection methods for automatic text classification. VII Concurso de Teses, Dissertacc~oes e Trabalhos de Graduacc~ao em SI -- XXI Simp'osio Brasileiro de Sistemas de Informacc~aocited by 0
- 2025CTDGSI: A comprehensive exploitation of instance selection methods for automatic text classification. VII Concurso de Teses, Dissertacc~oes e Trabalhos de Graduacc~ao em SI -- XXI Simp'osio Brasileiro de Sistemas de Informacc~ao8 Jun 2025
- 2025A thorough benchmark of automatic text classification: From traditional approaches to large language models2 Apr 2025
- 2024ELECTRA and GPT-4o: Cost-Effective Partners for Sentiment Analysis29 Dec 2024