journal article·2022-05-18Open access

Aggression Detection in Social Media from Textual Data Using Deep Learning Models

Umair Khan, Salabat Khan, Atif Rizwan, Ghada Atteia, Mona M. Jamjoom, Nagwan Abdel Samee

Applied Sciences· Volume 12· Issue 10

Abstract

It is an undeniable fact that people excessively rely on social media for effective communication. However, there is no appropriate barrier as to who becomes a part of the communication. Therefore, unknown people ruin the fundamental purpose of effective communication with irrelevant—and sometimes aggressive—messages. As its popularity increases, its impact on society also increases, from primarily being positive to negative. Cyber aggression is a negative impact; it is defined as the willful use of information technology to harm, threaten, slander, defame, or harass another person. With increasing volumes of cyber-aggressive messages, tweets, and retweets, there is a rising demand for automated filters to identify and remove these unwanted messages. However, most existing methods only consider NLP-based feature extractors, e.g., TF-IDF, Word2Vec, with a lack of consideration for emotional features, which makes these less effective for cyber aggression detection. In this work, we extracted eight novel emotional features and used a newly designed deep neural network with only three numbers of layers to identify aggressive statements. The proposed DNN model was tested on the Cyber-Troll dataset. The combination of word embedding and eight different emotional features were fed into the DNN for significant improvement in recognition while keeping the DNN design simple and computationally less demanding. When compared with the state-of-the-art models, our proposed model achieves an F1 score of 97%, surpassing the competitors by a significant margin.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Hate Speech and Cyberbullying Detection · Advanced Malware Detection Techniques · Spam and Phishing Detection

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Science, COMSATS University Islamabad, Attock Campus, Attock 43600, Pakistan

Department of Computer Engineering, Jeju National University, Jejusi 63243, Korea

Department of Information Technology, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, P.O. Box 84428, Riyadh 11671, Saudi Arabia

Department of Computer Sciences, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, P.O. Box 84428, Riyadh 11671, Saudi Arabia

Funding

Princess Nourah bint Abdulrahman University

References (57)

Show source-provided references
1. Nurrahmi, H., and Nurjanah, D. (2018, January 6–7). Indonesian twitter cyberbullying detection using text classification and user credibility. Proceedings of the 2018 International Conference on Information and Communications Technology (ICOIACT), Yogyakarta, Indonesia.10.1109/ICOIACT.2018.8350758 ↗
2. Bystander reactions to cyberbullying and cyberaggression: Individual, contextual, and social factors10.1016/j.copsyc.2020.06.003 ↗
3. Evaluating machine learning techniques for detecting offensive and hate speech in South African tweets10.1109/ACCESS.2020.2968173 ↗
4. (2022, February 12). Visualizing Eight Years of Twitter’s Evolution: 2012–2019. Available online: https://blog.gdeltproject.org/visualizing-eight-years-of-twitters-evolution2012-2019/.
5. Hosseinmardi, H., Rafiq, R.I., Han, R., Lv, Q., and Mishra, S. (2016, January 18–21). Prediction of cyberbullying incidents in a media-based social network. Proceedings of the 2016 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM), San Francisco, CA, USA.10.1109/ASONAM.2016.7752233 ↗
6. A survey on classification techniques for opinion mining and sentiment analysis10.1007/s10462-017-9599-6 ↗
7. Efficient english text classification using selected machine learning techniques10.1016/j.aej.2021.02.009 ↗
8. A multilingual system for cyberbullying detection: Arabic content detection using machine learning10.25046/aj020634 ↗
9. Automatic Detection of Cyberbullying and Abusive Language in Arabic Content on Social Networks: A Survey10.1016/j.procs.2021.05.080 ↗
10. Torfi, A., Shirvani, R.A., Keneshloo, Y., Tavaf, N., and Fox, E.A. (2020). Natural language processing advancements by deep learning: A survey. arXiv.
11. An Introduction to Deep Learning in Natural Language Processing: Models, Techniques, and Tools10.1016/j.neucom.2021.05.103 ↗
12. Van Hee, C., Lefever, E., Verhoeven, B., Mennes, J., Desmet, B., De Pauw, G., Daelemans, W., and Hoste, V. (2015, January 5–11). Detection and fine-grained classification of cyberbullying events. Proceedings of the International Conference Recent Advances in Natural Language Processing (RANLP), Hissar, Bulgaria.
13. Chen, Y. (2011). Detecting Offensive Language in Social Medias for Protection of Adolescent Online Safety. [Master’s Thesis, Penn State University].10.1109/SocialCom-PASSAT.2012.55 ↗
14. Improving cyberbullying detection using Twitter users’ psychological features and machine learning10.1016/j.cose.2019.101710 ↗
15. Automatic detection of offensive language for urdu and roman urdu10.1109/ACCESS.2020.2994950 ↗
16. Aggressive and offensive language identification in hindi, bangla, and english: A comparative study10.1007/s42979-020-00414-6 ↗
17. Comparing pre-trained language models for Spanish hate speech detection10.1016/j.eswa.2020.114120 ↗
18. Herwanto, G.B., Ningtyas, A.M., Nugraha, K.E., and Trisna, I.N. (2019, January 5–6). Hate speech and abusive language classification using fastText. Proceedings of the 2019 International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), Yogyakarta, Indonesia.10.1109/ISRITI48646.2019.9034560 ↗
19. How well do hate speech, toxicity, abusive and offensive language classification models generalize across datasets?10.1016/j.ipm.2021.102524 ↗
20. Alotaibi, A., and Hasanat, M.H.A. (2020, January 3–5). Racism Detection in Twitter Using Deep Learning and Text Mining Techniques for the Arabic Language. Proceedings of the 2020 First International Conference of Smart Systems and Emerging Technologies (SMARTTECH), Riyadh, Saudi Arabia.10.1109/SMART-TECH49988.2020.00047 ↗
21. Challenges in discriminating profanity from hate speech10.1080/0952813X.2017.1409284 ↗
22. Garaigordobil, M., Mollo-Torrico, J.P., Machimbarrena, J.M., and Páez, D. (2020). Cyberaggression in adolescents of Bolivia: Connection with psychopathological symptoms, adaptive and predictor variables. Int. J. Environ. Res. Public Health, 17.10.3390/ijerph17031022 ↗
23. Chatzakou, D., Kourtellis, N., Blackburn, J., De Cristofaro, E., Stringhini, G., and Vakali, A. (2017, January 25–28). Mean birds: Detecting aggression and bullying on twitter. Proceedings of the 2017 ACM on Web Science Conference, Troy, NY, USA.10.1145/3091478.3091487 ↗
24. A lexicon-based approach for hate speech detection10.14257/ijmue.2015.10.4.21 ↗
25. Zois, D.S., Kapodistria, A., Yao, M., and Chelmis, C. (2018, January 15–20). Optimal online cyberbullying detection. Proceedings of the 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Calgary, AB, Canada.10.1109/ICASSP.2018.8462092 ↗
26. Pawar, R., and Raje, R.R. (2019, January 20–22). Multilingual cyberbullying detection system. Proceedings of the 2019 IEEE International Conference on Electro Information Technology (EIT), Brookings, SD, USA.10.1109/EIT.2019.8833846 ↗
27. Aggression detection through deep neural model on twitter10.1016/j.future.2020.07.050 ↗
28. Sigurbergsson, G.I., and Derczynski, L. (2019). Offensive language and hate speech detection for Danish. arXiv.
29. Schneider, J.M., Roller, R., Bourgonje, P., Hegele, S., and Rehm, G. (2018, January 19–21). Towards the automatic classification of offensive language and related phenomena in German tweets. Proceedings of the 14th Conference on Natural Language Processing KONVENS, Vienna, Austria.
30. Pelle, R., Alcântara, C., and Moreira, V.P. (2018, January 16–19). A classifier ensemble for offensive text detection. Proceedings of the 24th Brazilian Symposium on Multimedia and the Web, Salvador, Brazil.10.1145/3243082.3243111 ↗
31. Haidar, B., Chamoun, M., and Serhrouchni, A. (2017, January 18–20). Multilingual cyberbullying detection system: Detecting cyberbullying in Arabic content. Proceedings of the 2017 1st Cyber Security in Networking Conference (CSNet), Rio de Janeiro, Brazil.10.1109/CSNET.2017.8242005 ↗
32. A dataset and preliminaries study for abusive language detection in Indonesian social media10.1016/j.procs.2018.08.169 ↗
33. Ibrohim, M.O., and Budi, I. (2019, January 1). Multi-label hate speech and abusive language detection in Indonesian twitter. Proceedings of the Third Workshop on Abusive Language Online, Florence, Italy.10.18653/v1/W19-3506 ↗
34. Desrul, D.R.K., and Romadhony, A. (2019, January 5–6). Abusive language detection on Indonesian online news comments. Proceedings of the 2019 International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), Yogyakarta, Indonesia.
35. Di Capua, M., and Di Nardo, E. (2016, January 4–8). Unsupervised cyber bullying detection in social networks. Proceedings of the 2016 23rd International Conference on Pattern Recognition (ICPR), Cancun, Mexico.10.1109/ICPR.2016.7899672 ↗
36. González-Ibánez, R. (2011, January 19–24). Identifying sarcasm in twitter: A closer look. Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, Stroudsburg, PA, USA.
37. Machine Learning and feature engineering-based study into sarcasm and irony classification with application to cyberbullying detection10.1016/j.ipm.2021.102600 ↗
38. Lee, P.J., Hu, Y.H., Chen, K., Tarn, J.M., and Cheng, L.E. (2018, January 26–30). Cyberbullying Detection on Social Network Services. Proceedings of the 22nd Pacific Asia Conference on Information Systems, PACIS 2018, Yokohama, Japan.
39. Al-Ajlan, M.A., and Ykhlef, M. (2018, January 25–26). Optimized Twitter Cyberbullying Detection based on Deep Learning. Proceedings of the 2018 21st Saudi Computer Society National Computer Conference (NCC), Riyadh, Saudi Arabia.10.1109/NCG.2018.8593146 ↗
40. Ahmed, M.T., Rahman, M., Nur, S., Islam, A., and Das, D. (2021, January 19–20). Deployment of Machine Learning and Deep Learning Algorithms in Detecting Cyberbullying in Bangla and Romanized Bangla text: A Comparative Study. Proceedings of the 2021 International Conference on Advances in Electrical, Computing, Communication and Sustainable Technologies (ICAECT), Bhilai, India.10.1109/ICAECT49130.2021.9392608 ↗
41. Dadvar, M., and Eckert, K. (2020). Cyberbullying detection in social networks using deep learning based models. International Conference on Big Data Analytics and Knowledge Discovery, Springer.10.1007/978-3-030-59065-9_20 ↗
42. Helpfulness of product reviews as a function of discrete positive and negative emotions10.1016/j.chb.2017.03.053 ↗
43. Plutchik, R. (1994). The Psychology and Biology of Emotion, HarperCollins College Publishers.
44. Mohammad, S.M., and Turney, P.D. (2013). Nrc emotion lexicon. Natl. Res. Counc. Can., 2, Available online: http://www.saifmohammad.com/WebDocs/NRCemotionlexicon.pdf.
45. Mikolov, T., Sutskever, I., Chen, K., Corrado, G.S., and Dean, J. (2013, January 5–10). Distributed representations of words and phrases and their compositionality. Proceedings of the 27th Annual Conference on Neural Information Processing Systems, Lake Tahoe, NV, USA.
46. A comparative study of Word Embedding Techniques to extract features from Text
47. Towards Cyberbullying-free social media in smart cities: A unified multi-modal approach10.1007/s00500-019-04550-x ↗
48. Comparison of Machine Learning Techniques for Cyberbullying Detection on YouTube Arabic Comments
49. An ensemble machine learning approach through effective feature extraction to classify fake news10.1016/j.future.2020.11.022 ↗
50. Term-weighting approaches in automatic text retrieval10.1016/0306-4573(88)90021-0 ↗
51. A systematic review on overfitting control in shallow and deep neural networks10.1007/s10462-021-09975-1 ↗
52. A review of feature selection methods based on mutual information10.1007/s00521-013-1368-0 ↗
53. Feature selection based on mutual information with correlation coefficient10.1007/s10489-021-02524-x ↗
54. Mutual information-based feature selection for intrusion detection systems10.1016/j.jnca.2011.01.002 ↗
55. Maximum relevance minimum common redundancy feature selection for nonlinear data10.1016/j.ins.2017.05.013 ↗
56. Common pitfalls in statistical analysis: Linear regression analysis10.4103/2229-3485.203040 ↗
57. Verbal aggression detection on Twitter comments: Convolutional neural network for short-text sentiment analysis10.1007/s00521-018-3442-0 ↗