mlsanityData to 14 Oct 2026

Explainable and High-Performance Hate and Offensive Speech Detection

arXiv 2206.12983 ↗First posted 26 Jun 2022cs.CL cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

The spread of information through social media platforms can create environments possibly hostile to vulnerable communities and silence certain groups in society. To mitigate such instances, several models have been developed to detect hate and offensive speech. Since detecting hate and offensive speech in social media platforms could incorrectly exclude individuals from social media platforms, which can reduce trust, there is a need to create explainable and interpretable models. Thus, we build an explainable and interpretable high performance model based on the XGBoost algorithm, trained on Twitter data. For unbalanced Twitter data, XGboost outperformed the LSTM, AutoGluon, and ULMFiT models on hate speech detection with an F1 score of 0.75 compared to 0.38 and 0.37, and 0.38 respectively. When we down-sampled the data to three separate classes of approximately 5000 tweets, XGBoost performed better than LSTM, AutoGluon, and ULMFiT; with F1 scores for hate speech detection of 0.79 vs 0.69, 0.77, and 0.66 respectively. XGBoost also performed better than LSTM, AutoGluon, and ULMFiT in the down-sampled version for offensive speech detection with F1 score of 0.83 vs 0.88, 0.82, and 0.79 respectively. We use Shapley Additive Explanations (SHAP) on our XGBoost models' outputs to makes it explainable and interpretable compared to LSTM, AutoGluon and ULMFiT that are black-box models.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 14 of its 34 references that are in the map. First posted on arXiv 26 Jun 2022.

Builds on

14 of 34 references.

References · 14

  1. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  2. 2018Deep contextualized word representationscited by 2,290
  3. 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736
  4. 2016The Mythos of Model Interpretabilitycited by 721
  5. 2016Fair prediction with disparate impact: A study of bias in recidivism prediction instrumentscited by 672
  6. 2018Explaining Explanations: An Overview of Interpretability of Machine Learningcited by 508
  7. 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 407
  8. 2020AutoGluon-Tabular: Robust and Accurate AutoML for Structured Datacited by 383
  9. 2017Fairness in Criminal Justice Risk Assessments: The State of the Artcited by 315
  10. 2018Large Scale Crowdsourcing and Characterization of Twitter Abusive Behaviorcited by 270
  11. 2020HateBERT: Retraining BERT for Abusive Language Detection in Englishcited by 207
  12. 2017Regularizing and Optimizing LSTM Language Modelscited by 205
2 more
  1. 2019Fake News Detection on Social Media using Geometric Deep Learningcited by 118
  2. 2021DeepHate: Hate Speech Detection via Multi-Faceted Text Representationscited by 29

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 1.

2 papers.