Skip to main content
QUICK REVIEW

[Paper Review] TweetBLM: A Hate Speech Dataset and Analysis of Black Lives Matter-related Microblogs on Twitter

Sumit Kumar, Raj Ratn Pranesh|arXiv (Cornell University)|Aug 27, 2021
Hate Speech and Cyberbullying DetectionComputer Science9 citations
TL;DR

This paper introduces TweetBLM, a manually annotated hate speech dataset of 9,165 Black Lives Matter-related tweets labeled as 'Hate' or 'Non-Hate'. It evaluates multiple models including BERT-base and BERT-large, with BERT-large achieving the highest accuracy of 89.13% in classifying hate speech, offering a valuable resource for mitigating online hate targeting the Black community.

ABSTRACT

In the past few years, there has been a significant rise in toxic and hateful content on various social media platforms. Recently Black Lives Matter movement came into the picture, causing an avalanche of user generated responses on the internet. In this paper, we have proposed a Black Lives Matter related tweet hate speech dataset TweetBLM. Our dataset comprises 9165 manually annotated tweets that target the Black Lives Matter movement. We annotated the tweets into two classes, i.e., HATE and NONHATE based on their content related to racism erupted from the movement for the black community. In this work, we also generated useful statistical insights on our dataset and performed a systematic analysis of various machine learning models such as Random Forest, CNN, LSTM, BiLSTM, Fasttext, BERTbase, and BERTlarge for the classification task on our dataset. Through our work, we aim at contributing to the substantial efforts of the research community for the identification and mitigation of hate speech on the internet. The dataset is publicly available.

Motivation & Objective

  • To address the lack of specialized hate speech datasets targeting anti-Black racism in the context of the Black Lives Matter movement.
  • To create a high-quality, manually annotated dataset of Black Lives Matter-related tweets for hate speech detection.
  • To evaluate the performance of diverse machine learning models, including BERT and FastText, on this new dataset.
  • To provide statistical insights into linguistic patterns, such as frequent n-grams and hashtags, in hate speech related to B. L. M.
  • To support the research community in developing better tools for identifying and mitigating hate speech on social media.

Proposed method

  • Collected 7.3 million tweets from May 27 to July 26, 2020, using Tweepy and Twitter API, filtering for English language and users with >150 followers to reduce spam.
  • Constructed a keyword-based query set including #BLM, #BlackLivesMatter, and semantic variants to extract movement-related tweets.
  • Manually annotated 9,165 tweets into two classes: 'Hate' (racist content targeting Black communities) and 'Non-Hate' (non-hateful content).
  • Performed statistical analysis on n-grams (unigrams and bigrams) and hashtags to extract linguistic patterns in the dataset.
  • Trained and compared multiple models: Random Forest, CNN, LSTM, BiLSTM, FastText, and BERT-base and BERT-large using 80/20 train-test split.
  • Fine-tuned hyperparameters on validation data, using categorical cross-entropy loss and Adam optimizer across all models.

Experimental results

Research questions

  • RQ1How effective are state-of-the-art deep learning models in detecting hate speech specifically targeting the Black Lives Matter movement?
  • RQ2What linguistic patterns—such as frequent unigrams, bigrams, and hashtags—are prevalent in hate speech related to BLM?
  • RQ3How does the performance of BERT-based models compare to traditional models like Random Forest and CNN on this specialized dataset?
  • RQ4To what extent does the quality and specificity of the dataset improve the generalization of hate speech detection models?
  • RQ5What are the statistical characteristics of hate speech in user-generated content during the peak of the BLM movement?

Key findings

  • BERT-large achieved the highest accuracy of 89.13% in classifying hate speech, significantly outperforming other models.
  • BERT-base achieved 87.45% accuracy, demonstrating the effectiveness of contextual representations in understanding nuanced hate speech.
  • FastText achieved 82.77% accuracy, outperforming RNN-based models and showing strong performance with subword embeddings.
  • BiLSTM achieved 77.58% accuracy, which was 1.37% higher than LSTM, indicating the benefit of bidirectional context in sequence modeling.
  • CNN achieved 79.46% accuracy, outperforming both LSTM and Random Forest, highlighting its effectiveness in capturing local text patterns.
  • Random Forest achieved 77.35% accuracy, slightly outperforming LSTM and showing baseline performance for traditional tree-based models.

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.