Skip to main content
QUICK REVIEW

[Paper Review] UM-IU@LING at SemEval-2019 Task 6: Identifying Offensive Tweets Using BERT and SVMs

Jian Zhu, Zuoyu Tian|arXiv (Cornell University)|Apr 6, 2019
Hate Speech and Cyberbullying DetectionComputer Science25 references7 citations
TL;DR

This paper presents a hybrid approach for detecting offensive tweets in SemEval-2019 Task 6, using fine-tuned BERT for binary offensive content detection (subtask A) and linear SVM with character n-grams for classifying the target of abuse (subtask C). The system achieved a macro F1 score of 0.8136 on subtask A (3rd out of 103) and 0.5243 on subtask C (27th out of 65), demonstrating strong performance despite challenges in capturing subtle semantic nuances and handling data sparsity for minority target classes.

ABSTRACT

This paper describes the UM-IU@LING's system for the SemEval 2019 Task 6: OffensEval. We take a mixed approach to identify and categorize hate speech in social media. In subtask A, we fine-tuned a BERT based classifier to detect abusive content in tweets, achieving a macro F1 score of 0.8136 on the test data, thus reaching the 3rd rank out of 103 submissions. In subtasks B and C, we used a linear SVM with selected character n-gram features. For subtask C, our system could identify the target of abuse with a macro F1 score of 0.5243, ranking it 27th out of 65 submissions.

Motivation & Objective

  • To develop a robust computational system for detecting offensive language in social media, particularly hate speech in tweets.
  • To address the challenge of detecting offensive content in noisy, context-dependent social media text with subtle semantic distinctions.
  • To improve the identification of the target of offensive language (individual, group, or other) in tweets, especially given data sparsity for minority classes.
  • To evaluate the effectiveness of pre-trained language models like BERT and traditional classifiers like SVM with n-gram features in offensive language detection tasks.
  • To investigate the limitations of BERT in capturing contextual nuances and the impact of feature engineering on SVM performance in low-resource settings.

Proposed method

  • Fine-tuned the BERT-base model for binary classification in subtask A, using the full training data to detect offensive vs. non-offensive tweets.
  • Employed linear SVM with character n-gram features for subtasks B and C, as BERT underperformed due to data scarcity and hyperparameter sensitivity.
  • Selected character n-grams as primary features for SVM, with additional experiments incorporating linguistic, emoji, and entity features to improve performance.
  • Performed hyperparameter tuning and model validation on trial data to select the optimal feature configuration before final submission.
  • Used a mixed methodology: BERT for context-sensitive representation in subtask A, and SVM with surface-level features for categorical classification in subtasks B and C.
  • Conducted error analysis on misclassified examples to identify failure modes, particularly in distinguishing individual from group targets and handling ambiguous entities.

Experimental results

Research questions

  • RQ1Can fine-tuned BERT effectively detect offensive tweets in social media, especially when subtle contextual meanings differentiate insults from general negativity?
  • RQ2Why does BERT underperform in subtasks B and C compared to subtask A, and what factors—such as data sparsity or hyperparameter sensitivity—contribute to this?
  • RQ3To what extent can linear SVM with character n-grams outperform baseline models in classifying the target of offensive language (individual, group, other)?
  • RQ4How do additional features such as emoji, linguistic cues, and named entities affect the performance of SVM in subtask C?
  • RQ5What are the primary failure modes of the system in identifying the correct target class, particularly in cases with multiple potential targets or ambiguous references?

Key findings

  • The BERT-based classifier achieved a macro F1 score of 0.8136 on subtask A, ranking 3rd out of 103 submissions, demonstrating strong performance in detecting offensive content.
  • The SVM with character n-grams achieved a macro F1 score of 0.5243 on subtask C, ranking 27th out of 65 submissions, significantly outperforming baseline models.
  • The system performed best on identifying individual targets (IND), was moderately effective on group targets (GRP), and struggled most with the minority class (OTH), indicating data sparsity issues.
  • Adding linguistic and emoji features slightly improved the macro F1 and accuracy of the character n-gram model, but including entity features led to performance degradation.
  • Error analysis revealed that the model often misclassified tweets with multiple targets or ambiguous references, such as when multiple individuals were insulted or when the word 'Church' triggered incorrect OTH labeling.
  • The model showed high sensitivity to offensive words in context but failed to distinguish between offensive intent and general negativity, especially in culturally or politically charged contexts.

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.