Hostility Detection in UK Politics: A Dataset on Online Abuse Targeting MPs

Mugdha Pandya, Mali Jin, Kalina Bontcheva, Diana Maynard


Abstract
Social media platforms, particularly X, enable direct interaction between politicians and constituents but also expose politicians to hostile responses targetting both their governmental role and personal identity. This online hostility can undermine public trust and potentially incite offline violence. While general hostility detection models exist, they lack the specificity needed for political contexts and country-specific issues. We address this gap by creating a dataset of 3,320 English tweets directed at UK Members of Parliament (MPs) over two years, annotated for hostility and targeted identity characteristics (race, gender, religion). Through linguistic and topical analyses, we examine the unique features of UK political discourse and evaluate pre-trained language models and large language models on binary hostility detection and multi-class targeted identity type classification tasks. Our work provides essential data and insights for studying politics-related hostility in the UK.
Anthology ID:
2025.woah-1.23
Volume:
Proceedings of the The 9th Workshop on Online Abuse and Harms (WOAH)
Month:
August
Year:
2025
Address:
Vienna, Austria
Editors:
Agostina Calabrese, Christine de Kock, Debora Nozza, Flor Miriam Plaza-del-Arco, Zeerak Talat, Francielle Vargas
Venues:
WOAH | WS
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
254–266
Language:
URL:
https://preview.aclanthology.org/landing_page/2025.woah-1.23/
DOI:
Bibkey:
Cite (ACL):
Mugdha Pandya, Mali Jin, Kalina Bontcheva, and Diana Maynard. 2025. Hostility Detection in UK Politics: A Dataset on Online Abuse Targeting MPs. In Proceedings of the The 9th Workshop on Online Abuse and Harms (WOAH), pages 254–266, Vienna, Austria. Association for Computational Linguistics.
Cite (Informal):
Hostility Detection in UK Politics: A Dataset on Online Abuse Targeting MPs (Pandya et al., WOAH 2025)
Copy Citation:
PDF:
https://preview.aclanthology.org/landing_page/2025.woah-1.23.pdf
Supplementarymaterial:
 2025.woah-1.23.SupplementaryMaterial.zip