Machine learning and deep learning-based approach to categorize Bengali comments on social networks using fused dataset

Khandaker Mohammad Mohi Uddin, Hasibul Hamim, Mst. Nishat Tasnim Mim, Arnisha Akhter, Md. Ashraf UddinPLoS ONE 2024

TL;DR

This paper tackles the critical issue of online harassment in Bengali social media by developing a robust machine learning and deep learning framework. By fusing two datasets to create a substantial corpus of 94,000 comments, they achieve remarkably high accuracy in detecting various forms of cyberbullying, paving the way for more effective online safety tools.

What Problem Does This Paper Address?

The proliferation of social media has unfortunately led to a surge in online harassment and cyberbullying. While efforts exist to combat this in English, there's a significant gap in effective tools for languages like Bengali, which has a large user base on platforms like Facebook and YouTube. Identifying and mitigating this harmful content is crucial for fostering a safer online environment, especially for vulnerable populations. The authors highlight that existing research on Bengali cyberbullying detection is limited, often relying on smaller datasets and less sophisticated methods, necessitating a more comprehensive approach.

Methods

The researchers employed a hybrid strategy combining machine learning (ML) and deep learning (DL) techniques. For ML classifiers, they utilized TF-IDF (Term Frequency-Inverse Document Frequency) with a Count Vectorizer for feature extraction. For DL models, tokenization and padding were used to prepare the text data. They experimented with a range of ML algorithms including Stacking, Voting, SGD, LR, RF, MLP, Bagging, XGBoost, AdaBoost, and K-NN. Their DL arsenal included DNN, CNN, CLSTM, and BiLSTM. A key aspect of their methodology was the use of Instance Hardness Threshold (IHT) for undersampling to address class imbalances and K-Fold cross-validation for robust evaluation. The ultimate goal was to identify the most effective model, particularly a hybrid approach, for classifying Bengali comments into categories like "Not Bully," "Troll," "Sexual," "Religious," and "Threat."

Datasets

The study utilized a fused dataset comprising approximately 94,000 Bengali comments. This dataset was created by combining two publicly available datasets from Kaggle:

  • Dataset 1: (Source not explicitly named, but implied to be from Kaggle)
  • Dataset 2: Facebook sentiment analysis Bangla language dataset (also from Kaggle)

The combined dataset was labeled into five categories: Not Bully, Troll, Sexual, Religious, and Threat.

Key Insights and Ideas

  • Hybrid Models Shine: The research strongly suggests that combining ML and DL approaches, particularly through ensemble methods like stacking, yields superior performance compared to individual models. This is likely due to the ability to leverage the strengths of different algorithms.
  • Data is King (and Quantity Matters): The authors emphasize that a large, diverse dataset is crucial for accurately recognizing harassing behavior. Their fused dataset of 94,000 comments was significantly larger than many previous studies, contributing to their high accuracy.
  • Bengali Language Nuances: The paper highlights the specific challenges of processing Bengali text, including the presence of "Banglish" (mixed Bengali and English) and the need for specialized preprocessing steps.
  • Beyond Binary Classification: While binary classification (bully vs. not bully) is important, the paper demonstrates the effectiveness of multi-class classification in identifying nuanced forms of online harassment.

Key Results

The study achieved impressive results:

  • Multi-label Classification: A hybrid model (MLP+SGD+LR) achieved an accuracy of 99.34%, precision of 99.34%, recall of 99.33%, and an F1 score of 99.34%.
  • Binary Classification: The best model achieved an accuracy of 99.41%.
  • Deep Learning Performance: The BiGRU model showed exceptional performance among DL models, with an accuracy of 90.63%.
  • Comparison to Prior Work: The proposed hybrid model significantly outperformed previous studies in terms of accuracy, precision, recall, and F1 score, especially when compared to methods using smaller datasets or less comprehensive feature extraction.

Limitations and Future Work

  • Limitations:
    • The primary emphasis on Bengali cyberbullying is limited to specific languages and cultural environments.
  • The use of openly accessible datasets with potentially limited comments might not fully represent the diversity of cyberbullying incidents.
  • The investigation did not explore transformer-based methods, which have shown potential in NLP tasks.
  • Practical application challenges and concerns were not deeply investigated.
  • Future Work:
    • Conduct studies to address interspersed classes by broadening training information.
  • Investigate transformer-based techniques like BERT, RoBERTa, and ELECTRA for multilingual online bullying detection.
  • Research video and picture filtration for detecting harassment on social networking sites.
  • Develop a web-based application (Bengali Cyberbullying Detector - BCBD) to make the technology accessible.

Summary updated

BibTeX
@inproceedings{uddin2024machine,
  author = {Khandaker Mohammad Mohi Uddin and Hasibul Hamim and Mst. Nishat Tasnim Mim and Arnisha Akhter and Md. Ashraf Uddin},
  title = {{Machine learning and deep learning-based approach to categorize Bengali comments on social networks using fused dataset}},
  booktitle = {PLoS ONE},
  year = {2024},
  doi = {10.1371/journal.pone.0308862},
}
Figure