On Importance of Code-Mixed Embeddings for Hate Speech Identification

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Jagdale, Shruti, Khade, Omkar, Takalikar, Gauri, Inamdar, Mihir, Joshi, Raviraj
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908151438114816
author Jagdale, Shruti
Khade, Omkar
Takalikar, Gauri
Inamdar, Mihir
Joshi, Raviraj
author_facet Jagdale, Shruti
Khade, Omkar
Takalikar, Gauri
Inamdar, Mihir
Joshi, Raviraj
contents Code-mixing is the practice of using two or more languages in a single sentence, which often occurs in multilingual communities such as India where people commonly speak multiple languages. Classic NLP tools, trained on monolingual data, face challenges when dealing with code-mixed data. Extracting meaningful information from sentences containing multiple languages becomes difficult, particularly in tasks like hate speech detection, due to linguistic variation, cultural nuances, and data sparsity. To address this, we aim to analyze the significance of code-mixed embeddings and evaluate the performance of BERT and HingBERT models (trained on a Hindi-English corpus) in hate speech detection. Our study demonstrates that HingBERT models, benefiting from training on the extensive Hindi-English dataset L3Cube-HingCorpus, outperform BERT models when tested on hate speech text datasets. We also found that code-mixed Hing-FastText performs better than standard English FastText and vanilla BERT models.
format Preprint
id arxiv_https___arxiv_org_abs_2411_18577
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle On Importance of Code-Mixed Embeddings for Hate Speech Identification
Jagdale, Shruti
Khade, Omkar
Takalikar, Gauri
Inamdar, Mihir
Joshi, Raviraj
Computation and Language
Machine Learning
Code-mixing is the practice of using two or more languages in a single sentence, which often occurs in multilingual communities such as India where people commonly speak multiple languages. Classic NLP tools, trained on monolingual data, face challenges when dealing with code-mixed data. Extracting meaningful information from sentences containing multiple languages becomes difficult, particularly in tasks like hate speech detection, due to linguistic variation, cultural nuances, and data sparsity. To address this, we aim to analyze the significance of code-mixed embeddings and evaluate the performance of BERT and HingBERT models (trained on a Hindi-English corpus) in hate speech detection. Our study demonstrates that HingBERT models, benefiting from training on the extensive Hindi-English dataset L3Cube-HingCorpus, outperform BERT models when tested on hate speech text datasets. We also found that code-mixed Hing-FastText performs better than standard English FastText and vanilla BERT models.
title On Importance of Code-Mixed Embeddings for Hate Speech Identification
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2411.18577