Skip to main content
QUICK REVIEW

[Paper Review] Surfacing contextual hate speech words within social media

Jherez Taylor, Melvyn Peignon|arXiv (Cornell University)|Nov 28, 2017
Hate Speech and Cyberbullying DetectionComputer Science11 references16 citations
TL;DR

This paper proposes a community detection and word embedding approach to identify contextual hate speech code words in social media, demonstrating that hate speech detection is context-dependent rather than reliant on fixed keyword lists. The method achieves high inter-annotator agreement (K=0.871) and F1 scores up to 0.93, showing that words can be recognized as hate speech without prior knowledge of their alternate meanings.

ABSTRACT

Social media platforms have recently seen an increase in the occurrence of hate speech discourse which has led to calls for improved detection methods. Most of these rely on annotated data, keywords, and a classification technique. While this approach provides good coverage, it can fall short when dealing with new terms produced by online extremist communities which act as original sources of words which have alternate hate speech meanings. These code words (which can be both created and adopted words) are designed to evade automatic detection and often have benign meanings in regular discourse. As an example, "skypes", "googles", and "yahoos" are all instances of words which have an alternate meaning that can be used for hate speech. This overlap introduces additional challenges when relying on keywords for both the collection of data that is specific to hate speech, and downstream classification. In this work, we develop a community detection approach for finding extremist hate speech communities and collecting data from their members. We also develop a word embedding model that learns the alternate hate speech meaning of words and demonstrate the candidacy of our code words with several annotation experiments, designed to determine if it is possible to recognize a word as being used for hate speech without knowing its alternate meaning. We report an inter-annotator agreement rate of K=0.871, and K=0.676 for data drawn from our extremist community and the keyword approach respectively, supporting our claim that hate speech detection is a contextual task and does not depend on a fixed list of keywords. Our goal is to advance the domain by providing a high quality hate speech dataset in addition to learned code words that can be fed into existing classification approaches, thus improving the accuracy of automated detection.

Motivation & Objective

  • To address the challenge of detecting hate speech that evades keyword-based filters through the use of code words with benign surface forms but hate speech meanings.
  • To develop a method for identifying extremist online communities that produce and disseminate hate speech code words.
  • To create a high-quality hate speech dataset enriched with contextually derived code words for improved detection.
  • To evaluate whether hate speech intent can be recognized without prior knowledge of a word's alternate meaning.
  • To demonstrate that contextual understanding, not keyword matching, is essential for accurate hate speech detection.

Proposed method

  • Employ community detection algorithms to identify and extract data from extremist online communities that generate hate speech code words.
  • Train a custom word embedding model to learn the alternate, hate speech meanings of words that are contextually ambiguous.
  • Use a Likert-scale annotation experiment with multiple annotators to assess the contextual use of words across different datasets.
  • Calculate inter-annotator agreement using Krippendorff’s Alpha to validate the reliability of the annotation process.
  • Aggregate annotator ratings to determine ground truth classifications and compute precision, recall, and F1 scores.
  • Compare performance across datasets from extremist communities, keyword-sampled Twitter, and general Twitter to evaluate data quality.

Experimental results

Research questions

  • RQ1Can hate speech be detected effectively without relying on a predefined list of keywords?
  • RQ2To what extent can annotators identify hate speech intent when the meaning of a word is unknown?
  • RQ3How does the quality of data from extremist communities compare to that from keyword-based sampling in hate speech detection?
  • RQ4Can word embeddings trained on community discourse capture the alternate hate speech meanings of code words?
  • RQ5Is inter-annotator agreement higher when using data from extremist communities compared to general social media?

Key findings

  • The inter-annotator agreement for the extremist community dataset was K=0.871, significantly higher than the K=0.676 for the keyword-sampled data, indicating better consistency in contextual hate speech detection.
  • The F1 score for hate speech classification was 0.93 on the HateComm dataset, demonstrating high accuracy in identifying contextually hateful usage.
  • The method successfully identified code words such as 'skypes', 'googles', and 'niggers' as having alternate hate speech meanings, even when their surface forms appear benign.
  • Annotators were able to correctly classify hate speech intent at scale, with no majority label being 'Neutral', showing strong consensus on contextual hate speech.
  • The results support the claim that hate speech detection is fundamentally contextual and does not depend on fixed keyword lists.
  • The study provides a high-quality hate speech dataset and learned code words that can be integrated into existing classification systems to improve detection accuracy.

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.