Detecting toxic comments from highly skewed social media data

Authors:

Abstract
A user’s online social media data, to a considerable extent, provides insight into the user’s activity. Screening user-generated data for negative content has a wide range of applications, like background checks of an employee and spotting of terror elements. Researchers have focused on identifying toxic text in social media by exploiting deep-learning models in conjunction with pre-trained language models. However, the availability of labelled toxic text is limited. In this work, we apply data augmentation techniques to address the problem of imbalanced training data. The augmented labelled data is used to fine-tune an ensemble. The ensemble consists of one linear classifier and three sequence classifiers, Bi-RNN (Bi-directional Recurrent Neural Networks), Bi-GRU (Bi-directional Gated Recurrent Unit), and Bi-LSTM (Bi-directional Long-Short Term Memory). We use BERT (Bi-directional Encoder Representations from Transformers) as our pre-trained language model. We also experiment with various text preprocessing techniques on the training data and how it affects classification performance. We compare our best-identified model with other toxic text detection frameworks available in the literature.