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

仇恨语音检测和文本分类的单语言与多语言BERT:马拉地语案例研究

Mono vs Multilingual BERT for Hate Speech Detection and Text Classification: A Case Study in Marathi

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

Abhishek Velankar, Hrushikesh Patil, Raviraj Joshi

摘要:

Transformers是用于各种自然语言处理任务的最杰出的体系结构。这些模型在大型文本语料库上进行了预训练,旨在为文本分类等任务提供最先进的结果。在这项工作中,我们进行了单语和多语BERT模型之间的比较研究。我们专注于马拉地语,并在马拉地语的仇恨言论检测,情感分析和简单文本分类的数据集上评估模型。我们使用标准的多语言模型,如mBERT,indicBERT和xlm-RoBERTa,并与MahaBERT,MahaALBERT和MahaRoBERTa,马拉地语的单语模型进行比较。我们进一步表明,马拉地语单语模型优于多语言的BERT变体在五个不同的下游微调实验。我们还通过冻结BERT编码器层来评估来自这些模型的句子嵌入。我们表明,单语MahaBERT为基础的模型提供了丰富的表示相比,多语言同行的句子嵌入。然而,我们观察到这些嵌入不够通用,并且在域外社交媒体数据集上不起作用。我们考虑两个马拉地仇恨言论数据集L3 Cube-MahaHate,HASOC-2021,马拉地情绪分类数据集L3 Cube-MahaSent和马拉地标题,文章分类数据集。

英文摘要:

Transformers are the most eminent architectures used for a vast range of Natural Language Processing tasks. These models are pre-trained over a large text corpus and are meant to serve state-of-the-art results over tasks like text classification. In this work, we conduct a comparative study between monolingual and multilingual BERT models. We focus on the Marathi language and evaluate the models on the datasets for hate speech detection, sentiment analysis and simple text classification in Marathi. We use standard multilingual models such as mBERT, indicBERT and xlm-RoBERTa and compare with MahaBERT, MahaALBERT and MahaRoBERTa, the monolingual models for Marathi. We further show that Marathi monolingual models outperform the multilingual BERT variants on five different downstream fine-tuning experiments. We also evaluate sentence embeddings from these models by freezing the BERT encoder layers. We show that monolingual MahaBERT based models provide rich representations as compared to sentence embeddings from multi-lingual counterparts. However, we observe that these embeddings are not generic enough and do not work well on out of domain social media datasets. We consider two Marathi hate speech datasets L3Cube-MahaHate, HASOC-2021, a Marathi sentiment classification dataset L3Cube-MahaSent, and Marathi Headline, Articles classification datasets.

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

↑