Skip to main content
QUICK REVIEW

[Paper Review] Large-Scale Hate Speech Detection with Cross-Domain Transfer

Çağrı Toraman, Furkan Şahi̇nuç|arXiv (Cornell University)|Mar 2, 2022
Hate Speech and Cyberbullying DetectionComputer Science29 citations
TL;DR

The paper builds 100k-tweet datasets in English and Turkish across five hate domains, shows Transformer models outperform baselines in large-scale hate speech detection, and analyzes cross-domain transfer for generalization across domains.

ABSTRACT

The performance of hate speech detection models relies on the datasets on which the models are trained. Existing datasets are mostly prepared with a limited number of instances or hate domains that define hate topics. This hinders large-scale analysis and transfer learning with respect to hate domains. In this study, we construct large-scale tweet datasets for hate speech detection in English and a low-resource language, Turkish, consisting of human-labeled 100k tweets per each. Our datasets are designed to have equal number of tweets distributed over five domains. The experimental results supported by statistical tests show that Transformer-based language models outperform conventional bag-of-words and neural models by at least 5% in English and 10% in Turkish for large-scale hate speech detection. The performance is also scalable to different training sizes, such that 98% of performance in English, and 97% in Turkish, are recovered when 20% of training instances are used. We further examine the generalization ability of cross-domain transfer among hate domains. We show that 96% of the performance of a target domain in average is recovered by other domains for English, and 92% for Turkish. Gender and religion are more successful to generalize to other domains, while sports fail most.

Motivation & Objective

  • Construct large-scale, domain-balanced hate speech datasets in English and Turkish (100k tweets per language, five hate domains).
  • Evaluate scalability of state-of-the-art models on large-scale hate speech detection.
  • Investigate cross-domain transfer among hate domains to assess generalization.

Proposed method

  • Create 100k-tweet datasets per language balanced across religion, gender, race, politics, and sports domains.
  • Annotate tweets into hate, offensive, or normal using five annotators with Krippendorff’s alpha reported.
  • Compare baselines (BOW, CNN, LSTM) with Transformer-based language models (BERT-family, RoBERTa-family, multilingual models).
  • Fine-tune multilingual and language-specific transformers (BERT, BERTweet, ConvBERT, Megatron, RoBERTa, BERTurk, ConvBERTurk, mBERT, XLM-R) with consistent hyperparameters (batch 32, lr 1e-5, 5 epochs, max length 128).
  • Assess cross-domain transfer by fine-tuning on a source domain and evaluating on target domains using recovery and decay ratios.

Experimental results

Research questions

  • RQ1How well do large-scale Transformer models perform on English and Turkish hate speech detection across multiple domains?
  • RQ2Do multilingual transformers offer competitive performance versus language-specific models for hate speech detection in English and Turkish?
  • RQ3To what extent can models generalize to unseen hate domains via cross-domain transfer?

Key findings

  • Transformer-based models outperform Bag-of-Words and simple neural models by about 5% in English and 10% in Turkish for multi-class hate speech detection.
  • Megatron achieves the highest English score among English models, while ConvBERTurk achieves the top Turkish score; multilingual models (mBERT, XLM-R) show competitive performance with language-specific models.
  • Across languages, 98% (English) and 97% (Turkish) of full-data performance are recovered with only 20% of training data.
  • Cross-domain transfer recovers on average 96% of target-domain performance in English and 92% in Turkish; gender and religion transfer more readily than sports, with gender showing weaker cross-domain recoverability.
  • Removing tweet-specific components (URLs, hashtags, emojis) has negligible impact on performance in both languages.
  • Scaling data size improves performance, with hate-class accuracy benefiting most from additional hate-labeled examples; English hate detection remains harder than Turkish for comparable data sizes.

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.