Skip to main content
QUICK REVIEW

[Paper Review] Hopeful_Men@LT-EDI-EACL2021: Hope Speech Detection Using Indic Transliteration and Transformers

Ishan Sanjeev Upadhyay, E Nikhil|arXiv (Cornell University)|Feb 24, 2021
Hate Speech and Cyberbullying DetectionComputer Science15 references8 citations
TL;DR

This paper proposes a two-pronged approach for hope speech detection in English, Tamil, and Malayalam using contextual embeddings and fine-tuned transformer models. The second approach—ensemble voting over 11 fine-tuned transformers (RoBERTa, ALBERT, IndicBERT)—achieved a weighted F1 score of 0.93 in English, 0.75 in Tamil, and 0.49 in Malayalam, ranking first in English and top three in Tamil and Malayalam on the HopeEDI dataset.

ABSTRACT

This paper aims to describe the approach we used to detect hope speech in the HopeEDI dataset. We experimented with two approaches. In the first approach, we used contextual embeddings to train classifiers using logistic regression, random forest, SVM, and LSTM based models.The second approach involved using a majority voting ensemble of 11 models which were obtained by fine-tuning pre-trained transformer models (BERT, ALBERT, RoBERTa, IndicBERT) after adding an output layer. We found that the second approach was superior for English, Tamil and Malayalam. Our solution got a weighted F1 score of 0.93, 0.75 and 0.49 for English,Malayalam and Tamil respectively. Our solution ranked first in English, eighth in Malayalam and eleventh in Tamil.

Motivation & Objective

  • To detect hope speech in multilingual YouTube comments, particularly in low-resource languages like Tamil and Malayalam.
  • To address the challenge of code-mixing in Indian language datasets through a transliteration pipeline.
  • To improve hope speech detection performance using transformer-based models fine-tuned on the HopeEDI dataset.
  • To compare traditional classifier models with ensemble methods using fine-tuned transformers for multilingual hope speech detection.

Proposed method

  • Preprocessing involved removing special characters, emojis, and extra whitespaces, and converting text to lowercase.
  • Language detection used a heuristic approach for code-mixed Tamil and Malayalam data, classifying non-Tamil/Malayalam content as English or Hindi.
  • Transliteration was applied to code-mixed Indian language text using the indic-transliteration library to convert Latin-script elements into native scripts.
  • Contextual embeddings were extracted from BERT, RoBERTa, ALBERT, and IndicBERT for use in traditional classifiers (logistic regression, random forest, SVM, LSTM).
  • Fine-tuned transformer models (RoBERTa, ALBERT, IndicBERT) were used in an ensemble with majority voting for final prediction.
  • The final system used weighted F1 as the evaluation metric, with model performance assessed on test splits derived from train/dev sets.

Experimental results

Research questions

  • RQ1Can fine-tuned transformer models outperform traditional classifiers in detecting hope speech in multilingual social media text?
  • RQ2How effective is transliteration in improving model performance on code-mixed Indian language datasets for hope speech detection?
  • RQ3Does ensemble voting over multiple fine-tuned transformer models enhance detection performance across low-resource languages like Tamil and Malayalam?
  • RQ4How do different pre-trained models (RoBERTa, ALBERT, IndicBERT) compare in performance on English, Tamil, and Malayalam hope speech detection?

Key findings

  • The ensemble of fine-tuned transformer models achieved the highest weighted F1 score of 0.93 in English, outperforming all other methods.
  • For Tamil, the ensemble approach with IndicBERT achieved a weighted F1 score of 0.75, ranking eighth among 14 systems.
  • In Malayalam, the ensemble model achieved a weighted F1 score of 0.49, ranking eleventh among 14 systems.
  • The second approach (fine-tuned transformers with ensemble voting) consistently outperformed the first approach (contextual embeddings with traditional classifiers) across all three languages.
  • RoBERTa-base was the best-performing individual model in English, while IndicBERT showed the strongest performance in Tamil and Malayalam.
  • The disparity between macro and weighted F1 scores indicated class imbalance issues, particularly in Tamil and Malayalam, where minority class prediction was less accurate.

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.