manueltonneau's picture
Update README.md
4d77e0e verified
metadata
task_categories:
  - text-classification
language:
  - en
tags:
  - hate speech
size_categories:
  - 100K<n<1M
extra_gated_prompt: >-
  You agree to not use the dataset to conduct any activity that causes harm to
  human subjects.
extra_gated_fields:
  Please provide more information on why you need this dataset and how you plan to use it:
    type: text

English Hate Speech Superset

This dataset is a superset (N=360,495) of posts annotated as hateful or not. It results from the preprocessing and merge of all available English hate speech datasets in April 2024. These datasets were identified through a systematic survey of hate speech datasets conducted in early 2024. We only kept datasets that:

  • are documented
  • are publicly available or could be retrieved with the Twitter API
  • focus on hate speech, defined broadly as "any kind of communication in speech, writing or behavior, that attacks or uses pejorative or discriminatory language with reference to a person or a group on the basis of who they are, in other words, based on their religion, ethnicity, nationality, race, color, descent, gender or other identity factor" (UN, 2019)

The survey procedure is further detailed in our survey paper.

NEW (Nov 2024):

  • we now include the post author country location in post_author_country_location when we were available to infer it. The inference uses the Twitter user location and the Google Geocoding API. More details in our survey paper.
  • we now also include posts from datasets that are not publicly available but could be retrieved with the Twitter API

Data access and intended use

Please send an access request detailing how you plan to use the data. The main purpose of this dataset is to train and evaluate hate speech detection models, as well as study hateful discourse online. This dataset is NOT intended to train generative LLMs to produce hateful content.

Columns

The dataset contains six columns:

  • text: the annotated post
  • labels: annotation of whether the post is hateful (== 1) or not (==0). As datasets have different annotation schemes, we systematically binarized the labels.
  • source: origin of the data (e.g., Twitter)
  • dataset: dataset the data is from (see "Datasets" part below)
  • nb_annotators: number of annotators by post
  • tweet_id: tweet ID where available
  • post_author_country_location: post author country location, when it could be inferred. Details on the inference in our survey paper.

Datasets

The datasets that compose this superset are:

  • Automated Hate Speech Detection and the Problem of Offensive Language (davidson in the dataset column)
  • When Does a Compliment Become Sexist? Analysis and Classification of Ambivalent Sexism Using Twitter Data (compliment_sexist in the dataset column)
  • Detecting Online Hate Speech Using Context Aware Models (fox_news)
  • Hate Speech Dataset from a White Supremacy Forum (white_supremacy)
  • Peer to Peer Hate: Hate Speech Instigators and Their Targets (melsherief)
  • Hate Lingo: A Target-based Linguistic Analysis of Hate Speech in Social Media (melsherief)
  • Anatomy of Online Hate: Developing a Taxonomy and Machine Learning Models for Identifying and Classifying Hate in Online News Media (anatomy_online_hate)
  • CONAN - COunter NArratives through Nichesourcing: a Multilingual Dataset of Responses to Fight Online Hate Speech (CONAN)
  • A Benchmark Dataset for Learning to Intervene in Online Hate Speech (benchmark)
  • Multilingual and Multi-Aspect Hate Speech Analysis (MLMA)
  • Overview of the HASOC track at FIRE 2019: Hate Speech and Offensive Content Identification in Indo-European Languages (hasoc)
  • Constructing interval variables via faceted Rasch measurement and multitask deep learning: a hate speech application (measuring-hate-speech)
  • Detecting East Asian Prejudice on Social media (east_asian)
  • Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detection (learning from the worst)
  • HateXplain: A Benchmark Dataset for Explainable Hate Speech Detection (hatexplain)
  • An Expert Annotated Dataset for the Detection of Online Misogyny (online-misogyny)
  • Introducing CAD: the Contextual Abuse Dataset (CAD)
  • Hatemoji: A Test Suite and Adversarially-Generated Dataset for Benchmarking and Detecting Emoji-based Hate (hatemoji-build)
  • The Gab Hate Corpus: A collection of 27k posts annotated for hate speech (GHC)
  • ETHOS: an Online Hate Speech Detection Dataset (ETHOS)
  • Analyzing the Proliferation of Hate Speech in Parler (Parler)
  • SemEval-2023 Task 10: Explainable Detection of Online Sexism (EDOS)

Additional datasets on demand

In our survey, we identified six additional datasets that are not public but can be requested to the authors. We include in our dataset posts from these datasets that could be retrieved with the Twitter API. The full list is:

Preprocessing

We drop duplicates. In case of non-binary labels, the labels are binarized (hate speech or not). We replace all usernames and links by fixed tokens to maximize user privacy. Further details on preprocessing can be found in the preprocessing code here.

Citation

Please cite our survey paper if you use this dataset.

@inproceedings{tonneau-etal-2024-languages,
    title = "From Languages to Geographies: Towards Evaluating Cultural Bias in Hate Speech Datasets",
    author = {Tonneau, Manuel  and
      Liu, Diyi  and
      Fraiberger, Samuel  and
      Schroeder, Ralph  and
      Hale, Scott  and
      R{\"o}ttger, Paul},
    editor = {Chung, Yi-Ling  and
      Talat, Zeerak  and
      Nozza, Debora  and
      Plaza-del-Arco, Flor Miriam  and
      R{\"o}ttger, Paul  and
      Mostafazadeh Davani, Aida  and
      Calabrese, Agostina},
    booktitle = "Proceedings of the 8th Workshop on Online Abuse and Harms (WOAH 2024)",
    month = jun,
    year = "2024",
    address = "Mexico City, Mexico",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.woah-1.23",
    pages = "283--311",
    abstract = "Perceptions of hate can vary greatly across cultural contexts. Hate speech (HS) datasets, however, have traditionally been developed by language. This hides potential cultural biases, as one language may be spoken in different countries home to different cultures. In this work, we evaluate cultural bias in HS datasets by leveraging two interrelated cultural proxies: language and geography. We conduct a systematic survey of HS datasets in eight languages and confirm past findings on their English-language bias, but also show that this bias has been steadily decreasing in the past few years. For three geographically-widespread languages{---}English, Arabic and Spanish{---}we then leverage geographical metadata from tweets to approximate geo-cultural contexts by pairing language and country information. We find that HS datasets for these languages exhibit a strong geo-cultural bias, largely overrepresenting a handful of countries (e.g., US and UK for English) relative to their prominence in both the broader social media population and the general population speaking these languages. Based on these findings, we formulate recommendations for the creation of future HS datasets.",
}