Skip to main content
QUICK REVIEW

[Paper Review] 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|arXiv (Cornell University)|Nov 8, 2021
Hate Speech and Cyberbullying DetectionComputer Science15 references5 citations
TL;DR

This paper proposes a multilingual and monolingual BERT-based ensemble system for sexism detection and classification in Spanish and English tweets, leveraging fine-tuned BERT models, dataset translation for data augmentation, and ensemble strategies. The system achieved first place in the EXIST 2021 shared task, with 0.780 accuracy and 0.780 F1-score on sexism identification, and 0.658 accuracy and 0.579 F1-macro on classification, outperforming the multilingual BERT baseline by 3% and 11% respectively.

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. 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).

Motivation & Objective

  • To address the challenge of identifying and classifying sexist content in multilingual social media, particularly in Spanish and English.
  • To improve upon the baseline multilingual BERT model by integrating monolingual BERT, data translation, and ensemble learning strategies.
  • To evaluate the effectiveness of different ensemble configurations in enhancing sexism detection and classification performance.
  • To provide a scalable and adaptable framework for deploying sexism detection systems across low-resource and high-resource languages.
  • To establish a benchmark for sexism identification and classification using state-of-the-art NLP techniques on expert-labeled datasets.

Proposed method

  • Fine-tuned monolingual BERT models for English and Spanish on the EXIST 2021 dataset to improve language-specific representation learning.
  • Utilized multilingual BERT as a baseline and compared its performance against monolingual and ensemble models.
  • Applied back-translation of training data to increase training data size and improve model generalization across languages.
  • Implemented simple average ensemble strategies combining predictions from multiple individual models, including standardized label voting.
  • Optimized hyperparameters through extensive ablation studies and evaluated models using official metrics: accuracy (task 1) and F1-macro (task 2).
  • Used a final ensemble model combining all individual models and the best standardized label values to produce final predictions.

Experimental results

Research questions

  • RQ1Does the use of monolingual BERT models improve sexism detection and classification performance compared to multilingual BERT?
  • RQ2Can data translation via back-translation enhance model performance on low-resource language tasks?
  • RQ3Do ensemble models combining multiple BERT variants and prediction strategies yield better results than individual models?
  • RQ4What is the optimal ensemble configuration for maximizing F1-score and accuracy in both sexism identification and classification tasks?
  • RQ5How do hyperparameter choices affect model performance across different language and task settings?

Key findings

  • The ensemble model combining all individual models and the best standardized label values achieved the highest performance, securing first place in both tasks of the EXIST 2021 shared task.
  • The system achieved 0.780 accuracy and 0.780 F1-score on the sexism identification task, outperforming the multilingual BERT baseline by approximately 3% in F1-score.
  • For the sexism classification task, the ensemble model reached 0.658 accuracy and 0.579 F1-macro, representing an 11% improvement over the multilingual BERT baseline in F1-macro.
  • Ensemble models consistently outperformed individual monolingual and multilingual BERT models, demonstrating the effectiveness of model averaging in this context.
  • The use of translated training data improved model generalization, particularly in low-resource settings, though the primary gains came from ensemble integration.
  • Hyperparameter analysis revealed that label standardization and voting strategies significantly influenced final prediction quality, especially in multi-class classification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.