Sexism Prediction in Spanish and English Tweets Using Monolingual and Multilingual BERT and Ensemble Models

Angel Felipe Magnossão de Paula, Roberto Fray da Silva, Ipek Baris Schlicht
11/8/2021
cs.CLcs.AIcs.CY

Official code: AngelFelipeMP/BERT-tweets-sexims-classification (3 stars, Jupyter Notebook, last commit 2023-07-12).

Abstract

The popularity of social media has created problems such as hate speech and sexism. The identification and classification of sexism in social media are very relevant tasks, as they would allow building a healthier social environment.

Show full abstract

Nevertheless, these tasks are considerably challenging. This work proposes a system to use multilingual and monolingual BERT and data points translation and ensemble strategies for sexism identification and classification in English and Spanish. It was conducted in the context of the sEXism Identification in Social neTworks shared 2021 (EXIST 2021) task, proposed by the Iberian Languages Evaluation Forum (IberLEF). The proposed system and its main components are described, and an in-depth hyperparameters analysis is conducted. The main results observed were: (i) the system obtained better results than the baseline model (multilingual BERT); (ii) ensemble models obtained better results than monolingual models; and (iii) an ensemble model considering all individual models and the best standardized values obtained the best accuracies and F1-scores for both tasks. This work obtained first place in both tasks at EXIST, with the highest accuracies (0.780 for task 1 and 0.658 for task 2) and F1-scores (F1-binary of 0.780 for task 1 and F1-macro of 0.579 for task 2).

View on arXivView PDF

Code Implementations(1)

31Jupyter NotebookJun 18, 20213 years ago

Similar Papers

Cite this paper

@article{paula2021sexism,
  title  = {Sexism Prediction in Spanish and English Tweets Using Monolingual and Multilingual BERT and Ensemble Models},
  author = {Angel Felipe Magnossão de Paula and Roberto Fray da Silva and Ipek Baris Schlicht},
  year   = {2021},
  eprint = {2111.04551},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.04551}
}

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

Discussion