There is a newer version of this record available.

Conference paper Open Access

Bayesian BERT for Trustful Hate Speech Detection

Miok, Kristian; Škrlj, Blaž; Zaharie, Daniela; Robnik-Šikonja, Marko

JSON-LD ( Export

  "inLanguage": {
    "alternateName": "eng", 
    "@type": "Language", 
    "name": "English"
  "description": "<p>Hate speech is an important problem in the management of user-generated content. In order to remove offensive content or ban misbehaving users, content moderators need reliable hate speech detectors. Recently, deep neural networks based on transformer architecture, such as (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 the introduced approach on hate speech detection problems in several languages. 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 inspection of offending cases and in reannotation campaigns.</p>", 
  "license": "", 
  "creator": [
      "affiliation": "University of Ljubljana, Ljubljana, Slovenia", 
      "@type": "Person", 
      "name": "Miok, Kristian"
      "affiliation": "Jo\u017eef Stefan Institute", 
      "@type": "Person", 
      "name": "\u0160krlj, Bla\u017e"
      "affiliation": "Department of Computer Science, West University of Timisoara, Timisoara, Romania", 
      "@type": "Person", 
      "name": "Zaharie, Daniela"
      "affiliation": "University of Ljubljana, Ljubljana, Slovenia", 
      "@type": "Person", 
      "name": "Robnik-\u0160ikonja, Marko"
  "headline": "Bayesian BERT for Trustful Hate Speech Detection", 
  "image": "", 
  "datePublished": "2022-03-28", 
  "url": "", 
  "@type": "ScholarlyArticle", 
  "@context": "", 
  "identifier": "", 
  "@id": "", 
  "workFeatured": {
    "@type": "Event", 
    "name": "In the Proceedings of the ICML 2020 Workshop on Uncertainty & Robustness in Deep Learning"
  "name": "Bayesian BERT for Trustful Hate Speech Detection"
All versions This version
Views 7413
Downloads 5716
Data volume 33.6 MB9.3 MB
Unique views 619
Unique downloads 5116


Cite as