Developing an online hate classifier for multiple social media platforms

Разработка классификатора онлайн-языка ненависти для нескольких платформ социальных сетей
Shammur Absar Chowdhury, Joni Salminen, Bernard J. Jansen, Maximilian Hopf, Soon-Gyo Jung, Hind Almerekhi
2020-01-01

BERT featuresF1 scoreXGBoostmulti-platform social mediaonline hate detection
Abstract The proliferation of social media enables people to express their opinions widely online. However, at the same time, this has resulted in the emergence of conflict and hate, making online environments uninviting for users. Although researchers have found that hate is a problem across multiple platforms, there is a lack of models for online hate detection using multi-platform data. To address this research gap, we collect a total of 197,566 comments from four platforms: YouTube, Reddit, Wikipedia, and Twitter, with 80% of the comments labeled as non-hateful and the remaining 20% labeled as hateful. We then experiment with several classification algorithms (Logistic Regression, Naïve Bayes, Support Vector Machines, XGBoost, and Neural Networks) and feature representations (Bag-of-Words, TF-IDF, Word2Vec, BERT, and their combination). While all the models significantly outperform the keyword-based baseline classifier, XGBoost using all features performs the best (F1 = 0.92). Feature importance analysis indicates that BERT features are the most impactful for the predictions. Findings support the generalizability of the best model, as the platform-specific results from Twitter and Wikipedia are comparable to their respective source papers. We make our code publicly available for application in real software systems as well as for further development by online hate researchers.
1
BERT features contribute most strongly to model predictions, and platform-specific results for Twitter and Wikipedia support the model’s generalizability.
2
Logistic Regression, Naïve Bayes, Support Vector Machines, XGBoost, and Neural Networks substantially outperform a keyword-based baseline across tested feature representations.
3
The authors publicly release the code to support deployment in software systems and further research on online hate detection.
4
The dataset contains 80% non-hateful and 20% hateful comments, enabling supervised classification across multiple social media platforms.
5
The study introduces a multi-platform online hate detection dataset containing 197,566 comments from YouTube, Reddit, Wikipedia, and Twitter.
6
XGBoost combining Bag-of-Words, TF-IDF, Word2Vec, and BERT features achieves the best performance, with an F1 score of 0.92.

Online hate comments across multiple social media platforms (YouTube, Reddit, Wikipedia, Twitter)

Cross-platform online hate classification performance and feature importance

Publication Details
Publication Date
2020-01-01
Journal
Publisher
ISSN
Access Type
Author Information
Authors
Shammur Absar Chowdhury
Joni Salminen
Bernard J. Jansen
Maximilian Hopf
Soon-Gyo Jung
Hind Almerekhi
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%