Towards More Transparent Online Campaigning: Detecting Political Campaign Content in Election-related Social Media Posts
Abdullah Alabdullah, Conor Gaughan, Thomas Flavel, Shubhanjay Varma, Rachel Gibson, Marta Cantijoch, Alexandru Cernat, Riza Batista-Navarro
Abstract
A large part of political campaigns during elections is now being conducted online, with political actors leveraging their networks on social media platforms. To maintain transparency in political communications, regulations applicable to online campaigning have been put in place in many democracies. While it should be straightforward for voters to determine who produced and funded online advertisements comprising paid political campaigns, it is much more challenging to detect if organic content, i.e., social media posts, pertains to political campaigning, due to possibly subtle yet suggestive language that can be used by certain actors. In this paper, we investigate the feasibility of automatically detecting whether a given tweet posted by a political actor pertains to political campaigning, and if yes, whether it was conveyed in a direct or indirect (subtle) manner. After establishing an annotation scheme for the task of detecting political campaign content in tweets, we fine-tuned three encoder models (BERT, BERTweet and PoliBERTweet) for the same task and evaluated their performance. Our results show that fine-tuning BERTweet leads to the best macro-averaged F1-score (0.776), although all models consistently struggle to detect indirect campaigning.- Anthology ID:
- 2026.nlpcss-1.15
- Volume:
- Proceedings of the Seventh Workshop on Natural Language Processing and Computational Social Science
- Month:
- July
- Year:
- 2026
- Address:
- San Diego
- Editors:
- Dallas Card, Anjalie Field, Katherine Keith, Julia Mendelsohn
- Venues:
- NLP+CSS | WS
- SIG:
- Publisher:
- Association for Computational Linguistics
- Note:
- Pages:
- 249–270
- Language:
- URL:
- https://preview.aclanthology.org/ingest-acl-workshops/2026.nlpcss-1.15/
- DOI:
- Cite (ACL):
- Abdullah Alabdullah, Conor Gaughan, Thomas Flavel, Shubhanjay Varma, Rachel Gibson, Marta Cantijoch, Alexandru Cernat, and Riza Batista-Navarro. 2026. Towards More Transparent Online Campaigning: Detecting Political Campaign Content in Election-related Social Media Posts. In Proceedings of the Seventh Workshop on Natural Language Processing and Computational Social Science, pages 249–270, San Diego. Association for Computational Linguistics.
- Cite (Informal):
- Towards More Transparent Online Campaigning: Detecting Political Campaign Content in Election-related Social Media Posts (Alabdullah et al., NLP+CSS 2026)
- PDF:
- https://preview.aclanthology.org/ingest-acl-workshops/2026.nlpcss-1.15.pdf