04 March 2025
Computer scientists have developed a powerful machine learning model that can detect toxic social media comments with remarkable accuracy, paving the way for safer digital interactions.
A team of researchers from Australia and Bangladesh has built a model that is 87% accurate in classifying toxic and non-toxic text without relying on manual identification.
Researchers from East West University in Bangladesh and the University of South Australia say their model is an improvement on existing automated detection systems, many of which produce false positives.
Lead author, data science expert Ms Afia Ahsan, says the massive increase in cyberbullying and hate speech in recent years is leading to serious mental health issues, self-harm and – in extreme cases – suicide.
“Despite efforts by social media platforms to limit toxic content, manually identifying harmful comments is impractical due to the sheer volume of online interactions, with 5.56 billion internet users in the world today,” she says.
“Removing toxic comments from online network platforms is vital to curbing the escalating abuse and ensuring respectful interactions in the social media space.”
UniSA IT and AI researcher, Dr Abdullahi Chowdhury, says the team tested three machine learning models on a dataset of English and Bangla comments collected from social media platforms such as Facebook, YouTube and Instagram.
Their optimised algorithm achieved an accuracy of 87.6%, outperforming the other models which achieved accuracy rates of 69.9% (baseline Support Vector Machine) and 83.4% (Stochastic Gradient Descent model).
“Our optimised SVM model was the most reliable and effective among all three, making it the preferred choice for deployment in real-world scenarios where accurate classification of toxic comments is critical,” Dr Chowdhury says.
Future research will focus on improving the model by integrating deep learning techniques and expanding the dataset to include more languages and regional dialects. The team is now exploring partnerships with social media companies and online platforms to implement this technology.
Notes to editors
The research findings were presented to the 2024 International Conference on Innovation and Intelligence for Informatics, Computing, and Technologies. For a copy of the paper, please email candy.gibson@unisa.edu.au
…………………………………………………………………………………………………………………………
Media contact: Candy Gibson M: +61 434 605 142 E: candy.gibson@unisa.edu.au