Title: Abusive language detection using customised BERT

Authors: Burre Chandu; Kaza Phani Rohitha; Nampally Nihal; K. Hima Bindu

Addresses: Department of Computer Science and Engineering, National Institute of Technology Andhra Pradesh, West Godavari, 534101, Andhra Pradesh, India ' Department of Computer Science and Engineering, National Institute of Technology Andhra Pradesh, West Godavari, 534101, Andhra Pradesh, India ' Department of Computer Science and Engineering, National Institute of Technology Andhra Pradesh, West Godavari, 534101, Andhra Pradesh, India ' Department of Computer Science and Engineering, National Institute of Technology Andhra Pradesh, West Godavari, 534101, Andhra Pradesh, India

Abstract: Freedom of expression and speech is widely misused in social media today. Unfortunately, the content shared on these platforms contains abusive content which is in multiple forms. This humongous amount of text requires automated detection of abusive language. This is a challenging problem because of a lot of noise, large vocabulary, context-dependency, and multilingualism. Deep learning (DL) models are being used due to the inefficiency of regular expressions, blacklists, and machine learning approaches. Hence, we have used neural language models for extracting high-quality features from the text. This paper demonstrates the usage of the natural language processing (NLP) model, bidirectional encoder representations from transformers commonly called BERT to perform various classification techniques. We have presented the results of fine-tuning the BERT pre-trained model for abusive language detection. The empirical analysis of offensive language identification and toxic comment classification datasets showed that these architectures achieved better results than existing models.

Keywords: abusive language detection; offensive language detection; hate speech; language models; transformers; attention; BERT; natural language processing; NLP; fine-tuning; attention; LSTM.

DOI: 10.1504/IJSI.2022.121094

International Journal of Swarm Intelligence, 2022 Vol.7 No.1, pp.25 - 38

Received: 29 Jun 2020
Accepted: 27 Nov 2020

Published online: 24 Feb 2022 *

Full-text access for editors Full-text access for subscribers Purchase this article Comment on this article