arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.18577cs.CLcs.LG
收藏

论代码混合嵌入对仇恨言论识别的重要性

On Importance of Code-Mixed Embeddings for Hate Speech Identification

Pune Institute of Computer Technology(浦那计算机技术学院);L3Cube Labs(L3Cube实验室);Indian Institute of Technology Madras(印度马德拉斯理工学院)

Shruti Jagdale, Omkar Khade, Gauri Takalikar, Mihir Inamdar, Raviraj Joshi

AI总结:

针对经典NLP工具处理代码混合数据(如印地语-英语混合)时的困难,分析代码混合嵌入的重要性,评估BERT和HingBERT等模型性能,发现HingBERT及Hing-FastText在仇恨言论检测中表现更优。

摘要:

代码混合指在单句中使用两种或多种语言的做法,常见于印度等多语言社区(人们通常会说多种语言)。基于单语数据训练的经典NLP工具处理代码混合数据时面临挑战,因语言变异、文化差异和数据稀疏性,从含多语言的句子中提取有意义信息(尤其在仇恨言论检测等任务中)变得困难。为此,我们分析代码混合嵌入的重要性,并评估BERT和HingBERT模型(基于印地语-英语语料库训练)在仇恨言论检测中的性能。研究表明,经大规模印地语-英语数据集L3Cube-HingCorpus训练的HingBERT模型,在仇恨言论文本数据集测试中优于BERT模型;代码混合的Hing-FastText也比标准英语FastText和普通BERT模型表现更好。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑