Skip to main content
QUICK REVIEW

[Paper Review] IIITT@LT-EDI-EACL2021-Hope Speech Detection: There is always Hope in Transformers

Karthik Puranik, Adeep Hande|arXiv (Cornell University)|Apr 19, 2021
Hate Speech and Cyberbullying DetectionComputer Science34 references14 citations
TL;DR

This paper proposes a multilingual transformer-based approach for detecting hope speech in social media comments across English, Tamil, and Malayalam, leveraging models like CharacterBERT, mBERT, and MuRIL. It achieves the highest F1-score of 0.9356 on English, 0.8545 on Malayalam, and 0.5926 on Tamil, demonstrating the effectiveness of fine-tuned transformers in identifying positive, supportive content to counter hate speech.

ABSTRACT

In a world filled with serious challenges like climate change, religious and political conflicts, global pandemics, terrorism, and racial discrimination, an internet full of hate speech, abusive and offensive content is the last thing we desire for. In this paper, we work to identify and promote positive and supportive content on these platforms. We work with several transformer-based models to classify social media comments as hope speech or not-hope speech in English, Malayalam and Tamil languages. This paper portrays our work for the Shared Task on Hope Speech Detection for Equality, Diversity, and Inclusion at LT-EDI 2021- EACL 2021.

Motivation & Objective

  • To address the growing need for detecting and promoting positive, supportive content on social media platforms to counteract hate speech and cyberbullying.
  • To classify social media comments as hope speech or not-hope speech in English, Tamil, and Malayalam, focusing on multilingual and code-mixed data.
  • To evaluate the performance of various pre-trained transformer models in detecting hope speech across low-resource Indian languages.
  • To improve online discourse by identifying and amplifying messages of hope, resilience, and inclusion during times of crisis.

Proposed method

  • Fine-tuned multiple multilingual and monolingual transformer models, including BERT, RoBERTa, XLM-RoBERTa, mBERT, MuRIL, IndicBERT, and CharacterBERT, on a shared task dataset.
  • Employed transfer learning techniques with models pre-trained on multilingual and Indian language corpora, including Common Crawl, Wikipedia, and Dakshina.
  • Used both dense and BiLSTM architectures on top of transformer encoders to enhance sequence modeling and classification performance.
  • Applied data augmentation and class balancing techniques to mitigate the impact of class imbalance in the dataset, particularly in English and Malayalam.
  • Evaluated models on a held-out test set with 10% of the total 59,354 comments, using weighted F1-score as the primary metric.
  • Implemented a character-aware model, CharacterBERT, to improve robustness to out-of-vocabulary and non-standard spellings common in social media text.

Experimental results

Research questions

  • RQ1Which transformer-based model performs best for hope speech detection in low-resource Indian languages like Tamil and Malayalam?
  • RQ2How does model performance vary across English, Tamil, and Malayalam due to differences in data distribution and language characteristics?
  • RQ3To what extent does class imbalance and multilingual interference affect the generalization of hope speech detection models?
  • RQ4Can character-level representations improve performance on noisy, code-mixed, or non-standard social media text?
  • RQ5How do multilingual models like mBERT and XLM-RoBERTa compare to monolingual or language-specific models in detecting hope speech?

Key findings

  • CharacterBERT achieved the highest F1-score of 0.9356 on the English test set, outperforming other models including BERT, RoBERTa, and DistilBERT.
  • mBERT-uncased with BiLSTM achieved an F1-score of 0.8545 on the Malayalam test set, outperforming other multilingual models.
  • For Tamil, distilBERT achieved a weighted F1-score of 0.5926, though performance dropped significantly from validation to test due to data distribution shifts.
  • The mBERT-cased model with BiLSTM showed a sharp 8% drop in F1-score from validation (0.6183) to test, indicating overfitting or data shift issues.
  • Multilingual models like mBERT and XLM-RoBERTa experienced up to 15% performance drops on test sets, likely due to code-mixed and non-native script interference.
  • Class imbalance and non-English language interference significantly impacted model generalization, especially in English and Malayalam datasets.

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.