Detection of Cyberbullying on Social Media Platforms Using Machine Learning

被引:0
作者
Ali, Mohammad Usmaan [1 ]
Lefticaru, Raluca [1 ]
机构
[1] Univ Bradford, Dept Comp Sci, Bradford, England
来源
ADVANCES IN COMPUTATIONAL INTELLIGENCE SYSTEMS, UKCI 2023 | 2024年 / 1453卷
关键词
Cybersecurity; Cyberbullying; Machine learning; Natural language processing; Twitter; Web development; PREVENTION;
D O I
10.1007/978-3-031-47508-5_18
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Cyberbullying is a prominent issue that affects many people within their lifetime. In this paper we explore the use of Machine Learning (ML) and Natural Language Processing (NLP) techniques to support automatic detection of cyberbullying. The paper discusses first the significance of cyberbullying and its relationship to cybersecurity. Then, in order to illustrate the automatic detection approach and its integration into a web application, we considered a benchmark dataset, the Offensive Language Identification Dataset (OLID). This is an annotated large-scale dataset with approximate 14,000 English tweets, that was used in various works for detecting offensive posts in social media, predicting their type and target. To solve the classification problems associated with OLID dataset, nine supervised models were developed for each task of the dataset. We used the TFIDF (Term Frequency Inverse Document Frequency) feature selection and GridSearchCV to find the optimum parameters for each of the ML algorithms. Evaluation metrics, such as build time, accuracy, precision, recall, and F1-score were used to compare the ML techniques. The Random Forest models achieved 82, 90, and 61% in accuracy for the tasks associated with the dataset, which were the best performing algorithms supported by the other metrics. The Random Forest models that achieved the best performance, were integrated within a Flask web application, publicly available. This serves as proof of concept, allowing users to test the classifier. The paper explains how a developed ML model can be integrated into a web application. Furthermore, one can develop an API for handling larger and more frequent data requests or integrate in a social media platform the classifier.
引用
收藏
页码:220 / 233
页数:14
相关论文
共 26 条
[1]   Efficient Medical Diagnosis of Human Heart Diseases Using Machine Learning Techniques With and Without GridSearchCV [J].
Ahmad, Ghulab Nabi ;
Fatima, Hira ;
Ullah, Shafi ;
Saidi, Abdelaziz Salah ;
Imdadullah .
IEEE ACCESS, 2022, 10 :80151-80173
[2]  
Ahuja Ravinder, 2019, Procedia Computer Science, V152, P341, DOI 10.1016/j.procs.2019.05.008
[3]   Predicting Cyberbullying on Social Media in the Big Data Era Using Machine Learning Algorithms: Review of Literature and Open Challenges [J].
Al-Garadi, Mohammed Ali ;
Hussain, Mohammad Rashid ;
Khan, Nawsher ;
Murtaza, Ghulam ;
Nweke, Henry Friday ;
Ali, Ihsan ;
Mujtaba, Ghulam ;
Chiroma, Haruna ;
Khattak, Hasan Ali ;
Gani, Abdullah .
IEEE ACCESS, 2019, 7 :70701-70718
[4]  
Ali M.U., 2023, Master's thesis
[5]  
Atanassova I., 2019, Front. Res. Metrics Anal., V4, P1
[6]  
Balakrishnan Vimala, 2014, Lecture Notes on Software Engineering, V2, P262, DOI 10.7763/LNSE.2014.V2.134
[7]  
Berry M.W., 2019, Supervised and Unsupervised Learning for Data Science
[8]  
Dadvar M, 2018, Arxiv, DOI arXiv:1812.08046
[9]   What kind of cyber security? Theorising cyber security and mapping approaches [J].
Fichtner, Laura .
INTERNET POLICY REVIEW, 2018, 7 (02)
[10]   Bullying, Cyberbullying, and Suicide [J].
Hinduja, Sameer ;
Patchin, Justin W. .
ARCHIVES OF SUICIDE RESEARCH, 2010, 14 (03) :206-221