<!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>
      <journal-title-group>
        <journal-title>Forum for Information Retrieval Evaluation, December</journal-title>
      </journal-title-group>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Hate speech classification for Sinhalese and Gujarati</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Muhammad Deedahwar Mazhar Qureshi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Madhuri Sawant</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>M. Atif Qureshi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Wael Rashwan</string-name>
          <email>wael.rashwan@tudublin.ie</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Arjumand Younus</string-name>
          <email>arjumand.younus@ucd.ie</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Simon Caton</string-name>
          <email>simon.caton@ucd.ie</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Science Foundation Ireland, Centre for Research Training in Machine Learning</institution>
          ,
          <addr-line>ML-Labs</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University College Dublin</institution>
          ,
          <addr-line>Dublin</addr-line>
          ,
          <country country="IE">Ireland</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>eXplainable Analytics Group, Faculty of Business, Technological University Dublin</institution>
          ,
          <addr-line>Dublin</addr-line>
          ,
          <country country="IE">Ireland</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>1</volume>
      <fpage>5</fpage>
      <lpage>18</lpage>
      <abstract>
        <p>We, representing Team ”XAG-TUD,” participated in HASOC 2023, focusing on Task 1, which comprises subtasks 1A and 1B. Task 1A revolves around coarse-grained binary classification, specifically discriminating between content falling into the categories of HOF (Hateful or Ofensive) and NOT for Sinhalese, a low-resource language. Similarly, Task 1B involves a similar classification for Gujarati, another lowresource language. In this paper, we provide detailed insights into our solutions for both sub-tasks within Task 1. Notably, our observations reveal that the LaBSE (Language-agnostic BERT Sentence Embedding) model consistently outperformed the XLM-R model for both sub-tasks, demonstrating its efectiveness in addressing hate speech classification challenges in these languages.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>CEUR
ceur-ws.org</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>task.
CEUR
Workshop
Proceedings
Among these competitions, HASOC (Hate Speech and Ofensive Content Identification), initiated
in 2019, stands as a significant milestone. In its fith iteration, 2023, HASOC introduced four
distinct tasks. This paper focuses on the findings of Task 1 of HASOC, which encompasses two
sub-tasks.</p>
      <p>Sub-Task 1A: Identifying Hate, Ofensive, and Profane Content in Sinhala. This task primarily
centers on identifying hate speech and ofensive language in Sinhala. Sinhala, a low-resource
Indo-Aryan language spoken by over 17 million people in Sri Lanka and one of the two oficial
languages in the country, serves as a challenging linguistic context. This task involves
coarsegrained binary classification to categorise tweets into two classes:
1. Hate and Ofensive (HOF): Denoting posts containing hate, ofensive, and profane content.
2. Non-Hate and Ofensive (NOT): Indicating posts devoid of hate speech, profanity, and
ofensive content.</p>
      <p>Sub-Task 1B: Identifying Hate, Ofensive, and Profane Content in Gujarati. This task focuses
on identifying hate speech and ofensive language in Gujarati. Gujarati, another low-resource
Indo-Aryan language, boasts approximately 50 million native speakers and holds the status
of one of India’s 22 oficial languages. Similar to sub-Task 1A, this task entails coarse-grained
classification.</p>
    </sec>
    <sec id="sec-3">
      <title>2. Related Work</title>
      <p>This section discusses the challenges related to hate speech addressed in previous HASOC
iterations. It is followed by an exploration of hate speech research within low-resource settings
and then a general research background on hate speech.</p>
      <sec id="sec-3-1">
        <title>2.1. HASOC challenge</title>
        <sec id="sec-3-1-1">
          <title>2.1.1. HASOC for Hindi Language</title>
          <p>
            Mandl et al. [
            <xref ref-type="bibr" rid="ref1">1</xref>
            ] provided a comprehensive overview of the HASOC 2019 iteration. They
highlighted the popularity of Long-Short-Term Memory (LSTM) networks, efectively employing
distributed word representations for text analysis. In the same competition, the QutNocturnal
team [
            <xref ref-type="bibr" rid="ref2">2</xref>
            ] secured a noteworthy achievement with a Macro F1 score of 0.8149. Their success
underscored the superiority of Convolutional Neural Networks (CNN) over LSTM when integrating
transfer learning through word embeddings.
          </p>
          <p>
            During the 2020 iteration, Raj et al. [
            <xref ref-type="bibr" rid="ref3">3</xref>
            ] embarked on an exploration of diferent approaches,
incorporating both CNN and Bidirectional LSTM (BiLSTM). Among these, a single BiLSTM layer,
coupled with fastText embeddings, emerged as a competitive solution, achieving a Macro-avg
F1 score of 0.67 for hate speech classification.
          </p>
          <p>In the subsequent 2021 iteration, Banerjee et al. [4] elevated the bar by fine-tuning a
multilingual BERT model. Their approach included the addition of a classifier layer in the final phase,
which was trained over 20 epochs. This rigorous methodology culminated in an outstanding
achievement, boasting a Macro F1 score of 0.7797 and securing top honours in the competition.</p>
        </sec>
        <sec id="sec-3-1-2">
          <title>2.1.2. HASOC for Marathi Language</title>
          <p>In the HASOC 2021 iteration, Nene et al. [5] fine-tuned the XLM-R large model with a simple
softmax layer and achieved a macro F1 score of 0.9144. In the same iteration, Glazkova et al.
[6] proposed a system based on the Language-Agnostic BERT Sentence Embedding (LABSE),
securing the second-best result with an F1 score of 0.8776. In the 2022 iteration, Chavan et
al. [7] developed a BERT-based model pre-trained on a large monolingual dataset comprising
tweets in the Marathi language called ’MahaTweetBert’ and achieved a macro F1 score of 0.9156.</p>
        </sec>
        <sec id="sec-3-1-3">
          <title>2.1.3. HASOC for German Language</title>
          <p>In the 2019 HASOC iteration, Saha et al. [8] employed Multilingual BERT embeddings and
LASER embeddings and attained a macro F1 score of 0.62. Subsequently, during the 2020
HASOC iteration, Mandl et al. [9] shed light on the notable achievements of the winning team,
Comma@FIRE 2020 [10]. This team employed a joint fine-tuning approach involving mBERT,
DistilBERT, RoBERTa, and XLM-R, ultimately achieving a macro F1 score of 0.5235.</p>
        </sec>
      </sec>
      <sec id="sec-3-2">
        <title>2.2. Hate speech in a low-resource setting beyond HASOC challenge</title>
        <p>In the context of the Sinhalese language, Ranasinghe et al. [11] directed their eforts toward
classifying ofensive content. For sentence-level ofensive content identification, the
XLMR model emerged as the top performer, achieving an impressive 0.83 Macro F1 score. For
token-level ofensive language identification, XLM-R performed best with a 0.72 macro F1 score.</p>
        <p>Kakwani et al. [12] introduced IndicNLPSuite, a collection of large-scale, general-domain,
sentence-level corpora of 8.9 billion words across 11 Indian languages along with pre-trained
models (IndicFT, IndicBERT) and NLU benchmarks (IndicGLUE)2. This has been used in hate
speech detection tasks concerning languages of Indian origin.</p>
        <p>Nkemelu et al. [13] undertook the task of developing machine learning models for the
Burmese language, which is classified as a low-resource language. Their primary objective
was to automatically detect hate speech posted on social media, focusing on the context of
the Myanmar general election. Notably, they collected real-time data from Facebook.
Similarly, Ishmam et al. [14] directed their eforts toward classifying Bengali comments found on
Facebook pages. Their classification schema encompassed six distinct categories, including
hate speech, communal attack, inciteful comments, religious hatred, political comments, and
religious comments. They employed several machine learning algorithms, and they achieved
noteworthy accuracy improvements, notably through the implementation of a Gated Recurrent
Unit (GRU) based deep neural network.</p>
        <p>Moy et al. [15] addressed hate speech detection in the Malay language, specifically targeting
the Malaysian community. Their approach involved fine-tuning a pre-trained BERT model,
which efectively adapted the model to the nuances of the Malay language and the local context.
In a diferent linguistic context, Karunanayake et al. [ 16] employed a Convolutional Neural
Network (CNN) in conjunction with Automatic Speech Recognition Systems (ASR) trained in
the English language. Their goal was to classify the Sinhala and Tamil low-resource datasets,
2https://huggingface.co/ai4bharat/indic-bert
showcasing an innovative approach that leveraged existing technologies for language
classification. Similarly, Mubarak et al. [17] focused on detecting vulgar and obscene speech within
Arabic social media. Their research aimed to tackle ofensive content, shedding light on the
challenges of maintaining a respectful online environment in the Arabic language context.</p>
      </sec>
      <sec id="sec-3-3">
        <title>2.3. Hate speech research beyond HASOC</title>
        <p>Poletto et al. [18] provided a comprehensive overview of the datasets, lexicon, and evaluation
campaigns focusing on hate speech. Their work provides detailed insights into hate speech
corpora, shared tasks (such as open scientific competitions), hate speech lexicon, and various
languages used in these contexts.</p>
        <p>Naseem et al. [19] conducted a study on the impact of twelve diferent pre-processing
techniques for tweet classification using three diferent labelled datasets focusing on Twitter
hate speech and abusive language. Their research not only highlights the best-performing
techniques but also identifies the least efective ones, ofering valuable recommendations for
optimising pre-processing techniques in individual use cases.</p>
        <p>Burnap et al. [20] developed a classifier for hateful and antagonistic content on Twitter. This
classifier served as a tool to assist policy and decision-makers in addressing the challenges
of online hate speech. Furthermore, they applied an ensemble machine learning classifier
to combat cyber hate, demonstrating the potential of machine learning in mitigating online
hostility.</p>
        <p>Matamoros et al. [21] conducted a systematic literature review and critique of academic
articles published between 2014 and 2018, focusing on racism and hate speech on social media.
Their work provides valuable insights into the scholarly discussions and trends regarding these
issues during that period, shedding light on the evolving landscape of online hate speech.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>3. Dataset and Data Pre-processing</title>
      <p>The HASOC competition provided datasets to participating teams, comprising social posts
sourced from Twitter3. The dataset encompasses two languages4: Sinhalese and Gujarati. [22],
[23]</p>
      <p>Sinhalese Dataset: The Sinhalese training dataset comprises 7500 records, while the test
dataset comprises 2500 records. These datasets are based on the SOLD dataset by Ranasinghe et
al. [11], which served as a foundational resource for the competition. The Sinhalese dataset has
a subtle majority (57.6%) of tweets belonging to the NOT class, with the rest being HOF (Hate
or Ofensive).</p>
      <p>Gujarati Dataset: In contrast, the Gujarati dataset consists of 200 records for training and
approximately 1200 records for testing purposes. The Gujarati training dataset is completely
balanced with 100 samples each for training and testing, as shown in Table 1.</p>
      <p>Given the low-resource nature of these languages, a unique data pre-processing strategy
was adopted. To enhance the dataset, each post was translated into English using the Google
3Now known as X
4Both language datasets are accessible on the HASOC website https://hasocfire.github.io/hasoc/2023/
Translate API. This process resulted in a post-translation pairing for each entry. The suitability
of Google Translate has been examined in various academic [24] and medical [25] contexts. In
academic settings that do not demand intricate technical communication, it has demonstrated
adequate semantic accuracy, albeit with occasional grammatical issues [24]. In domains like
medicine, where precise grammar and syntax are crucial, it has shown to be less efective [ 25].
The unique nature of social media User-Generated Content (UGC) allows for the use of such
translation tools without significantly compromising semantic understanding, a fact exemplified
by its growing popularity in social networking environments [26]. Furthermore, it has proven
to be a valuable tool for translations in machine translation settings, as suggested by de Vries in
the context of the CBOW (Comparative Bag-of-Words) approach [27].</p>
      <p>Subsequently, we employed the LaBSE Fast Tokenizer to tokenize these post-translation
pairs, adding additional padding while maintaining a maximum token length of 512. From this
tokenized input, we extracted input-IDs and attention masks, which served as inputs for our
model. This data pre-processing approach facilitated a more comprehensive representation of
the content within these low-resource language datasets, thereby intuitively assisting in the
subsequent modelling and classification tasks.</p>
    </sec>
    <sec id="sec-5">
      <title>4. Implementation</title>
      <p>For the implementation of the model(s), we utilized the following hardware configuration:
1. To train our models, we employed an Nvidia T4 GPU equipped with 16GB of VRAM.
2. For testing the model’s performance, we utilized an Intel Xeon CPU (2 vCPUs) with 13GB
of RAM.</p>
      <p>Our experimentation encompassed two distinct models: LaBSE and XLM-R. Both of these
models have demonstrated their eficacy for low-resource languages, making them well-suited
for our subtasks in Sinhalese and Gujarati.</p>
      <p>LaBSE5 language agnostic BERT sentence embedding model supporting 109 languages. Feng
et al. [28] demonstrated that LaBSE excels even in languages where it lacks explicit training data,
thanks to its language similarity and multilingual capabilities. LaBSE’s dual-encoder approach,
ideal for learning bilingual sentence embeddings, has been widely recognised. Additionally,
LaBSE ofers extensive language coverage and has been rigorously evaluated across various
languages and their English translations.</p>
      <p>In our binary classification approach, we adopted a strategy of translating the original
language into English. Subsequently, we combined both the English translation and the original
5https://tfhub.dev/google/LaBSE/2
language before applying the LaBSE model. This approach has been successfully used previously
for multilingual classifications using Roman-script languages (English, Italian, French, German,
and Spanish). Balahur et al. [29] While there are not exactly low-resource languages in the
modern age, they were still relevantly less extensively covered at the time of writing. The
authors here have shown the potential of appending translations in multiple languages to
improve classification performance for Twitter sentiment analysis. This approach efectively
harnessed the power of cross-lingual embeddings, leveraging the synergy between tweets
and their translations, as prevalent in our problem. Additionally, even with translations, the
original text is still needed, which would otherwise degrade classification performance. This is
consistent with the findings of Poncelas [ 30], who discovered that using translations alone runs
the risk of degrading classification performance.</p>
      <p>XLM-R6 is a transformer-based multilingual masked language model, pre-trained on text
from 100 languages. It has demonstrated its superiority over models like mBERT on
crosslingual classification tasks, particularly in low-resource language scenarios [ 31]. XLM-R boasts
significant improvements in various NLP tasks, including classification, sequence labelling, and
question answering, making it an excellent choice for our experiments, given its track record of
success in low-resource language contexts.</p>
      <p>Various prior studies have employed LaBSE and XLM-R, underscoring the eficacy of these
models in tackling language-related tasks. Gamage et al.[32] highlighted XLM-R’s superiority
with an F1-score of 0.764 in the Sinhala language, and Pranith et al.[33] achieved promising
results with LaBSE for English and IndicBERT models for Tamil and Malayalam. Dhananjaya et
al.[34] further demonstrated XLM-R’s strong performance for Sinhala text classification, and
Hefernan et al.[ 35] reported positive outcomes using LaBSE and XLM-R for very low-resource
African languages. Additionally, LaBSE’s consistent outperformance of mBERT and XLM-R in
language-English pairs, as observed in Feng et al. [28], further supports our choice of LaBSE
and XLM-R for our Sinhalese and Gujarati subtasks. This wealth of evidence underscores the
suitability of these models for our low-resource languages, leading us to utilize them in our
study.</p>
      <p>To maximise the potential of our models in the low-resource language context, we employed
a technique based on Shi et al. [36], which automatically constructs text classifiers in a new
language by leveraging labelled data from another language. This method transfers classification
knowledge by translating model features. Our approach involved translating both of our
lowresource languages into English and then appending the translated text to the original language
data before model implementation.</p>
      <p>While previous multilingual transformer models like mBERT and XLM have their merits,
their limited scalability for low-resource languages led us to favour the LaBSE and XLM-R
models for our experiments.</p>
      <p>Table 2 provides a comparative overview of memory requirements and the prediction times
for both transformer architectures in our test environment. An overview of the implementation
is presented in the flow diagram in Figure 1.</p>
      <p>6https://huggingface.co/xlm-roberta-base</p>
      <sec id="sec-5-1">
        <title>4.1. Sinhalese</title>
        <p>For Sinhalese, we flattened the ‘pooler output’ of the transformer and appended it to a linear
layer of size 256 with a LeakyReLU activation function ( = 0.01 ), followed by a dropout layer
with a rate of 0.3. The classification head consisted of a Sigmoid Layer. Our model was optimised
using an AdamW Optimizer, with a learning rate set to 2 −5 and a Binary Cross-Entropy loss
function.</p>
        <p>The model is trained with a batch size of 4 for 15 epochs, with 15% of the dataset reserved
for validation. To prevent overfitting, early stopping was implemented when the validation
accuracy dropped for two consecutive epochs.</p>
        <p>Our BERT model was sourced from the HuggingFace Transformers library.7 We employed
the BertTokenizerFast to construct a FAST BERT tokenizer, inheriting from
PreTrainedTokenizerFast. Both the transformer and the tokenizer were retrieved from the uploaded version of
“setu4993/LaBSE”.</p>
      </sec>
      <sec id="sec-5-2">
        <title>4.2. Gujarati</title>
        <p>In our Gujarati implementation, we harnessed the power of LaBSE in conjunction with SETFIT
(Sentence Transformer Fine-tuning),8 a highly eficient and prompt-free framework tailored for
few-shot fine-tuning of sentence transformers (ST). This innovative framework, as showcased
by Tunstall et al. [37], operates seamlessly without the need for prompts or verbalizers and
achieves high accuracy with fewer parameters. Notably, it stands out for its faster training times
compared to other few-shot techniques. SETFIT’s versatility extends to multilingual settings,
making it an ideal choice for our Gujarati coarse-grained binary classification task, where we
grappled with limited data and the need for efective few-shot learning strategies.
7https://huggingface.co/transformers/v3.0.2/model_doc/bert.html
8https://huggingface.co/blog/setfit</p>
        <p>Our architecture for Gujarati was structured with a linear layer of size 256, incorporating the
LeakyReLU activation function ( = 0.01 ). Following this, a sigmoid layer was employed at the
classification head. For loss computation, we utilized the CosineSimilarityLoss function, with a
batch size set at 32. The model underwent training for 7 epochs, after which it embarked on a
few-shot learning phase consisting of 20 iterations, each involving 32 samples of a diferent
split of the training data. To ensure model robustness and avoid overfitting, 15% of the training
dataset was reserved for validation.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>5. Experimental Results and Analysis</title>
      <p>The test datasets for both Sinhalese and Gujarati are available on the HASOC website ([22],
[23]).9 In our experiments, we implemented two transformer architectures, LaBSE and XLM-R,
for handling the Sinhalese dataset. For the Gujarati dataset, given its limited training data,
we employed LaBSE with additional few-shot learning. LaBSE consistently delivered superior
overall accuracy in both cases, as assessed on the validation dataset. The most promising
architectures for each subtask were submitted for evaluation on the test dataset as part of the
HASOC competition.</p>
      <p>Tables 3 and 4 provide an overview of the validation accuracy and the test performance for
both subtasks. Based on validation accuracy, we found that LaBSE model is more efective for
both subtasks than the XLM-R models; therefore, we submitted the LaBSE model for the test
run and reported the results as shown in table 4. Notably, for the test run, the higher F1-Score
achieved for Sinhalese can be attributed to the availability of suficient training data for this
language. It’s important to note that the test scores presented here are the actual run-submission
results at HASOC. Given the lack of labels in the test set, we refrained from conducting multiple
runs or cross-validation, leaving these as potential avenues for future exploration in our research.
Furthermore, all the models discussed here use the same random state for the train-test split.</p>
      <p>Upon a closer analysis of the results, it becomes evident that the model’s predictions are
significantly influenced by the presence or absence of disrespectful or indecent words within
the tweet data. Two key scenarios emerged:
• False Positives: In some cases, benign posts containing terms from hate lexicons or words
typically associated with hate speech were, perhaps, erroneously10 classified as HOF.
This misclassification often occurred due to the high representation of such terms in the
training data.
• False Negatives: Conversely, hateful posts that did not contain the stereotypical hate
terms were incorrectly flagged as NOT. This issue highlights the challenges of identifying
subtle or less overt forms of hate speech.
9https://hasocfire.github.io/hasoc/2023/
10or otherwise sufers from subjectivity</p>
      <p>The model also exhibited biases towards certain gender and religious domains, leading to
misclassifications in cases involving stereotypical biases. This aspect highlights the need for
further work in addressing model biases and ensuring fair and unbiased classifications.</p>
      <p>Additionally, there were instances where tweets in the original low-resource language
(Sinhalese/Gujarati) were incorrectly classified as NOT. This could potentially be attributed to
nuances or contextual factors specific to the original language. To mitigate this, our approach
of appending translations to the original tweets proved beneficial, as it allowed the tokenizer
and the transformer to capture additional contextual cues from the translated text.</p>
    </sec>
    <sec id="sec-7">
      <title>6. Conclusion and Future Directions</title>
      <p>In this study, we undertook the challenging task of coarse-grained binary hate speech
classification in low-resource languages, specifically Sinhalese and Gujarati, as part of two sub-tasks
in Task 1 of HASOC 2023. Our findings revealed that the LaBSE BERT model consistently
outperformed other transformer-based systems employed in our experiments. Our approach
involved translating the target languages into English and then appending them to the original
text before model implementation. For Gujarati, we leveraged the SETFIT model, well-suited
for few-shot fine-tuning, enhancing our model’s performance.</p>
      <p>While this research marks a step in addressing hate speech classification in low-resource
languages, it also opens up avenues for future exploration and improvement.
• Positional Impact of Translations: An intriguing future investigation would involve
exploring how the positioning of translations within the text data might influence
inference. Also, understanding and mitigating translation biases that may afect classification
outcomes could be crucial for further refining the approach.
• Comparison of Translation APIs: While this study employed Google Translate for
translation, future research could delve into the use of alternative translation APIs to provide a
comparative analysis. Diferent translation services may exhibit variations in performance
and biases, warranting a comprehensive assessment.
• Bias Mitigation: Given that most linguistic models, including ours, are influenced by
dataset biases, addressing and mitigating biases in translated data is essential.
Investigating methods to minimize gender and other biases introduced during translation can
contribute to fairer and more reliable hate speech classification. The focus here could be
to mitigate bias in datasets and predictions, especially gender bias, which has been found
to be prevalent in multiple datasets. ([38], [39], [40], [41]).</p>
      <p>• Cross-Validation and Comparative Analysis: With access to the full datasets beyond
the competition’s constraints, future work can explore k-fold cross-validation to assess
model robustness. Additionally, a deeper exploration of the literature for diverse
classiifers and thorough comparative analyses can provide insights into refining hate speech
classification models further.
• Code-Mixed Conversations and Non-Binary Classification: Extending the approach
to address hate speech in code-mixed conversations, such as English-Hindi (Hinglish)
or English-French, presents an intriguing challenge. Moreover, the research, initially
focused on coarse-grained binary classification, can be expanded to tackle hate speech
classification involving multiple non-binary classes.
• Conversational Hate Speech and Few-Shot Settings: The study’s success in few-shot
settings for low-resource languages opens doors for further experimentation. Future
research can explore conversational hate speech detection in these languages and apply
few-shot learning techniques to other low-resource languages, expanding the scope of
this work.</p>
    </sec>
    <sec id="sec-8">
      <title>Acknowledgments</title>
      <p>This publication has emanated from research supported in part by a grant from Science
Foundation Ireland under Grant number 18/CRT/6183. For the purpose of Open Access, the author has
applied a CC BY public copyright licence to any Author Accepted Manuscript version arising
from this submission
hate-speech identification in indo-european languages., in: FIRE (Working Notes), 2020,
pp. 161–167.
[4] S. Banerjee, M. Sarkar, N. Agrawal, P. Saha, M. Das, Exploring transformer based models
to identify hate speech and ofensive content in english and indo-aryan languages, arXiv
preprint arXiv:2111.13974 (2021).
[5] M. Nene, K. North, T. Ranasinghe, M. Zampieri, Transformer models for ofensive language
identification in marathi, in: Forum for Information Retrieval Evaluation (Working
Notes)(FIRE), CEUR-WS. org, 2021.
[6] A. Glazkova, M. Kadantsev, M. Glazkov, Fine-tuning of pre-trained transformers for
hate, ofensive, and profane content detection in english and marathi, arXiv preprint
arXiv:2110.12687 (2021).
[7] T. Chavan, S. Patankar, A. Kane, O. Gokhale, R. Joshi, A twitter bert approach for ofensive
language detection in marathi, arXiv preprint arXiv:2212.10039 (2022).
[8] P. Saha, B. Mathew, P. Goyal, A. Mukherjee, Hatemonitors: Language agnostic abuse
detection in social media, arXiv preprint arXiv:1909.12642 (2019).
[9] T. Mandl, S. Modha, A. Kumar M, B. R. Chakravarthi, Overview of the hasoc track at fire
2020: Hate speech and ofensive language identification in tamil, malayalam, hindi, english
and german, FIRE ’20, Association for Computing Machinery, New York, NY, USA, 2021, p.
29–32. URL: https://doi.org/10.1145/3441501.3441517. doi:10.1145/3441501.3441517.
[10] R. Kumar, B. Lahiri, A. K. Ojha, A. Bansal, Comma@ fire 2020: Exploring multilingual joint
training across diferent classification tasks., in: FIRE (Working Notes), 2020, pp. 823–828.
[11] T. Ranasinghe, I. Anuradha, D. Premasiri, K. Silva, H. Hettiarachchi, L. Uyangodage,
M. Zampieri, Sold: Sinhala ofensive language dataset, arXiv preprint arXiv:2212.00851
(2022).
[12] D. Kakwani, A. Kunchukuttan, S. Golla, N. Gokul, A. Bhattacharyya, M. M. Khapra,
P. Kumar, Indicnlpsuite: Monolingual corpora, evaluation benchmarks and pre-trained
multilingual language models for indian languages, in: Findings of the Association for
Computational Linguistics: EMNLP 2020, 2020, pp. 4948–4961.
[13] D. Nkemelu, H. Shah, M. Best, I. Essa, Tackling hate speech in low-resource languages
with context experts, in: Proceedings of the 2022 International Conference on Information
and Communication Technologies and Development, 2022, pp. 1–11.
[14] A. M. Ishmam, S. Sharmin, Hateful speech detection in public facebook pages for the
bengali language, in: 2019 18th IEEE international conference on machine learning and
applications (ICMLA), IEEE, 2019, pp. 555–560.
[15] T. X. Moy, M. Rahem, R. Logeswaran, Multilingual hate speech detection, International</p>
      <p>Journal of Multidisciplinary Research and Publications 4 (2022).
[16] Y. Karunanayake, U. Thayasivam, S. Ranathunga, Transfer learning based free-form
speech command classification for low-resource languages, in: Proceedings of the 57th
Annual Meeting of the Association for Computational Linguistics: Student Research
Workshop, Association for Computational Linguistics, Florence, Italy, 2019, pp. 288–294.</p>
      <p>URL: https://aclanthology.org/P19-2040. doi:10.18653/v1/P19- 2040.
[17] H. Mubarak, K. Darwish, W. Magdy, Abusive language detection on arabic social media,
in: Proceedings of the first workshop on abusive language online, 2017, pp. 52–56.
[18] F. Poletto, V. Basile, M. Sanguinetti, C. Bosco, V. Patti, Resources and benchmark corpora
for hate speech detection: a systematic review, Language Resources and Evaluation 55
(2021) 477–523.
[19] U. Naseem, I. Razzak, P. W. Eklund, A survey of pre-processing techniques to improve
short-text quality: a case study on hate speech detection on twitter, Multimedia Tools and
Applications 80 (2021) 35239–35266.
[20] P. Burnap, M. L. Williams, Cyber hate speech on twitter: An application of machine
classification and statistical modeling for policy and decision making, Policy &amp; internet 7
(2015) 223–242.
[21] A. Matamoros-Fernández, J. Farkas, Racism, hate speech, and social media: A systematic
review and critique, Television &amp; New Media 22 (2021) 205–224.
[22] S. Satapara, H. Madhu, T. Ranasinghe, A. E. Dmonte, M. Zampieri, P. Pandya, N. Shah,
M. Sandip, P. Majumder, T. Mandl, Overview of the hasoc subtrack at fire 2023:
Hatespeech identification in sinhala and gujarati, in: K. Ghosh, T. Mandl, P. Majumder, M. Mitra
(Eds.), Working Notes of FIRE 2023 - Forum for Information Retrieval Evaluation, Goa,
India. December 15-18, 2023, CEUR Workshop Proceedings, CEUR-WS.org, 2023.
[23] T. Ranasinghe, K. Ghosh, A. S. Pal, A. Senapati, A. E. Dmonte, M. Zampieri, S. Modha,
S. Satapara, Overview of the HASOC subtracks at FIRE 2023: Hate speech and ofensive
content identification in assamese, bengali, bodo, gujarati and sinhala, in: Proceedings of
the 15th Annual Meeting of the Forum for Information Retrieval Evaluation, FIRE 2023,
Goa, India. December 15-18, 2023, ACM, 2023.
[24] M. Groves, K. Mundt, Friend or foe? google translate in language for academic purposes,</p>
      <p>English for Specific Purposes 37 (2015) 112–121.
[25] S. Patil, P. Davies, Use of google translate in medical communication: evaluation of
accuracy, Bmj 349 (2014).
[26] N. Bin Dahmash, ‘i can’t live without google translate’: A close look at the use of google
translate app by second language learners in saudi arabia, Arab World English Journal
(AWEJ) Volume 11 (2020).
[27] E. De Vries, M. Schoonvelde, G. Schumacher, No longer lost in translation: Evidence that
google translate works for comparative bag-of-words text applications, Political Analysis
26 (2018) 417–430.
[28] F. Feng, Y. Yang, D. Cer, N. Arivazhagan, W. Wang, Language-agnostic bert sentence
embedding, arXiv preprint arXiv:2007.01852 (2020).
[29] A. Balahur, M. Turchi, Improving sentiment analysis in twitter using multilingual machine
translated data, in: Proceedings of the International Conference Recent Advances in
Natural Language Processing RANLP 2013, 2013, pp. 49–55.
[30] A. Poncelas, P. Lohar, A. Way, J. Hadley, The impact of indirect machine translation on
sentiment classification, arXiv preprint arXiv:2008.11257 (2020).
[31] A. Conneau, K. Khandelwal, N. Goyal, V. Chaudhary, G. Wenzek, F. Guzmán, E. Grave,
M. Ott, L. Zettlemoyer, V. Stoyanov, Unsupervised cross-lingual representation learning at
scale, arXiv preprint arXiv:1911.02116 (2019).
[32] K. Gamage, V. Welgama, R. Weerasinghe, Improving sinhala hate speech detection using
deep learning, in: 2022 22nd International Conference on Advances in ICT for Emerging
Regions (ICTer), 2022, pp. 045–050. doi:10.1109/ICTer58063.2022.10024103.
[33] P. Pranith, V. Samhita, D. Sarath, D. Thenmozhi, Homophobia and transphobia detection
of youtube comments in code-mixed dravidian languages using deep learning (2022).
[34] V. Dhananjaya, P. Demotte, S. Ranathunga, S. Jayasena, Bertifying sinhala–a
comprehensive analysis of pre-trained language models for sinhala text classification, arXiv preprint
arXiv:2208.07864 (2022).
[35] K. Hefernan, O. Çelebi, H. Schwenk, Bitext mining using distilled sentence representations
for low-resource languages, arXiv preprint arXiv:2205.12654 (2022).
[36] L. Shi, R. Mihalcea, M. Tian, Cross language text classification by model translation and
semi-supervised learning, in: Proceedings of the 2010 Conference on Empirical Methods
in Natural Language Processing, 2010, pp. 1057–1067.
[37] L. Tunstall, N. Reimers, U. E. S. Jo, L. Bates, D. Korat, M. Wasserblat, O. Pereg, Eficient
few-shot learning without prompts, arXiv preprint arXiv:2209.11055 (2022).
[38] E. M. Bender, B. Friedman, Data statements for natural language processing: Toward
mitigating system bias and enabling better science, Transactions of the Association for
Computational Linguistics 6 (2018) 587–604.
[39] D. Shah, H. A. Schwartz, D. Hovy, Predictive biases in natural language processing models:</p>
      <p>A conceptual framework and overview, arXiv preprint arXiv:1912.11078 (2019).
[40] T. Sun, A. Gaut, S. Tang, Y. Huang, M. ElSherief, J. Zhao, D. Mirza, E. Belding, K.-W. Chang,
W. Y. Wang, Mitigating gender bias in natural language processing: Literature review,
arXiv preprint arXiv:1906.08976 (2019).
[41] S. L. Blodgett, S. Barocas, H. Daumé III, H. Wallach, Language (technology) is power: A
critical survey of” bias” in nlp, arXiv preprint arXiv:2005.14050 (2020).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <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>P.</given-names>
            <surname>Majumder</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Patel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Dave</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Mandlia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Patel</surname>
          </string-name>
          ,
          <article-title>Overview of the hasoc track at fire 2019: Hate speech and ofensive content identification in indo-european languages</article-title>
          ,
          <source>in: Proceedings of the 11th Forum for Information Retrieval Evaluation</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>14</fpage>
          -
          <lpage>17</lpage>
          . URL: https://dl.acm.org/doi/abs/10.1145/3368567.3368584. arXiv:https://dl.acm.org/doi/pdf/10.1145/3368567.3368584.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M. A.</given-names>
            <surname>Bashar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Nayak</surname>
          </string-name>
          , Qutnocturnal@ hasoc'19:
          <article-title>Cnn for hate speech and ofensive content identification in hindi language</article-title>
          , arXiv preprint arXiv:
          <year>2008</year>
          .
          <volume>12448</volume>
          (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>R.</given-names>
            <surname>Raj</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Srivastava</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Saumya</surname>
          </string-name>
          , Nsit &amp; iiitdwd@ hasoc
          <year>2020</year>
          :
          <article-title>Deep learning model for</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>