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

Abstract

We present the results and the main findings of SemEval-2019 Task 6 on Identifying and Categorizing Offensive Language in Social Media (OffensEval). The task was based on a new dataset, the Offensive Language Identification Dataset (OLID), which contains over 14,000 English tweets. It featured three sub-tasks. In sub-task A, the goal was to discriminate between offensive and non-offensive posts. In sub-task B, the focus was on the type of offensive content in the post. Finally, in sub-task C, systems had to detect the target of the offensive posts. OffensEval attracted a large number of participants and it was one of the most popular tasks in SemEval-2019. In total, about 800 teams signed up to participate in the task, and 115 of them submitted results, which we present and analyze in this report.

Introduction

The proliferation of offensive language on social media platforms has necessitated the development of robust automated detection systems. However, previous research often treated related phenomena—such as hate speech, cyberbullying, and general aggression—as isolated problems. This fragmentation makes it difficult for automated systems to generalize across different types of toxicity. OffensEval 2019 addresses this by proposing a unified, hierarchical taxonomy for offensive language identification, allowing for a more nuanced understanding of not just if a post is offensive, but how it is offensive and who it is attacking.

The OLID Dataset and Task Hierarchy

The core of OffensEval is the Offensive Language Identification Dataset (OLID), comprising 14,100 English tweets. Unlike previous datasets, OLID is annotated at three distinct levels to capture the nuances of online toxicity:

  • Sub-task A (Identification): Discriminating between offensive and non-offensive posts.
  • Sub-task B (Categorization): Determining if the offense is a Targeted Insult (TIN) or Untargeted Profanity (UNT).
  • Sub-task C (Target Identification): Identifying the victim as an Individual (IND), a Group (GRP), or Other (OTH).
Examples of tweets and their hierarchical annotations in the OLID dataset.

The dataset was curated via crowdsourcing with rigorous quality controls, including gold-standard test questions to ensure annotator reliability. The final split consisted of 13,240 training instances and 860 test instances.

Methodologies

The competition attracted 115 submitting teams, employing a wide array of NLP techniques. Deep learning was the dominant paradigm, used by 70% of participants in the primary detection task.

  • The Rise of BERT: Sub-task A was a clear victory for Transfer Learning. Seven of the top ten teams used BERT, proving its effectiveness in capturing the general sentiment and context of offensive language.
  • Ensembles and Rules: For the more complex categorization tasks (B and C), ensemble models—combining architectures like CNNs, LSTMs, and BERT—frequently outperformed single models. Interestingly, the top team for Sub-task B (jhan014) utilized a rule-based approach with keyword filters, suggesting that specific linguistic markers remain highly reliable indicators for certain types of offenses.
  • Preprocessing: Teams invested heavily in social media-specific cleaning, such as emoji-to-text conversion and leetspeak normalization (e.g., converting "c00l" to "cool").

Results and Analysis

The results across the three sub-tasks demonstrate that while general offensive language detection is becoming highly accurate, fine-grained categorization remains a significant challenge.

Leaderboard and performance ranges for the three OffensEval sub-tasks.

As shown in the results table, the top Macro-F1 scores decreased as the tasks became more granular:

  • Sub-task A (Detection): 0.829 (Team NULI)
  • Sub-task B (Categorization): 0.755 (Team jhan014)
  • Sub-task C (Targeting): 0.660 (Team vradivchev_anikolov)

Performance drops were largely attributed to class imbalance within the dataset; for example, "Untargeted" offenses are much rarer than "Targeted" ones, making it harder for models to learn the minority class.

Conclusion and Future Work

OffensEval 2019 successfully established a new benchmark for offensive language research. The findings highlight the power of transfer learning for general detection but also underscore the difficulty of handling nuanced targeting. Future iterations of the task aim to expand the dataset scale and incorporate multiple languages to address the global nature of online toxicity and the "small data" problem in specific categorization classes.

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