SemEval-2019 Task 6: Identifying and Categorizing Offensive Language in Social Media (OffensEval)

Marcos Zampieri, Shervin Malmasi, Preslav Nakov, Sara Rosenthal, Noura Farra, Ritesh Kumar · DOI

TL;DR

This paper introduces OffensEval, a SemEval task focused on identifying and categorizing offensive language in social media. It presents a new hierarchical dataset (OLID) and reveals that state-of-the-art deep learning models, particularly BERT, achieved top performance across all three sub-tasks: offensive language identification, offense type categorization, and offense target identification.

What Problem Does This Paper Address?

The proliferation of offensive language on social media platforms like Twitter and Facebook poses a significant challenge. Manually moderating this content is not only time-consuming but also emotionally taxing for human annotators. While previous research has tackled aspects of abusive language detection (e.g., hate speech, cyberbullying, aggression), there was a gap in simultaneously identifying both the type of offensive content and its target. This is crucial because, for instance, hate speech is typically directed at a group, while cyberbullying targets an individual, requiring different detection and mitigation strategies. OffensEval aimed to address this by providing a comprehensive framework for analyzing offensive language.

Methods

The OffensEval task was structured around three sub-tasks, each corresponding to a level in a hierarchical annotation schema:

  • Sub-task A: Offensive Language Identification: This binary classification task aimed to distinguish between offensive and non-offensive posts.
  • Sub-task B: Automatic Categorization of Offense Types: For posts identified as offensive, this sub-task focused on categorizing the type of offense, specifically distinguishing between "Targeted Insult" (TIN) and "Untargeted Profanity" (UNT).
  • Sub-task C: Offense Target Identification: This sub-task further classified the target of insults or threats, categorizing them as "Individual" (IND), "Group" (GRP), or "Other" (OTH).

The evaluation metric for all sub-tasks was the macro-averaged F1-score, chosen to handle class imbalance.

Datasets

The core dataset for OffensEval was the Offensive Language Identification Dataset (OLID), specifically created for this task. OLID contains over 14,000 English tweets annotated with a hierarchical three-level schema. This dataset is a significant contribution as it allows for a more nuanced analysis of offensive language than previous datasets, which often focused on single aspects like hate speech or toxicity.

Key Insights and Ideas

  • Hierarchical Approach is Key: The paper highlights the value of a hierarchical annotation schema that considers offense type and target simultaneously, moving beyond single-label classification.
  • BERT Dominates: State-of-the-art deep learning models, particularly BERT, proved highly effective across all sub-tasks, underscoring the power of pre-trained transformer models for nuanced language understanding.
  • Ensembles Still Strong: While BERT was a top performer, ensemble methods combining various deep learning and traditional machine learning models also showed strong results, especially in sub-task B.
  • Data Imbalance is a Challenge: The inherent imbalance in offensive language datasets (fewer offensive posts than non-offensive, and specific types/targets being rarer) necessitated careful evaluation metrics like macro-F1.

Key Results

  • High Participation: The task attracted significant interest, with around 800 teams signing up and 115 submitting results.
  • Top Performance: The best-performing team for Sub-task A, NULI, achieved an F1-score of 82.9% using a BERT-based model.
  • Model Trends: Deep learning models, especially BERT, were the most popular choice among participants. Traditional ML models like SVM and logistic regression were also used, often in ensembles.
  • Sub-task Performance: While specific F1 scores for all teams are detailed in tables, the paper indicates that the top systems achieved competitive results across all three sub-tasks, demonstrating the feasibility of automated offensive language analysis at multiple levels.

Limitations and Future Work

The authors acknowledge limitations, particularly regarding the class imbalance in the dataset, especially for the test partitions of sub-tasks B and C. They also note the small size of the test partition for these sub-tasks.

Future work suggestions include:

  • Increasing Dataset Size: Expanding the OLID dataset to include more examples.
  • Addressing Imbalance: Further research into techniques to better handle class imbalance.
  • Multilingual Expansion: Extending the task and dataset to other languages to address the global nature of online offensive language.

Summary updated

BibTeX
@inproceedings{zampieri2019semeval,
  author = {Marcos Zampieri and Shervin Malmasi and Preslav Nakov and Sara Rosenthal and Noura Farra and Ritesh Kumar},
  title = {{SemEval-2019 Task 6: Identifying and Categorizing Offensive Language in Social Media (OffensEval)}},
  booktitle = {SemEval @ NAACL},
  year = {2019},
  doi = {10.18653/v1/s19-2010},
}
Figure