Datasets:

Modalities:
Tabular
Text
Formats:
csv
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
File size: 3,585 Bytes
ef9cc84
 
 
 
 
 
 
 
6ba8749
 
 
 
 
 
 
 
 
 
 
ef9cc84
2c44b4f
 
 
 
 
 
ef9cc84
2c44b4f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f1b5d0c
 
 
 
 
 
 
 
 
 
ef9cc84
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
license: cc-by-sa-4.0
task_categories:
- text-classification
language:
- en
size_categories:
- 1K<n<10K
configs:
- config_name: main_data
  data_files:
  - split: all
    path: "data/CREHate_final_annotations.csv"
  - split: sbic
    path: "data/CREHate_SBIC.csv"
  - split: cp
    path: "data/CREHate_CP.csv"
- config_name: raw_data
  data_files: "data/CREHate_raw_annotations.csv"
---
# CREHate

Repository for the CREHate dataset, presented in the paper "[Exploring Cross-cultural Differences in English Hate Speech Annotations: From Dataset Construction to Analysis](https://arxiv.org/abs/2308.16705)". (NAACL 2024)

## About CREHate (Paper Abstract)

<img src="CREHate_Dataset_Construction.png" width="400">

Most hate speech datasets neglect the cultural diversity within a single language, resulting in a critical shortcoming in hate speech detection. 
To address this, we introduce **CREHate**, a **CR**oss-cultural **E**nglish **Hate** speech dataset.
To construct CREHate, we follow a two-step procedure: 1) cultural post collection and 2) cross-cultural annotation.
We sample posts from the SBIC dataset, which predominantly represents North America, and collect posts from four geographically diverse English-speaking countries (Australia, United Kingdom, Singapore, and South Africa) using culturally hateful keywords we retrieve from our survey.
Annotations are collected from the four countries plus the United States to establish representative labels for each country.
Our analysis highlights statistically significant disparities across countries in hate speech annotations.
Only 56.2% of the posts in CREHate achieve consensus among all countries, with the highest pairwise label difference rate of 26%.
Qualitative analysis shows that label disagreement occurs mostly due to different interpretations of sarcasm and the personal bias of annotators on divisive topics.
Lastly, we evaluate large language models (LLMs) under a zero-shot setting and show that current LLMs tend to show higher accuracies on Anglosphere country labels in CREHate.

## Dataset Statistics
<div id="tab:3_1_stats">

| **Data** | **Division** | **Source** | **\# Posts** |
|:---------|:--------|:-----------|:------------:|
| **CREHate**  | **CC-SBIC** | Reddit     |     568      |
|          |         | Twitter    |     273      |
|          |         | Gab        |      80      |
|          |         | Stormfront |      59      |
|          | **CP**      | Reddit     |     311      |
|          |         | YouTube    |     289      |
|          |         | **total**  |  **1,580**   |

Data statistics and sources of CREHate. CC-SBIC refers to cross-culturally
re-annotated SBIC posts. CP refers to additionally collected cultural
posts from four countries (AU, GB, SG, and ZA), which are also
cross-culturally annotated.

</div>

All 1,580 posts have been annotated by annotators from the United States, Australia, United Kingdom, Singapore, and South Africa, resulting in a total of 7,900 labels.


## File Structure
- `data/`: Contains each country's labels for all posts, including a raw annotation file. Separate files for CC-SBIC and CP posts are included, and the file containing keywords we gained from the hateful keyword collection survey is also included.
- `llm_inference.py`: Codes used for LLM inference. OpenAI key is needed for inference in GPT models. By changing L468, you can test on prompts with country personas.
  
  ```shell
  $ python llm_inference.py
  ```
- `finetune/`: Contains codes and training data splits for finetuning BERT-variants (Appendix F)