You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

You agree to not use the dataset to conduct any activity that causes harm to human subjects.

Log in or Sign Up to review the conditions and access this dataset content.

Arabic Hate Speech Superset

This dataset is a superset (N=449,080) of posts annotated as hateful or not. It results from the preprocessing and merge of all available Arabic 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:

Additional datasets on demand

In our survey, we identified one additional dataset that is not public but can be requested to the authors, namely:

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.",
}
Downloads last month
104

Collection including manueltonneau/arabic-hate-speech-superset