High accuracy with low costs: the pretrain-finetune paradigm for classification with transformer-based language models

Abstract Political science increasingly uses text classification to gauge subtle concepts such as toxicity or anger. Traditional methods treat words in isolation, overlooking the contextual dynamics where meaning resides. Transformer-based language models address these limitations but remain underutilized, especially among applied scholars, partly due to misconceptions about their mechanisms and computational requirements. This article bridges this gap by offering an accessible explication of the pretrain-finetune paradigm, focusing on underlying mechanisms and their potential to improve political text analysis by harnessing models trained on extensive datasets while requiring modest labeled data and computational resources. I demonstrate the approach by identifying toxic language in conversation threads following U.S. Senators’ tweets and provide an online tutorial to support nontechnical scholars in adopting the methodology.

Authors

Institutions

Publication Details

Journal
Political Science Research and Methods
Published
2026-09-01
DOI
https://doi.org/10.1017/psrm.2026.10120
Primary Topic
Computational and Text Analysis Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

High accuracy with low costs: the pretrain-finetune paradigm for classification with transformer-based language models

Cecilia Y. Sui
Political Science Research and Methods
Computational and Text Analysis Methods
article

High accuracy with low costs: the pretrain-finetune paradigm for classification with transformer-based language models

Cecilia Y. Sui
article en

Abstract

Abstract Political science increasingly uses text classification to gauge subtle concepts such as toxicity or anger. Traditional methods treat words in isolation, overlooking the contextual dynamics where meaning resides. Transformer-based language models address these limitations but remain underutilized, especially among applied scholars, partly due to misconceptions about their mechanisms and computational requirements. This article bridges this gap by offering an accessible explication of the pretrain-finetune paradigm, focusing on underlying mechanisms and their potential to improve political text analysis by harnessing models trained on extensive datasets while requiring modest labeled data and computational resources. I demonstrate the approach by identifying toxic language in conversation threads following U.S. Senators’ tweets and provide an online tutorial to support nontechnical scholars in adopting the methodology.

Political Science Research and Methods
Washington University in St. Louis (US)
Quality Education
Openalex Percentile: Top 3%
Computational and Text Analysis Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.