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

arXiv: https://arxiv.org/abs/2412.04046 · HTML: https://mlsanity.com/paper/2412.04046/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 18 of its 56 references that are in the map.
- First posted on arXiv 5 Dec 2024.

## Builds on (most cited first, 18 of 18)

- [BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding](https://mlsanity.com/paper/1810.04805/) (2018)
- [RoBERTa: A Robustly Optimized BERT Pretraining Approach](https://mlsanity.com/paper/1907.11692/) (2019)
- [BERTopic: Neural topic modeling with a class-based TF-IDF procedure](https://mlsanity.com/paper/2203.05794/) (2022)
- [HateXplain: A Benchmark Dataset for Explainable Hate Speech Detection](https://mlsanity.com/paper/2012.10289/) (2020)
- [SemEval-2019 Task 6: Identifying and Categorizing Offensive Language in Social Media (OffensEval)](https://mlsanity.com/paper/1903.08983/) (2019)
- [Understanding Abuse: A Typology of Abusive Language Detection Subtasks](https://mlsanity.com/paper/1705.09899/) (2017)
- [Toxicity Detection: Does Context Really Matter?](https://mlsanity.com/paper/2006.00998/) (2020)
- [ETHOS: an Online Hate Speech Detection Dataset](https://mlsanity.com/paper/2006.08328/) (2020)
- [Hate Towards the Political Opponent: A Twitter Corpus Study of the 2020 US Elections on the Basis of Offensive Speech and Stance Detection](https://mlsanity.com/paper/2103.01664/) (2021)
- [Robust Hate Speech Detection in Social Media: A Cross-Dataset Empirical Evaluation](https://mlsanity.com/paper/2307.01680/) (2023)
- [Detecting weak and strong Islamophobic hate speech on social media](https://mlsanity.com/paper/1812.10400/) (2018)
- [Uncovering Political Hate Speech During Indian Election Campaign: A New Low-Resource Dataset and Baselines](https://mlsanity.com/paper/2306.14764/) (2023)
- [Characterizing Twitter Users Who Engage in Adversarial Interactions against Political Candidates](https://mlsanity.com/paper/2005.04412/) (2020)
- [Tweeting MPs: Digital Engagement between Citizens and Members of Parliament in the UK](https://mlsanity.com/paper/1904.00004/) (2019)
- [Examining Temporal Bias in Abusive Language Detection](https://mlsanity.com/paper/2309.14146/) (2023)
- [Race and Religion in Online Abuse towards UK Politicians: Working Paper](https://mlsanity.com/paper/1910.00920/) (2019)
- [Hate Speech in the Political Discourse on Social Media: Disparities Across Parties, Gender, and Ethnicity](https://mlsanity.com/paper/2201.06638/) (2022)
- [MP Twitter Engagement and Abuse Post-first COVID-19 Lockdown in the UK: White Paper](https://mlsanity.com/paper/2103.02917/) (2021)

## Abstract (arXiv)

Numerous politicians use social media platforms, particularly X, to engage with their constituents. This interaction allows constituents to pose questions and offer feedback but also exposes politicians to a barrage of hostile responses, especially given the anonymity afforded by social media. They are typically targeted in relation to their governmental role, but the comments also tend to attack their personal identity. This can discredit politicians and reduce public trust in the government. It can also incite anger and disrespect, leading to offline harm and violence. While numerous models exist for detecting hostility in general, they lack the specificity required for political contexts. Furthermore, addressing hostility towards politicians demands tailored approaches due to the distinct language and issues inherent to each country (e.g., Brexit for the UK). To bridge this gap, we construct a dataset of 3,320 English tweets spanning a two-year period manually annotated for hostility towards UK MPs. Our dataset also captures the targeted identity characteristics (race, gender, religion, none) in hostile tweets. We perform linguistic and topical analyses to delve into the unique content of the UK political data. Finally, we evaluate the performance of pre-trained language models and large language models on binary hostility detection and multi-class targeted identity type classification tasks. Our study offers valuable data and insights for future research on the prevalence and nature of politics-related hostility specific to the UK.
