Improving Hate Speech Detection Using Double-Layers Hybrid CNN-RNN Model on Imbalanced Dataset
Open Access
- 28 October 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 159660-159668
Abstract
Hate speech detection is crucial in curbing online toxicity and fostering a safer digital environment. Previous research has proposed the use of hybrid CNN-RNN models for this purpose. This study aims to improve the performance of the hybrid CNN-RNN method by using a double-layer approach to address imbalanced datasets. The novelty lies in using double layers of hybrid CNN-RNN to improve hate speech detection accuracy. The research also employs oversampling techniques alongside the double-layer model. The process includes pre-processing, feature extraction, training tuning, testing, and performance evaluation. Results demonstrate that the double-layers Hybrid CNN-RNN model achieved an accuracy of 0.827, precision of 0.797, recall of 0.759, and F1 score of 0.883 with imbalanced data. Balanced data yielded an even higher accuracy of 0.908, precision of 0.943, recall of 0.894, and F1 score of 0.914. Moreover, the proposed model outperforms the hybrid CNN-RNN with imbalanced datasets, showing an accuracy of 0.752, precision of 0.797, recall of 0.559, and F1 score of 0.657. Techniques such as dropout and early stopping address overfitting in complex models and large datasets. This research advances hate speech detection methodologies by demonstrating the effectiveness of a double-layer hybrid CNN-RNN model, especially for imbalanced data. It underscores the importance of addressing imbalanced datasets for improved model accuracy. Future work could explore alternative data augmentation techniques or compare the proposed model with other architectures.Keywords
Funding Information
- Department of Information Technology, Universitas Muhammadiyah Yogyakarta
- Center of Electrical Engineering, Universiti Teknologi MARA
This publication has 28 references indexed in Scilit:
- "Challenges and future in deep learning for sentiment analysis: a comprehensive review and a proposed novel hybrid approach"Artificial Intelligence Review, 2024
- A systematic review of hate speech automatic detection using natural language processingNeurocomputing, 2023
- Detecting twitter hate speech in COVID-19 era using machine learning and ensemble learning techniquesInternational Journal of Information Management Data Insights, 2022
- Hate speech detection on Twitter using transfer learningComputer Speech & Language, 2022
- Insights of strength and weakness of evolving methodologies of sentiment analysisGlobal Transitions Proceedings, 2021
- Ensemble application of bidirectional LSTM and GRU for aspect category detection with imbalanced dataNeural Computing and Applications, 2021
- Improving Text Preprocessing For Student Complaint Document Classification Using SastrawiIOP Conference Series: Materials Science and Engineering, 2020
- Sentiment Analysis Using Gated Recurrent Neural NetworksSN Computer Science, 2020
- Thai sentiment analysis with deep learning techniques: A comparative study based on word embedding, POS-tag, and sentic featuresSustainable Cities and Society, 2019
- A Hybrid CNN-LSTM Model for Improving Accuracy of Movie Reviews Sentiment AnalysisMultimedia Tools and Applications, 2019