Analyzing Political Stances on Twitter/X in the Lead-up to the 2024 U.S. Election

Hazem Ibrahim, Farhan Kamrul Khan, Yasir Zaki, Talal Rahwan


Abstract
Social media platforms play a pivotal role in shaping public opinion and amplifying political discourse, particularly during elections. However, the same dynamics that foster democratic engagement can also exacerbate polarization. To better understand these challenges, here, we investigate the ideological positioning of tweets related to the 2024 U.S. Presidential Election. To this end, we analyze 1,235 tweets from key political figures and 63,322 replies, and classify ideological stances into Pro-Democrat, Anti-Republican, Pro-Republican, Anti-Democrat, and Neutral categories. Using a classification pipeline involving three large language models (LLMs)—GPT-4o, Gemini-Pro, and Claude-Opus—and validated by human annotators, we explore how ideological alignment varies between candidates and constituents. We find that Republican candidates author significantly more tweets in criticism of the Democratic party and its candidates than vice versa, but this relationship does not hold for replies to candidate tweets. Furthermore, we highlight shifts in public discourse observed during key political events. By shedding light on the ideological dynamics of online political interactions, these results provide insights for policymakers and platforms seeking to address polarization and foster healthier political dialogue.
Anthology ID:
2026.politicalnlp-1.6
Volume:
Proceedings of the 3rd Workshop on Natural Language Processing for Political Sciences (PoliticalNLP 2026)
Month:
May
Year:
2026
Address:
Palma, Mallorca (Spain)
Editors:
Haithem Afli, Houda Bouamor, Wajdi Zaghouani, Sahar Ghannay, Shehenaz Hossain
Venues:
PoliticalNLP | WS
SIG:
Publisher:
ELRA Language Resources Association (ELRA)
Note:
Pages:
58–63
Language:
External URL:
https://lrec.elra.info/lrec2026-ws-politicalnlp-06
DOI:
10.63317/4u7ev5y7votg
Bibkey:
Cite (ACL):
Hazem Ibrahim, Farhan Kamrul Khan, Yasir Zaki, and Talal Rahwan. 2026. Analyzing Political Stances on Twitter/X in the Lead-up to the 2024 U.S. Election. In Proceedings of the 3rd Workshop on Natural Language Processing for Political Sciences (PoliticalNLP 2026), pages 58–63, Palma, Mallorca (Spain). ELRA Language Resources Association (ELRA).
Cite (Informal):
Analyzing Political Stances on Twitter/X in the Lead-up to the 2024 U.S. Election (Ibrahim et al., PoliticalNLP 2026)
Copy Citation: