mlsanityData to 7 Oct 2026

Selecting Between BERT and GPT for Text Classification in Political Science Research

arXiv 2411.05050 ↗First posted 7 Nov 2024cs.CL cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

Political scientists often grapple with data scarcity in text classification. Recently, fine-tuned BERT models and their variants have gained traction as effective solutions to address this issue. In this study, we investigate the potential of GPT-based models combined with prompt engineering as a viable alternative. We conduct a series of experiments across various classification tasks, differing in the number of classes and complexity, to evaluate the effectiveness of BERT-based versus GPT-based models in low-data scenarios. Our findings indicate that while zero-shot and few-shot learning with GPT models provide reasonable performance and are well-suited for early-stage research exploration, they generally fall short - or, at best, match - the performance of BERT fine-tuning, particularly as the training set reaches a substantial size (e.g., 1,000 samples). We conclude by comparing these approaches in terms of performance, ease of use, and cost, providing practical guidance for researchers facing data limitations. Our results are particularly relevant for those engaged in quantitative text analysis in low-resource settings or with limited labeled data.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 3 of its 67 references that are in the map. First posted on arXiv 7 Nov 2024.

Builds on

3 of 67 references.

References · 3

  1. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  2. 2023Can ChatGPT Understand Too? A Comparative Study on ChatGPT and Fine-tuned BERTcited by 155
  3. 2024A Tutorial on the Pretrain-Finetune Paradigm for Natural Language Processingcited by 1

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.