Offensive Language Analysis using Deep Learning Architecture

Ryan Ong
3/12/2019
cs.CLcs.LG

Official code: RyanOngAI/semeval-2019-task6 (5 stars, TeX, last commit 2019-03-15).

Abstract

SemEval-2019 Task 6 (Zampieri et al., 2019b) requires us to identify and categorise offensive language in social media. In this paper we will describe the process we took to tackle this challenge.

Show full abstract

Our process is heavily inspired by Sosa (2017) where he proposed CNN-LSTM and LSTM-CNN models to conduct twitter sentiment analysis. We decided to follow his approach as well as further his work by testing out different variations of RNN models with CNN. Specifically, we have divided the challenge into two parts: data processing and sampling and choosing the optimal deep learning architecture. In preprocessing, we experimented with two techniques, SMOTE and Class Weights to counter the imbalance between classes. Once we are happy with the quality of our input data, we proceed to choosing the optimal deep learning architecture for this task. Given the quality and quantity of data we have been given, we found that the addition of CNN layer provides very little to no additional improvement to our model's performance and sometimes even lead to a decrease in our F1-score. In the end, the deep learning architecture that gives us the highest macro F1-score is a simple BiLSTM-CNN.

View on arXivView PDF

Code Implementations(1)

Transforma at SemEval-2019 Task 6: Identifying and Categorising Offensive Language in Social Media

55TeX, PythonMar 2, 20197 years ago

Similar Papers

Cite this paper

@article{ong2019offensive,
  title  = {Offensive Language Analysis using Deep Learning Architecture},
  author = {Ryan Ong},
  year   = {2019},
  eprint = {1903.05280},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.05280}
}

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/1903.05280.svg)](https://codeofpaper.com/paper/1903.05280)

Discussion