<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>LAHM : Large Annotated Dataset for Multi-Domain and Multilingual Hate Speech Identification</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ankit Yadav</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Shubham Chandel</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sushant Chatufale</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Anil Bandhakavi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Logically.ai, Brookfoot Mills, Brookfoot Industrial Estate</institution>
          ,
          <addr-line>Brighouse, HD6 2RW</addr-line>
          ,
          <country country="UK">United Kingdom</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Current research on hate speech analysis is typically oriented towards monolingual and single classiifcation tasks. In this paper, we present a new multilingual hate speech analysis dataset for English, Hindi, Arabic, French, German and Spanish languages for multiple domains across hate speech - Abuse, Racism, Sexism, Religious Hate and Extremism. To the best of our knowledge, this paper is the first to address the problem of identifying various types of hate speech in these five wide domains in these six languages. In this work, we describe how we created the dataset, created annotations at high level and low level for diferent domains and how we use it to test the current state-of-the-art multilingual and multitask learning approaches. We evaluate our dataset in various monolingual, cross-lingual and machine translation classification settings and compare it against open source English datasets that we aggregated and merged for this task. Then we discuss how this approach can be used to create large scale hate-speech datasets and how to leverage our annotations in order to improve hate speech detection and classification in general.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;hate speech</kwd>
        <kwd>multilingual</kwd>
        <kwd>multi-domain</kwd>
        <kwd>cross-lingual</kwd>
        <kwd>racism</kwd>
        <kwd>religious hate</kwd>
        <kwd>sexism</kwd>
        <kwd>abuse</kwd>
        <kwd>extremism</kwd>
        <kwd>few shot learning</kwd>
        <kwd>zero shot learning</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Abusive language is an important and relevant issue in social media platforms such as Twitter.
Social media is often exploited to propagate toxic content such as hate speech or other forms of
abusive language. The amount of user-generated content produced every minute is very large,
and manually monitoring abusive behavior in Twitter is not feasible and impractical. Twitter
has made eforts to eliminate abusive content from their platform by providing clear policies
on hateful conduct, user reporting and using moderators to filter content. Still, these manual
eforts are not scalable enough and are not long term.</p>
      <p>Several studies from the Natural Language Processing (NLP) field have been done to tackle the
problem of hate speech detection in social media. Most studies proposed a supervised approach
to detect abusive content automatically using various models ranging from traditional machine
learning approaches to deep learning based approaches. However, the majority of work focused
only on a single language, i.e., English, and a single abusive domain phenomenon, e.g., hate
speech, sexism, racism, religious hate and so on, rather than multiple languages and multiple
domains. Twitter supports content in 34 languages and user can use any one of them to express
views. Thus the problem of tackling hateful content in real time in multiple languages becomes
a challenge. We need robust models for hateful content detection across multiple languages and
multiple domains.</p>
      <p>In this paper we try to tackle two prominent challenges in hate speech
detection1. Build a multilingual dataset for hate speech detection across 6 languages -: English,</p>
      <p>Hindi, French, Arabic, German, Spanish.
2. Build a multi-domain dataset that covers these hate speech domains -: Abusive, Racism,</p>
      <p>Sexism, Religious Hate and Extremism
We define the diferent domains as follows-:
1. RACISM: Discrimination based on race, ethnicity, caste, nationality, culture, skin colour,
hair texture, physical aspects.
2. SEXISM: Discrimination based on gender/sexual orientation.
3. RELIGIOUS HATE: Religious discrimination treating a person or group diferently because
of the particular faith/belief which they hold about a religion.
4. ABUSE: Speech that causes or likely to cause distress, disrespect or mental pain, especially
from vulgar and profane comments.
5. EXTREMISM: Speech that cause or is likely to cause, harm to individuals, communities
or wider society, and where any political, civil issues can lead to extremist behaviour
through violence.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>
        There have been several studies on abusive language detection [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], ofensive language, hate
speech identification[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], toxicity [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], hatefulness [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], aggression [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], attack [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], racism, sexism
[
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], obscenity, threats, and insults.
      </p>
      <p>
        Along with that, there are several shared tasks that have focused on abusive language and
hate speech detection such as HASOC-2019 [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], TRAC shared task on aggression identification
[
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], HatEval [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and GermEval-2018 [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]which focused on ofensive language identification in
German tweets.
      </p>
      <p>
        Waseem[
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] proposed the following list to identify hate speech. Their criteria are partially
derived by negating the privileges observed in McIntosh (2003), where they occur as ways to
highlight importance, ensure an audience, and ensure safety for white people, and partially
derived from applying common sense. A tweet is categorized as ofensive if it:
1. uses a sexist or racial slur.
2. attacks a minority.
3. seeks to silence a minority.
4. criticizes a minority (without a well founded argument).
5. promotes, but does not directly use, hate speech or violent crime.
6. criticizes a minority and uses a straw man argument.
7. blatantly misrepresents truth or seeks to distort views on a minority with unfounded
claims.
8. shows support of problematic hash tags - “#BanIslam”, “#whoriental”, “#whitegenocide”
9. negatively stereotypes a minority.
10. defends xenophobia or sexism.
11. contains a screen name that is ofensive, as per the previous criteria, the tweet is ambiguous
(at best), and the tweet is on a topic that satisfies any of the above criteria.
      </p>
      <p>
        Wide variety of machine learning models have been used to deal with multi-domain hate
speech detection task. Some studies use traditional machine learning approaches such as, logistic
regression [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], support vector machine [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] [14], linear support vector machine classifiers
(LSVC) [15] [16] [17]. They used it for better explainability, along with several deep learning
based models, including convolutions neural networks [18] [19], LSTM [20] [18] [17] [16] [21],
bidirectional LSTM [22]. Most recent works focus on transfer learning and novel architectures
involving Transformers based models such as Bidirectional Encoder Representations from
Transformers (BERT) [23] [24] [25] [26] [27] and its variants like RoBERTa [25] in the
crossdomain abusive language detection task.
      </p>
      <p>
        For cross-lingual abusive language detection, most studies utilized transformers based models.
Some traditional models used such as logistic regression [28] [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] [29], linear support vector
machines [16] [17], SVM [30], LSTM [31] [29] and Bi-LSTMs [31] have also been used. Recent
work focused on several transformer based architectures such as multilingual BERT [32] [28] [25]
[17] [33] [34] [29], RoBERTa [35], XLM [31] [34] and XLM-RoBERTa [35] [25] [36]. Transformers
based models with multilingual language representations can easily deal with language shift in
zero-shot cross-lingual task.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. LAHM Dataset</title>
      <p>In this section, we describe the characteristics that we want to include in our dataset, our
approach to collect diferent types of hate speech while covering all major hate speech domains
and how to annotate data at large scale. We also give detailed statistics and analysis for the
collected data.</p>
      <sec id="sec-3-1">
        <title>3.1. Essentials of LAHM dataset</title>
        <p>Considering no such dataset is available at present that covers these five domains of hate speech
in the six languages, our aim is to create a reliable multilingual and multifaceted hate speech
dataset.</p>
        <p>Multilingual data: Our dataset is created as multilingual resource to facilitate cross-lingual
research. It contains hate speech in English, Hindi, French, Arabic, German and Spanish
languages.
Multi-Domain data: Our dataset consists of fine-grained labels for each hate sample per
language. These aspects cover majority of hate domains such as racism, sexism, abuse, religious
hate and extremism.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Dataset Collection</title>
        <sec id="sec-3-2-1">
          <title>3.2.1. Language and Domain Specific Keywords Collection</title>
          <p>Considering the cultural diferences in the main regions where English, Hindi, French, Arabic,
Spanish and German are spoken, we start by looking for the hateful keywords that are native to
these languages. We use HateBase vocabulary dataset, which is a valuable lexicon for creating
hateful dataset from public forums, as well as Hatebase’s sightings dataset, which is useful for
trending analysis of keywords.</p>
          <p>We targeted 6 languages. Additionally we tried some indic languages mainly Marathi and
Bangla but hatebase has negligible coverage for these languages in terms of keywords.
Additionally, we extracted the following:
1. Targeted groups for the keywords
2. Ofensive levels of keywords - Extremely, Highly and Mildly ofensive.
3. Recent sighting counts</p>
          <p>Target groups help us categorise keywords in low level classes of ethnicity &amp; nationality,
religious hate, gender &amp; sexual orientation and general abuse. Details of keywords per domain
and language are provided in Table 1 in dataset statistics. Total keywords collected were 1022 .
To extract data for extremism, we used a set of keywords related to extremism and terrorism
(including terrorist organisation names) to retrieve news articles from BBC Monitoring1.
1. We further extracted comments from those articles related to extremism and
terrorism. We also extracted tweets and comments which were extremist in nature from the
counterextremism database2.
2. The comments extracted were said by members and suspects of terrorist and extremist
organisations on Facebook, Twitter and YouTube.</p>
        </sec>
        <sec id="sec-3-2-2">
          <title>3.2.2. Large Scale Multilingual Dataset of Tweets</title>
          <p>
            We started our dataset collection by using the keywords built per language. We utilize twint3
API to collect 1000-2000 tweets per keyword as Twitter oficial API can only be utilized for
limited number of requests. We searched through the API for last one year of data. We also add
additional keywords from MLMA [
            <xref ref-type="bibr" rid="ref1">1</xref>
            ] for Arabic and French.
          </p>
          <p>The collected raw data contains cross-lingual tweets and therefore language detection
becomes a part of our process. For each keyword in each language we consider tweets only in
that language and drop the rest. This helps us in training monolingual hate speech detection
without any need to worry for code switching in languages.</p>
          <p>We substituted all usernames with @USER and urls with @URL and cleaned any unnecessary
symbols from the tweet. We also discarded short tweets with less than 4 words. In total we
collected 497660 tweets. Details of tweets per language is given in section 3.3 Dataset Statistics.</p>
          <p>For extremism class we carefully handcrafted a total of 88 keywords and collected the data
from BBC monitoring. Additional data was collected from other websites for extremism.</p>
        </sec>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Dataset Statistics</title>
        <p>Table 1 gives us the distribution of keywords across diferent languages and diferent domains.
We have merged classes from hate base to arrive at those domains. Sexism contains keywords
that belong to gender and sexual orientation. Racism includes classes of ethnicity and nationality.
Religious Hate includes words belonging to Religion category on Hatebase 4. Extremism
keywords were handcrafted as described in section 3.2.</p>
        <p>English was the dominant language in terms of the total keywords (500) extracted. Besides
Hindi, racism is the major domain for which all languages have highest number of hate keywords.</p>
      </sec>
      <sec id="sec-3-4">
        <title>3.4. HSMerge Dataset</title>
        <sec id="sec-3-4-1">
          <title>3.4.1. Dataset Preparation</title>
          <p>
            In order to build the dataset for diferent tasks with gold labels, we utilize 10 publicly available
datasets for diferent types (tasks) of hate speech detection. We sampled annotated examples
from diverse English datasets: GAO hatefulness [
            <xref ref-type="bibr" rid="ref5">5</xref>
            ], TRAC aggression [
            <xref ref-type="bibr" rid="ref6">6</xref>
            ], ofensive [ 37], racism
and sexism [
            <xref ref-type="bibr" rid="ref8">8</xref>
            ], MLMA [
            <xref ref-type="bibr" rid="ref1">1</xref>
            ], attack [
            <xref ref-type="bibr" rid="ref7">7</xref>
            ], CONAN [38], MMHS150k [39].
          </p>
          <p>
            We map labels from these datasets into diferent domains: abusive, non-abusive, sexism,
racism and religious hate. For OLID [37] OFFENSIVE maps to Abuse. GAO and WUL had binary
2https://www.counterextremism.com/daily-dose-archive
3https://github.com/twintproject/twint/
4https://hatebase.org/
labels, while the original TRAC uses three labels: non-aggressive, covertly-aggressive, and
openly-aggressive. We relabel the first as non-abusive, and the other two as abusive. For MLMA
we create labels on the basis of target groups: target group RELIGION becomes RELIGIOUS
HATE. For MLMA [
            <xref ref-type="bibr" rid="ref1">1</xref>
            ] target group GENDER and SEXUAL ORIENTATION maps to SEXISM,
target group RELIGION becomes RELIGIOUS HATE, target group ORIGIN becomes RACISM. For
HASOC [
            <xref ref-type="bibr" rid="ref9">9</xref>
            ] OFFENSIVE maps to ABUSE. For COnan[40] target groups MUSLIMS, JEWS becomes
RELIGIOUS HATE labels, target groups MIGRANTS, POC maps to RACISM, target group WOMEN,
LGBT+ maps to SEXISM and DISABLED maps to general ABUSE group. For MMHS150K [39] we
got RACISM, SEXISM, RELIGIOUS HATE &amp; OTHERHATE.
          </p>
          <p>For some of these data we had to hydrate tweets from Twitter using oficial Twitter API as
only the tweet ids had been provided. For Waseem and Founta [38], majority of the tweets were
not available on Twitter which led to less number of tweets compared to the oficial dataset. We
standardized these datasets into a single HSMerge dataset. Details of classes and total samples is
available in Table 3.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experiments</title>
      <sec id="sec-4-1">
        <title>4.1. Overall Methodology and Models</title>
        <p>In this section, we describe the various components of our pipeline as shown in figure 1 and
the models used for semi-supervised annotation process in diferent settings. Most of the hate
speech detection tasks depend on manual annotation that limits the number of samples that can
be labeled. We used a hierarchical approach to validate and refine our initial keyword based
dataset from Twitter.</p>
        <p>1. Monolingual hate speech detection models from Hate-ALERT used as zero shot pipeline
to get high level labels of Hate or NoHate in monolingual settings.
2. Multilingual mbert fine-tuned model to get high level labels.
3. Translate the raw data of five languages (other than English) to English.
4. Use multilingual binary classifier (developed in step 2) on translated data to classify tweets
at high level.
5. Utilize Google Perspective API to predict toxicity of tweets for high level labels.
6. Use two way voting to predict final binary labels.
7. Fine-tuned "distilbert-base-uncased" model on only the English dataset, and used it to do
annotations for the English translations of the data collected from Twitter in 5 languages.
8. To validate our domain specific labels we trained various models on HSMerge data shown
in Table 3 and predicted on hateful samples obtained from step 6.</p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Experimental Setting</title>
        <p>To evaluate the performance of the models, we used weighted average F1 for benchmarking on
validation set. All the experiments were done on NVIDIA A100 GPU with up to 20 GiB RAM.</p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Hatefulness (Hate/No-Hate)</title>
        <p>We utilised hate speech models to perform initial validation on the raw LAHM dataset; details
can be found in Section 5.</p>
        <sec id="sec-4-3-1">
          <title>4.3.1. Monolingual Experiments</title>
          <p>We utilized BERT based language specific hate speech models from HuggingFace. The models
used were trained, validated and tested on the same language.</p>
          <p>We utilized the following language models for our experiments:
1. Hate-speech-CNERG/dehatebert-mono-english 5
2. l3cube-pune/hate-multi-roberta-hasoc-hindi6
3. Hate-speech-CNERG/dehatebert-mono-french7
4. Hate-speech-CNERG/dehatebert-mono-german8
5. Hate-speech-CNERG/dehatebert-mono-spanish9</p>
          <p>Binary hate labels distribution results from monolingual experiments are presented in table 8</p>
        </sec>
        <sec id="sec-4-3-2">
          <title>4.3.2. Machine Translation Experiments</title>
          <p>We adopted the methodology to utilize open source machine translation models for translation
of English data to multilingual data and vice-versa. To select the best machine translation model
for each of our languages, we evaluated a number of models on a small manually annotated
dataset. The translations were carried out for each of the these languages: Hindi, Arabic, French,
German and Spanish. Two types of translations were carried out using the translation models:
1. Translation of English dataset collected from various open source hate speech datasets.</p>
          <p>All the English language samples in this dataset were translated to other 5 languages.
2. Translation of multilingual data collected from Twitter. This data was collected for the
above 5 languages, and each of this language data was translated into corresponding
English language data.</p>
          <p>Consideration for choosing and evaluating the translation models was based on whether they
were open source, free/easy to use, and the translation quality. Translation models used were:
1. Google sheets translation
2. m2m-100-1.2B10
3. IndicTrans11</p>
          <p>The evaluation metrics used were bleu, rougeL and semantic similarity. For semantic
similarity, all-mpnet-base-v2 model from sentence-transformers library was used to calculate the cosine
score between input and translated sentence embeddings. Figure 4.3.2 shows comparisons
of bleu, rougeL and semantic similarity scores for the 3 models on diferent languages. After
comparing the performances and taking other considerations into account, indicTrans model
was selected for all translations of Indic languages (Hindi), and m2m-100-1.2B was selected for
the other languages.</p>
          <p>5https://huggingface.co/Hate-speech-CNERG/dehatebert-mono-english
6l3cube-pune/hate-roberta-hasoc-hindi
7https://huggingface.co/Hate-speech-CNERG/dehatebert-mono-french
8https://huggingface.co/Hate-speech-CNERG/dehatebert-mono-german
9https://huggingface.co/Hate-speech-CNERG/dehatebert-mono-spanish
10https://github.com/UKPLab/EasyNMT
11https://github.com/AI4Bharat/indicTrans</p>
        </sec>
        <sec id="sec-4-3-3">
          <title>4.3.3. Binary Multilingual Experiments</title>
          <p>We utilized mbert which is a pre-trained model on the top 104 languages with the largest
Wikipedia corpus using a masked language modeling (MLM) objective, to fine-tune for binary
classification task to perform few shot learning experiments. The aim was to make the classifier
learn over samples from a few languages and test over other languages. The training dataset
was predominant in English, curated from multiple open source resources. In addition to that
we introduced language samples for a few other languages using a neural machine translation
based open source model (m2m_100_1.2B)12. NMT is an approach to achieve machine translation
using artificial neural nets to predict the best possible sequence of words.</p>
          <p>The model was trained, tested and validated on the custom multilingual dataset curated with
the class distribution shown in Table 4 per chosen language. We utilized this model to make
predictions on the curated dataset.</p>
        </sec>
        <sec id="sec-4-3-4">
          <title>4.3.4. Perspective API Experiments</title>
          <p>Perspective API is a free to use API that uses machine learning to identify toxicity in the
comments. It has API rate limitations of 1 request per second. Due to this limitation we utilized
it on all languages except English. We utilized Google Cloud to generate the Perspective API
key for sending requests, and specifically CommentAnalyzer API to get the toxicity score for
each data point. The CommentAnalyzer API supports all the 5 languages we have considered.
We used the Twitter cleaned data we had collected for the 5 languages to get the Toxicity score
to classify each tweet as hate or not-hate. Numbers are reported in Table 8.</p>
        </sec>
      </sec>
      <sec id="sec-4-4">
        <title>4.4. Multi-Domain Experiments</title>
        <p>This section describes the multi-domain experiments to validate labels on the LAHM dataset.</p>
        <sec id="sec-4-4-1">
          <title>4.4.1. Machine Translation Based Multi-Domain Experiments</title>
          <p>HSMerge data present in Table 3 was used for the multi-domain classification of hate speech. This
dataset was pre-processed by removing URLs, mentions/usernames, null values and duplicates.</p>
          <p>The aim was to utilize transfer learning to fine-tune a model on only the English dataset, and
use it to do annotations for the English translations of the data collected from Twitter in other
5 languages.</p>
          <p>12https://github.com/pytorch/fairseq/tree/main/examples/m2m100
1. 20,174 training samples
2. 5,044 validation samples
3. 6,305 test samples</p>
          <p>The model used for fine-tuning on this dataset was "distilbert-base-uncased"13. DistilBERT is
a distilled version of the BERT base model. It has 40 percent less parameters than
bert-baseuncased, is 60 percent faster and retains almost 97 percent of BERT’s performances14. A linear
layer on top of the pooled output of the model was added for the multi-class classification.
During training, the maximum sequence length was limited to 256, batch size was set to 32,
learning rate 5e-5 and was trained for 4 epochs. The dataset was split into train, validation and
test set using stratified random sampling. Dataset details :</p>
          <p>The model evaluation metrics on the test set are given in Table 5.</p>
        </sec>
        <sec id="sec-4-4-2">
          <title>4.4.2. Cross lingual based Multi-Domain Experiments</title>
          <p>To validate our fine-grained labels with keywords from hatebase, we experimented with
crosslingual models trained on HSmerge dataset as shown in Table 3. In this experiment setting
we fine tuned the mbert model for the multi-class classification task and trained the model on
HSmerge data in Table 3 and do the prediction on the other languages. Empirical results can be
found under Table 7. In this zero-shot setting, no other language samples were given to the
model after fine-tuning on the English dataset and also machine translation was not involved at
all in either the pre-training or fine-tuning.</p>
          <p>We couldn’t manage to maintain the class distribution, and the extremism class was left with
comparatively less data points. To counter the issue we introduced custom class weights to
provide equal attention to the minority class which in our case was extremism. This was done
using a weighted class random sampler WeightedSampler for class imbalance, so that all classes
have equal probability. The empirical scores achieved by the cross-lingual model can be found
in the Table 7.</p>
          <p>13https://huggingface.co/distilbert-base-uncased
14https://arxiv.org/abs/1910.01108
1. 19298 training samples
2. 6432 validation samples
3. 6434 test samples</p>
          <p>The open source mbert model we fine-tuned for our use case has previously been tested for
zero-shot experimentation15 and did manage to achieve decent empirical scores shown in Table
6. Dataset details :</p>
          <p>Domains</p>
          <p>precision recall f1-score support
racism 0.93
sexism 0.93
religious hate 0.93
abuse 0.93
extremism 0.85
accuracy
macro avg
weighted avg</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Evaluation</title>
      <p>We performed initial level of validation (Hatefulness) experiments on the raw LAHM dataset
using open source monolingual models, Perspective API and the multilingual binary classifier
we trained. We compared the results for monolingual and multilingual and noticed that our
multilingual few-shot learning based classifier out-performed the open source monolingual
BERT based models from HuggingFace except on Arabic and French languages where the latter
did a better job; details can be found in Table 8. Based on the analysis we took at least 2 votes
from the models which performed better, details shown in Table 9.</p>
      <p>For Hindi, Perspective API performed better by predicting 31 percent as hate compared to 12
percent for binary classifier. For Arabic, the binary classifier performed significantly better.</p>
      <p>For domain validation we utilised the zero-shot cross-lingual, multi-domain and machine
translation based multi-domain models trained with HSmerge data in Table 3 and performed
15https://github.com/google-research/bert/blob/master/multilingual.md#results</p>
      <p>Language Mono-Lingual Multi-lingual Perspective API
English ✓ ✓
Hindi ✓ ✓
Arabic ✓ ✓
French ✓ ✓
German ✓ ✓</p>
      <p>Spanish ✓ ✓
Language</p>
      <p>Abuse</p>
      <p>Sexism</p>
      <p>Racism</p>
      <p>Religious</p>
      <p>Extremism
English
Arabic
Hindi
French
German
Spanish
Total
4228
1895
1511
813
180
818
2934
994
440
779
123
483
1566
736
282
2393
30
139
predictions on the diferent languages. Label distribution from cross-lingual models are shown
in Table 10. Label distribution of predictions for diferent languages on the LAHM dataset from
multi-class translated model is in Table 11.</p>
      <p>For Hindi, 31.6 percent samples were Abuse, while the lowest were 10.3 percent for Racism.
For Arabic, Sexism and Extremism contributed to 73 percent of all hate samples. For French, 32
percent were Abuse and lowest 8.3 percent were Religious Hate. For German, 51 percent were
Sexism while the lowest were Religious Hate and Extremism together amounting to 13 percent.
For Spanish, Abuse and Sexism had 27 percent each, while Religious Hate had 5 percent of
samples.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>We have presented the LAHM dataset, a large scale semi-supervised training dataset for
multilingual and multi-domain hate speech identification, we created by using 3 layer annotation
pipeline and combination of monolingual, multilingual and cross-lingual models. To the best
of our knowledge, LAHM is the largest of its kind, containing close to 300k tweets across 6
languages and 5 domains.</p>
      <p>LAHM enables cross-lingual abusive language detection across five domains and in-depth
interplay between language shift and domain shift. We have profiled LAHM as a comprehensive
resource for evaluating hate speech detection through a series of cross-domain experiments
in monolingual, multilingual and cross-lingual setups with state of the art transfer learning
models.</p>
      <p>We hope that LAHM will inspire more eforts in understanding and building semi-supervised
large scale multilingual and multi-domain abusive language detection datasets.</p>
    </sec>
    <sec id="sec-7">
      <title>7. Future Work</title>
      <p>For future work we explored leetspeak detection and identification on social networks. A lot of
hate content on social media uses leetspeak to evade moderators and automated systems. We
collected hate keywords belonging in this category for each of the 5 domains, and experimented
with a set of leets for each keyword to extract the leetspeak hate content. We plan to use this
for future work in multilingual and multi-domain settings.
platform arabic news comment dataset for ofensive language detection, in: Proceedings
of the 12th Language Resources and Evaluation Conference, 2020, pp. 6203–6212.
[14] M. Wiegand, J. Ruppenhofer, A. Schmidt, C. Greenberg, Inducing a lexicon of abusive
words–a feature-based approach (2018).
[15] M. Karan, J. Šnajder, Cross-domain detection of abusive language online, in: Proceedings
of the 2nd workshop on abusive language online (ALW2), 2018, pp. 132–137.
[16] E. W. Pamungkas, V. Patti, Cross-domain and cross-lingual abusive language detection:
A hybrid approach with deep learning and a multilingual lexicon, in: Proceedings of the
57th annual meeting of the association for computational linguistics: Student research
workshop, 2019, pp. 363–370.
[17] E. W. Pamungkas, V. Basile, V. Patti, Misogyny detection in twitter: a multilingual and
cross-domain study, Information Processing &amp; Management 57 (2020) 102360.
[18] J. S. Meyer, B. Gambäck, A platform agnostic dual-strand hate speech detector, in: ACL
2019 The Third Workshop on Abusive Language Online Proceedings of the Workshop,
Association for Computational Linguistics, 2019.
[19] K. Wang, D. Lu, S. C. Han, S. Long, J. Poon, Detect all abuse! toward universal abusive
language detection models, arXiv preprint arXiv:2010.03776 (2020).
[20] A. Arango, J. Pérez, B. Poblete, Hate speech detection is not as easy as you may think:
A closer look at model validation, in: Proceedings of the 42nd international acm sigir
conference on research and development in information retrieval, 2019, pp. 45–54.
[21] Z. Waseem, J. Thorne, J. Bingel, Bridging the gaps: Multi task learning for domain transfer
of hate speech detection, in: Online harassment, Springer, 2018, pp. 29–55.
[22] M.-A. Rizoiu, T. Wang, G. Ferraro, H. Suominen, Transfer learning for hate speech detection
in social media, arXiv preprint arXiv:1906.03829 (2019).
[23] T. Caselli, V. Basile, J. Mitrović, M. Granitzer, Hatebert: Retraining bert for abusive language
detection in english, arXiv preprint arXiv:2010.12472 (2020).
[24] A. Koufakou, E. W. Pamungkas, V. Basile, V. Patti, Hurtbert: incorporating lexical features
with bert for the detection of abusive language, in: Proceedings of the fourth workshop
on online abuse and harms, 2020, pp. 34–43.
[25] G. Glavaš, M. Karan, I. Vulic, Xhate-999: Analyzing and detecting abusive language across
domains and languages, Association for Computational Linguistics, 2020.
[26] M. Mozafari, R. Farahbakhsh, N. Crespi, Hate speech detection and racial bias mitigation
in social media based on bert model, PloS one 15 (2020) e0237861.
[27] K. B. Ozler, K. Kenski, S. Rains, Y. Shmargad, K. Coe, S. Bethard, Fine-tuning bert for
multi-domain and multi-label incivil language detection, in: Proceedings of the Fourth
Workshop on Online Abuse and Harms, 2020, pp. 28–33.
[28] S. S. Aluru, B. Mathew, P. Saha, A. Mukherjee, A deep dive into multilingual hate speech
classification, in: Machine Learning and Knowledge Discovery in Databases. Applied
Data Science and Demo Track: European Conference, ECML PKDD 2020, Ghent, Belgium,
September 14–18, 2020, Proceedings, Part V, Springer International Publishing, 2021, pp.
423–439.
[29] N. Vashistha, A. Zubiaga, Online multilingual hate speech detection: experimenting with
hindi and english social media, Information 12 (2021) 5.
[30] M. O. Ibrohim, I. Budi, Translated vs non-translated method for multilingual hate speech
identification in twitter, Int. J. Adv. Sci. Eng. Inf. Technol 9 (2019) 1116–1123.
[31] M. Corazza, S. Menini, E. Cabrio, S. Tonelli, S. Villata, Hybrid emoji-based masked
language models for zero-shot abusive language detection, in: Findings of the Association
for Computational Linguistics: EMNLP 2020, Association for Computational Linguistics,
Online, 2020, pp. 943–949. URL: https://aclanthology.org/2020.findings-emnlp.84. doi: 10.
18653/v1/2020.findings-emnlp.84.
[32] H. Ahn, J. Sun, C. Y. Park, J. Seo, NLPDove at SemEval-2020 task 12: Improving ofensive
language detection with cross-lingual transfer, in: Proceedings of the Fourteenth Workshop
on Semantic Evaluation, International Committee for Computational Linguistics, Barcelona
(online), 2020, pp. 1576–1586. URL: https://aclanthology.org/2020.semeval-1.206. doi:10.
18653/v1/2020.semeval-1.206.
[33] J. M. Pérez, A. Arango, F. Luque, ANDES at SemEval-2020 task 12: A jointly-trained BERT
multilingual model for ofensive language detection, in: Proceedings of the Fourteenth
Workshop on Semantic Evaluation, International Committee for Computational Linguistics,
Barcelona (online), 2020, pp. 1524–1531. URL: https://aclanthology.org/2020.semeval-1.199.
doi:10.18653/v1/2020.semeval-1.199.
[34] L. Stappen, F. Brunn, B. Schuller, Cross-lingual zero-and few-shot hate speech detection
utilising frozen transformer language models and axel, arXiv preprint arXiv:2004.13850
(2020).
[35] T. Dadu, K. Pant, Team rouges at SemEval-2020 task 12: Cross-lingual inductive transfer
to detect ofensive language, in: Proceedings of the Fourteenth Workshop on Semantic
Evaluation, International Committee for Computational Linguistics, Barcelona (online),
2020, pp. 2183–2189. URL: https://aclanthology.org/2020.semeval-1.290. doi:10.18653/
v1/2020.semeval-1.290.
[36] T. Ranasinghe, M. Zampieri, Multilingual ofensive language identification with
crosslingual embeddings, in: Proceedings of the 2020 Conference on Empirical Methods in
Natural Language Processing (EMNLP), Association for Computational Linguistics, Online,
2020, pp. 5838–5844. URL: https://aclanthology.org/2020.emnlp-main.470. doi:10.18653/
v1/2020.emnlp-main.470.
[37] M. Zampieri, P. Nakov, S. Rosenthal, P. Atanasova, G. Karadzhov, H. Mubarak, L.
Derczynski, Z. Pitenis, Ç. Çöltekin, Semeval-2020 task 12: Multilingual ofensive language
identification in social media (ofenseval 2020), arXiv preprint arXiv:2006.07235 (2020).
[38] A. M. Founta, C. Djouvas, D. Chatzakou, I. Leontiadis, J. Blackburn, G. Stringhini, A. Vakali,
M. Sirivianos, N. Kourtellis, Large scale crowdsourcing and characterization of twitter
abusive behavior, in: Twelfth International AAAI Conference on Web and Social Media,
2018.
[39] R. Gomez, J. Gibert, L. Gomez, D. Karatzas, Exploring hate speech detection in multimodal
publications, in: Proceedings of the IEEE/CVF Winter Conference on Applications of
Computer Vision, 2020, pp. 1470–1478.
[40] Fanton, Margherita and Bonaldi, Helena and Tekiroğlu, Serra Sinem and Guerini, Marco,
Human-in-the-Loop for Data Collection: a Multi-Target Counter Narrative Dataset to
Fight Online Hate Speech, in: Proceedings of the 59th Annual Meeting of the Association
for Computational Linguistics, Association for Computational Linguistics, 2021.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>N.</given-names>
            <surname>Ousidhoum</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Lin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Song</surname>
          </string-name>
          , D.-Y. Yeung,
          <article-title>Multilingual and multi-aspect hate speech analysis</article-title>
          ,
          <source>in: Proceedings of EMNLP, Association for Computational Linguistics</source>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Y.-L.</given-names>
            <surname>Chung</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Kuzmenko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. S.</given-names>
            <surname>Tekiroglu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Guerini</surname>
          </string-name>
          ,
          <article-title>Conan-counter narratives through nichesourcing: a multilingual dataset of responses to fight online hate speech</article-title>
          , arXiv preprint arXiv:
          <year>1910</year>
          .
          <volume>03270</volume>
          (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>T.</given-names>
            <surname>Davidson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Warmsley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Macy</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Weber</surname>
          </string-name>
          ,
          <article-title>Automated hate speech detection and the problem of ofensive language</article-title>
          ,
          <source>in: Proceedings of the International AAAI Conference on Web and Social Media</source>
          , volume
          <volume>11</volume>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>V.</given-names>
            <surname>Kolhatkar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Taboada</surname>
          </string-name>
          ,
          <article-title>A corpus for the analysis of online news comments (????).</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>L.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <article-title>Detecting online hate speech using context aware models</article-title>
          ,
          <source>arXiv preprint arXiv:1710.07395</source>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>R.</given-names>
            <surname>Kumar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. K.</given-names>
            <surname>Ojha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Malmasi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zampieri</surname>
          </string-name>
          ,
          <article-title>Benchmarking aggression identification in social media</article-title>
          ,
          <source>in: Proceedings of the First Workshop on Trolling, Aggression and Cyberbullying (TRAC-2018)</source>
          ,
          <year>2018</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>11</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>E.</given-names>
            <surname>Wulczyn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Thain</surname>
          </string-name>
          , L. Dixon,
          <article-title>Ex machina: Personal attacks seen at scale</article-title>
          ,
          <source>in: Proceedings of the 26th international conference on world wide web</source>
          ,
          <year>2017</year>
          , pp.
          <fpage>1391</fpage>
          -
          <lpage>1399</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Waseem</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Hovy</surname>
          </string-name>
          ,
          <article-title>Hateful symbols or hateful people? predictive features for hate speech detection on twitter</article-title>
          ,
          <source>in: Proceedings of the NAACL Student Research Workshop</source>
          , Association for Computational Linguistics, San Diego, California,
          <year>2016</year>
          , pp.
          <fpage>88</fpage>
          -
          <lpage>93</lpage>
          . URL: http://www.aclweb.org/anthology/N16-2013.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>T.</given-names>
            <surname>Mandl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Modha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Mandlia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Patel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Patel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Dave</surname>
          </string-name>
          ,
          <article-title>Hasoc-hate speech and ofensive content identification in indo-european languages</article-title>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>A.</given-names>
            <surname>Basile</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Rubagotti</surname>
          </string-name>
          ,
          <article-title>Crotonemilano for ami at evalita2018. a performant, cross-lingual misogyny detection system</article-title>
          .,
          <source>EVALITA Evaluation of NLP and Speech Tools for Italian</source>
          <volume>12</volume>
          (
          <year>2018</year>
          )
          <fpage>206</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>M.</given-names>
            <surname>Wiegand</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Siegel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Ruppenhofer</surname>
          </string-name>
          ,
          <article-title>Overview of the germeval 2018 shared task on the identification of ofensive language (</article-title>
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>J.</given-names>
            <surname>Salminen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Hopf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. A.</given-names>
            <surname>Chowdhury</surname>
          </string-name>
          , S.-g. Jung,
          <string-name>
            <given-names>H.</given-names>
            <surname>Almerekhi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B. J.</given-names>
            <surname>Jansen</surname>
          </string-name>
          ,
          <article-title>Developing an online hate classifier for multiple social media platforms</article-title>
          ,
          <source>Human-centric Computing and Information Sciences</source>
          <volume>10</volume>
          (
          <year>2020</year>
          )
          <fpage>1</fpage>
          -
          <lpage>34</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>S. A.</given-names>
            <surname>Chowdhury</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Mubarak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Abdelali</surname>
          </string-name>
          , S.-g. Jung,
          <string-name>
            <given-names>B. J.</given-names>
            <surname>Jansen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Salminen</surname>
          </string-name>
          , A multi-
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>