Cisco at SemEval-2021 Task 5: What's Toxic?: Leveraging Transformers for Multiple Toxic Span Extraction from Online Comments

Sreyan Ghosh, Sonal Kumar
5/28/2021
cs.CLcs.AI
transformer-attention

Official code: Sreyan88/SemEval-2021-Toxic-Spans-Detection (3 stars, Jupyter Notebook, last commit 2021-06-01).

Abstract

Social network platforms are generally used to share positive, constructive, and insightful content. However, in recent times, people often get exposed to objectionable content like threat, identity attacks, hate speech, insults, obscene texts, offensive remarks or bullying.

Show full abstract

Existing work on toxic speech detection focuses on binary classification or on differentiating toxic speech among a small set of categories. This paper describes the system proposed by team Cisco for SemEval-2021 Task 5: Toxic Spans Detection, the first shared task focusing on detecting the spans in the text that attribute to its toxicity, in English language. We approach this problem primarily in two ways: a sequence tagging approach and a dependency parsing approach. In our sequence tagging approach we tag each token in a sentence under a particular tagging scheme. Our best performing architecture in this approach also proved to be our best performing architecture overall with an F1 score of 0.6922, thereby placing us 7th on the final evaluation phase leaderboard. We also explore a dependency parsing approach where we extract spans from the input sentence under the supervision of target span boundaries and rank our spans using a biaffine model. Finally, we also provide a detailed analysis of our results and model performance in our paper.

View on arXivView PDF

Code Implementations(1)

This repository contains code for the paper: Cisco at SemEval-2021 Task 5: What’s Toxic?: Leveraging Transformers for Multiple Toxic Span Extraction from Online Comments

32Jupyter Notebook, PythonFeb 17, 20215 years ago
nlpsequence-taggingtoxicity-classification

Similar Papers

Cite this paper

@article{ghosh2021cisco,
  title  = {Cisco at SemEval-2021 Task 5: What's Toxic?: Leveraging Transformers for Multiple Toxic Span Extraction from Online Comments},
  author = {Sreyan Ghosh and Sonal Kumar},
  year   = {2021},
  eprint = {2105.13959},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.13959}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.13959.svg)](https://codeofpaper.com/paper/2105.13959)

Discussion