To BAN or not to BAN: Bayesian Attention Networks for Reliable Hate Speech Detection
Not on the map. Why?
Abstract (arXiv)
Hate speech is an important problem in the management of user-generated content. To remove offensive content or ban misbehaving users, content moderators need reliable hate speech detectors. Recently, deep neural networks based on the transformer architecture, such as the (multilingual) BERT model, achieve superior performance in many natural language classification tasks, including hate speech detection. So far, these methods have not been able to quantify their output in terms of reliability. We propose a Bayesian method using Monte Carlo dropout within the attention layers of the transformer models to provide well-calibrated reliability estimates. We evaluate and visualize the results of the proposed approach on hate speech detection problems in several languages. Additionally, we test if affective dimensions can enhance the information extracted by the BERT model in hate speech classification. Our experiments show that Monte Carlo dropout provides a viable mechanism for reliability estimation in transformer networks. Used within the BERT model, it ofers state-of-the-art classification performance and can detect less trusted predictions. Also, it was observed that affective dimensions extracted using sentic computing methods can provide insights toward interpretation of emotions involved in hate speech. Our approach not only improves the classification performance of the state-of-the-art multilingual BERT model but the computed reliability scores also significantly reduce the workload in an inspection of ofending cases and reannotation campaigns. The provided visualization helps to understand the borderline outcomes.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). First posted on arXiv 10 Jul 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 2; 2024: 3; 2025: 0; 2026: 1.
9 papers.
- 2023Cyberbullying Detection for Low-resource Languages and Dialects: Review of the State of the Artcited by 8
- 2021Character-level HyperNetworks for Hate Speech Detectioncited by 7
- 2022Efficient, Uncertainty-based Moderation of Neural Networks Text Classifierscited by 7
- 2022Multi-aspect Multilingual and Cross-lingual Parliamentary Speech Analysiscited by 1
- 2023Transfer Learning for Low-Resource Sentiment Analysiscited by 1
- 2024Hierarchical Prompts for Rehearsal-free Continual Learningcited by 1
- 2024BayesJudge: Bayesian Kernel Language Modelling with Confidence Uncertainty in Legal Judgment Predictioncited by 0
- 2024Hate Content Detection via Novel Pre-Processing Sequencing and Ensemble Methodscited by 0
- 2026Assessing Reliability of BERT-Based Models on Question Answering Taskscited by 0
- 2026Assessing Reliability of BERT-Based Models on Question Answering Tasks11 Aug 2026
- 2024Hate Content Detection via Novel Pre-Processing Sequencing and Ensemble Methods8 Sep 2024
- 2024BayesJudge: Bayesian Kernel Language Modelling with Confidence Uncertainty in Legal Judgment Prediction16 Apr 2024
- 2024Hierarchical Prompts for Rehearsal-free Continual Learning21 Jan 2024
- 2023Cyberbullying Detection for Low-resource Languages and Dialects: Review of the State of the Art30 Aug 2023
- 2023Transfer Learning for Low-Resource Sentiment Analysis10 Apr 2023
- 2022Multi-aspect Multilingual and Cross-lingual Parliamentary Speech Analysis3 Jul 2022
- 2022Efficient, Uncertainty-based Moderation of Neural Networks Text Classifiers4 Apr 2022
- 2021Character-level HyperNetworks for Hate Speech Detection11 Nov 2021