Toxic Language Detection in Social Media for Brazilian Portuguese: New Dataset and Multilingual Analysis

João A. Leite, Diego F. Silva, Kalina Bontcheva, Carolina Scarton
10/9/2020
cs.CLcs.LGcs.SI
benchmark-dataset

Official code: joaoaleite/ToLD-Br (53 stars, Jupyter Notebook, last commit 2025-02-22).

Abstract

Hate speech and toxic comments are a common concern of social media platform users. Although these comments are, fortunately, the minority in these platforms, they are still capable of causing harm.

Show full abstract

Therefore, identifying these comments is an important task for studying and preventing the proliferation of toxicity in social media. Previous work in automatically detecting toxic comments focus mainly in English, with very few work in languages like Brazilian Portuguese. In this paper, we propose a new large-scale dataset for Brazilian Portuguese with tweets annotated as either toxic or non-toxic or in different types of toxicity. We present our dataset collection and annotation process, where we aimed to select candidates covering multiple demographic groups. State-of-the-art BERT models were able to achieve 76% macro-F1 score using monolingual data in the binary case. We also show that large-scale monolingual data is still needed to create more accurate models, despite recent advances in multilingual approaches. An error analysis and experiments with multi-label classification show the difficulty of classifying certain types of toxic comments that appear less frequently in our data and highlights the need to develop models that are aware of different categories of toxicity.

View on arXivView PDF

Code Implementations(1)

joaoaleite/ToLD-BrOfficial100%

[AACL 2020] Toxic Language Detection in Social Media for Brazilian Portuguese: New Dataset and Multilingual Analysis

5312Jupyter NotebookOct 5, 20201 years agoNOASSERTION
automlbertbinary-classificationdatasetmultilabel-classification+5 more

Similar Papers

Cite this paper

@article{leite2020toxic,
  title  = {Toxic Language Detection in Social Media for Brazilian Portuguese: New Dataset and Multilingual Analysis},
  author = {João A. Leite and Diego F. Silva and Kalina Bontcheva and Carolina Scarton},
  year   = {2020},
  eprint = {2010.04543},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.04543}
}

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/2010.04543.svg)](https://codeofpaper.com/paper/2010.04543)

Discussion