Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Elevating Offensive Language Detection: CNN-GRU and BERT for Enhanced Hate Speech Identification

Author 1: M. Madhavi Author 2: Sanjay Agal Author 3: Niyati Dhirubhai Odedra Author 4: Harish Chowdhary Author 5: Taranpreet Singh Ruprah Author 6: Veera Ankalu Vuyyuru Author 7: Yousef A.Baker El-Ebiary
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 15, No. 5 · Published 2024 · Cited by 13

DOI: https://doi.org/10.14569/IJACSA.2024.01505118

Abstract

Upholding a secure and accepting digital environment is severely hindered by hate speech and inappropriate information on the internet. A novel approach that combines Convolutional Neural Network with GRU and BERT from Transformers proposed for enhancing the identification of offensive content, particularly hate speech. The method utilizes the strengths of both CNN-GRU and BERT models to capture complex linguistic patterns and contextual information present in hate speech. The proposed model first utilizes CNN-GRU to extract local and sequential features from textual data, allowing for effective representation learning of offensive language. Subsequently, BERT, advanced transformer-based model, is employed to capture contextualized representations of the text, thereby enhancing the understanding of detailed linguistic nuances and cultural contexts associated with hate speech. Fine tuning BERT model using hugging face transformer. To execute tests using datasets for hate speech identification that are made accessible to the public and show how well the method works to identify inappropriate content. By assisting with the continuing efforts to prevent the dissemination of hate speech and undesirable language online, the proposed framework promotes a more diverse and secure digital environment. The proposed method is implemented using python. The method achieves 98% competitive performance compared to existing approaches LSTM and RNN, CNN, LSTM and GBAT, showcasing its potential for real-world applications in combating online hate speech. Furthermore, it provides insights into the interpretability of the model's predictions, highlighting key linguistic and contextual factors influencing offensive language detection. The study contributes to advancing hate speech detection by integrating CNN-GRU and BERT models, giving a robust solution for enhancing offensive content identification in online platforms.

Keywords

How to Cite this Article

Madhavi, M., Agal, S., Odedra, N. D., Chowdhary, H., Ruprah, T. S., Vuyyuru, V. A., & El-Ebiary, Y. A. (2024). Elevating Offensive Language Detection: CNN-GRU and BERT for Enhanced Hate Speech Identification. International Journal of Advanced Computer Science and Applications, 15(5). https://doi.org/10.14569/IJACSA.2024.01505118

Madhavi, M., et al.. "Elevating Offensive Language Detection: CNN-GRU and BERT for Enhanced Hate Speech Identification." International Journal of Advanced Computer Science and Applications, vol. 15, no. 5, 2024, https://doi.org/10.14569/IJACSA.2024.01505118.

@article{Madhavi2024,
  title     = {Elevating Offensive Language Detection: CNN-GRU and BERT for Enhanced Hate Speech Identification},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {15},
  number    = {5},
  year      = {2024},
  publisher = {The Science and Information Organization},
  author    = {M. Madhavi and Sanjay Agal and Niyati Dhirubhai Odedra and Harish Chowdhary and Taranpreet Singh Ruprah and Veera Ankalu Vuyyuru and Yousef A.Baker El-Ebiary},
  doi       = {10.14569/IJACSA.2024.01505118},
  url       = {https://doi.org/10.14569/IJACSA.2024.01505118}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.