Skip to main content
QUICK REVIEW

[Paper Review] HateMonitors: Language Agnostic Abuse Detection in Social Media

Punyajoy Saha, Binny Mathew|arXiv (Cornell University)|Jan 1, 2019
Hate Speech and Cyberbullying DetectionComputer Science31 references14 citations
TL;DR

This paper presents HateMonitors, a language-agnostic abuse detection system for multilingual social media content using concatenated BERT and LASER sentence embeddings, combined with a Light Gradient Boosting Machine (LGBM) classifier. The model achieved first place in the German sub-task A of the HASOC 2019 shared task with a macro F1 score of 0.62, demonstrating strong performance across Hindi, English, and German despite class imbalance.

ABSTRACT

Reducing hateful and offensive content in online social media pose a dual problem for the moderators. On the one hand, rigid censorship on social media cannot be imposed. On the other, the free flow of such content cannot be allowed. Hence, we require efficient abusive language detection system to detect such harmful content in social media. In this paper, we present our machine learning model, HateMonitor, developed for Hate Speech and Offensive Content Identification in Indo-European Languages (HASOC), a shared task at FIRE 2019. We have used a Gradient Boosting model, along with BERT and LASER embeddings, to make the system language agnostic. Our model came at First position for the German sub-task A. We have also made our model public at https://github.com/punyajoy/HateMonitors-HASOC .

Motivation & Objective

  • To develop a multilingual, language-agnostic system for detecting hate speech and offensive content in social media across multiple Indo-European languages.
  • To address the challenge of abusive language detection in low-resource languages like Hindi and German, where data imbalance and linguistic diversity complicate model training.
  • To create a robust, transferable classification framework that generalizes across languages using pre-trained sentence embeddings.
  • To provide a publicly available, high-performing baseline for future research in multilingual hate speech detection.

Proposed method

  • Preprocessing tweets by removing URLs, converting to lowercase (except for Hindi), normalizing numbers to 'number', and preserving mentions and punctuation to retain context.
  • Generating multilingual sentence embeddings using BERT-base-multilingual-cased (768-dim) by averaging the last 11 of 12 layers.
  • Generating language-agnostic sentence embeddings using Facebook's LASER (1024-dim), trained on 93 languages and capable of handling code-mixed text.
  • Concatenating BERT and LASER embeddings into a single 1792-dimensional feature vector per tweet for classification.
  • Training a Light Gradient Boosting Machine (LGBM) classifier on the concatenated embeddings for binary and multi-class classification tasks.
  • Using the same model architecture across all three languages (English, German, Hindi) to ensure language-agnostic performance.

Experimental results

Research questions

  • RQ1Can a single, unified model achieve strong performance across multiple low-resource and high-resource languages in hate speech detection?
  • RQ2How effective are combined BERT and LASER embeddings in capturing abusive language patterns across diverse linguistic contexts?
  • RQ3To what extent does class imbalance in training data affect model performance in multilingual hate speech detection?
  • RQ4Can a lightweight, gradient-boosted tree model outperform deep learning baselines when fine-tuning on limited, multilingual abusive content data?

Key findings

  • The HateMonitors model achieved the highest macro F1 score of 0.62 in the German sub-task A, securing first place in the HASOC 2019 shared task.
  • For sub-task A, the model achieved a macro F1 of 0.78 on Hindi, which had a more balanced dataset, compared to 0.62 on German, which was highly imbalanced.
  • In sub-task B, the model performed best on the profane (PRFN) class with a macro F1 of 0.59 in Hindi, while performance on hate (HATE) and offensive (OFFN) classes remained low, especially in German (F1 ≈ 0.04 and 0.00 respectively).
  • For sub-task C, the model achieved a macro F1 of 0.53 on Hindi, with higher performance on targeted (TIN) offenses, though results were still limited by data imbalance.
  • The model demonstrated strong generalization across languages, achieving top performance in German despite class imbalance and low-resource characteristics.
  • The combination of BERT and LASER embeddings with LGBM provided a robust, efficient, and publicly available baseline for multilingual abusive language detection.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.