Multilingual Hate Speech and Offensive Content Detection using Modified Cross-entropy Loss

Arka Mitra, Priyanshu Sankhala
2/5/2022
cs.CL

Official code: priyanshusankhala/hasoc-hnlp (1 star, Jupyter Notebook, last commit 2022-02-18).

Abstract

The number of increased social media users has led to a lot of people misusing these platforms to spread offensive content and use hate speech. Manual tracking the vast amount of posts is impractical so it is necessary to devise automated methods to identify them quickly.

Show full abstract

Large language models are trained on a lot of data and they also make use of contextual embeddings. We fine-tune the large language models to help in our task. The data is also quite unbalanced; so we used a modified cross-entropy loss to tackle the issue. We observed that using a model which is fine-tuned in hindi corpora performs better. Our team (HNLP) achieved the macro F1-scores of 0.808, 0.639 in English Subtask A and English Subtask B respectively. For Hindi Subtask A, Hindi Subtask B our team achieved macro F1-scores of 0.737, 0.443 respectively in HASOC 2021.

View on arXivView PDF

Code Implementations(1)

Hate speech and offensive content identification

11Jupyter NotebookSep 22, 20214 years ago
deep-learning

Similar Papers

Cite this paper

@article{mitra2022multilingual,
  title  = {Multilingual Hate Speech and Offensive Content Detection using Modified Cross-entropy Loss},
  author = {Arka Mitra and Priyanshu Sankhala},
  year   = {2022},
  eprint = {2202.02635},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.02635}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.02635.svg)](https://codeofpaper.com/paper/2202.02635)

Discussion