Political stance detection on X during the 2024 U.S. election: a comparative study of classical, neural, and transformer models

Abstract As online social networks (OSNs) play an increasingly influential role in political communication, accurately detecting political stance from noisy, short-form content remains a significant challenge in computational social science (CSS). This paper presents a controlled comparison of text classification models for political stance detection during the 2024 U.S. presidential election, focusing on candidate affiliation toward Donald Trump and Joe Biden–Kamala Harris. Using nearly 100,000 posts from X, we define candidate affiliation as a three-class target variable (Trump, Biden–Kamala, or Neutral) and use topic modeling to support keyword development and thematic characterization. Under a unified preprocessing, labeling, and evaluation pipeline, we compare classical machine learning models, sentence-embedding-based neural architectures, and a domain-adapted transformer. Results suggest that task-aligned text representation accounts for most of the predictive signal in this setting. While fine-tuned BERTweet achieves the strongest in-domain performance, carefully engineered classical models, particularly linear support vector machines, remain highly competitive. Multi-feature and ablation analyses further indicate that expanded metadata did not yield reliable gains beyond strong text representations. Overall, this work provides a controlled comparison of text models for candidate affiliation on a heuristically labeled corpus.

Authors

Institutions

Publication Details

Journal
Social Network Analysis and Mining
Published
2026-11-14
DOI
https://doi.org/10.1007/s13278-026-01656-7
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Political stance detection on X during the 2024 U.S. election: a comparative study of classical, neural, and transformer models

Matthew Louis Mauriello, Kenneth E. Barner, Mohammad Baksh, Qile Wang et al.
2 links
Social Network Analysis and Mining
Sentiment Analysis and Opinion Mining
article

Political stance detection on X during the 2024 U.S. election: a comparative study of classical, neural, and transformer models

Matthew Louis Mauriello, Kenneth E. Barner, Mohammad Baksh, Qile Wang, Safoura Faghri, Sahar Ostadrahimi
article en

Abstract

Abstract As online social networks (OSNs) play an increasingly influential role in political communication, accurately detecting political stance from noisy, short-form content remains a significant challenge in computational social science (CSS). This paper presents a controlled comparison of text classification models for political stance detection during the 2024 U.S. presidential election, focusing on candidate affiliation toward Donald Trump and Joe Biden–Kamala Harris. Using nearly 100,000 posts from X, we define candidate affiliation as a three-class target variable (Trump, Biden–Kamala, or Neutral) and use topic modeling to support keyword development and thematic characterization. Under a unified preprocessing, labeling, and evaluation pipeline, we compare classical machine learning models, sentence-embedding-based neural architectures, and a domain-adapted transformer. Results suggest that task-aligned text representation accounts for most of the predictive signal in this setting. While fine-tuned BERTweet achieves the strongest in-domain performance, carefully engineered classical models, particularly linear support vector machines, remain highly competitive. Multi-feature and ablation analyses further indicate that expanded metadata did not yield reliable gains beyond strong text representations. Overall, this work provides a controlled comparison of text models for candidate affiliation on a heuristically labeled corpus.

Social Network Analysis and Mining
University of Delaware (US)
Sentiment Analysis and Opinion Mining
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.

Laika access coming soon