Extractive versus Generative Language Models for Political Conflict Text Classification
Abstract We review our recent ConfliBERT language model (Hu et al . 2022 [ConfliBERT: A Pre-Trained Language Model for Political Conflict and Violence]) to process political and violence-related texts. When fine-tuned, results show that ConfliBERT has superior performance in accuracy, precision, and recall over other large language models (LLMs) like Google’s Gemma 2 (9B), Meta’s Llama 3.1 (7B), and Alibaba’s Qwen 2.5 (14B) within its relevant domains. It is also hundreds of times faster than these more generalist LLMs. These results are illustrated using texts from the BBC, re3d, and the Global Terrorism Database. We demonstrate that open, fine-tuned models can outperform the more general models in terms of accuracy, precision, and recall, and at a fraction of the cost.
Authors
- Shreyas Meher (ORCID: https://orcid.org/0000-0002-9656-4374)
- Latifur Khan
- Marcus Sianan
- Patrick T. Brandt (ORCID: https://orcid.org/0000-0002-7261-7056)
- Dagmar Heintze
- Javier Osorio
- Sultan Alsarra
- Vito D’Orazio
Institutions
- West Virginia University (US)
- University of Arizona (US)
- King Saud University (SA)
- Erasmus University Rotterdam (NL)
Publication Details
- Journal
- Political Analysis
- Published
- 2025-12-31
- DOI
- https://doi.org/10.1017/pan.2025.10027
- Primary Topic
- Computational and Text Analysis Methods
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- American Political Science Association