AI-driven detection of hate speech on social media: a case study in the French language
Open Access
- 17 September 2025
- journal article
- research article
- Published by Springer Nature in Cluster Computing
- Vol. 28 (12) , 1-19
Abstract
In today’s digital age, the rise of online hate speech–fueled by user anonymity and widespread use of platforms like X–has become a serious issue. It is a challenge for both social media companies and authorities in their efforts to maintain a safe and respectful online environment. Hate speech (HS) is mostly seen as an intentional act of aggressive behavior towards anyone based on their personal traits. The main corpus of research work done in this area concerns the main spoken languages in the world, such as English, Arabic, or Hindi. However, in the circle of European languages, HS in the French language needs more development. Throughout this study, we present our contribution to the area by compiling and preprocessing a custom dataset by merging and cleaning existing French HS corpora. We develop binary-class Machine Learning (SVM, Random Forest, Naive Bayes, Logistic Regression), Deep Learning (LSTM, Bi-LSTM, GRU), and Transformers models (CamemBert, DistilCamemBert, DeHateBert). Experimental results show that DistilCamemBert significantly outperforms other models, achieving an F1-score of 80%. Then we compare our results to the existing state-of-the-art online. After that, we try to take a step further in the research with the implementation of interpretability studies with explainable AI and bias mitigation.Keywords
Funding Information
- NTNU Norwegian University of Science and Technology
This publication has 19 references indexed in Scilit:
- Unlocking language barriers: Assessing pre-trained large language models across multilingual tasks and unveiling the black box with Explainable Artificial IntelligenceEngineering Applications of Artificial Intelligence, 2025
- Metalinguist: enhancing hate speech detection with cross-lingual meta-learningComplex & Intelligent Systems, 2025
- Hate Speech Detection in Code-Mixed Datasets Using Pretrained Embeddings and Transformers2024
- Self-supervised hate speech detection in Norwegian texts with lexical and semantic augmentationsExpert Systems with Applications, 2024
- Enhancing misogyny detection in bilingual texts using explainable AI and multilingual fine-tuned transformersComplex & Intelligent Systems, 2024
- A robust hybrid approach with product context-aware learning and explainable AI for sentiment analysis in Amazon user reviewsElectronic Commerce Research, 2024
- Enhancing Misogyny Detection in Bilingual Texts Using FastText and Explainable AI2024
- Multi-class hate speech detection in the Norwegian language using FAST-RNN and multilingual fine-tuned transformersComplex & Intelligent Systems, 2024
- Detection of Hate Speech Texts Using Machine Learning Algorithm2022
- The Online Disinhibition EffectCyberPsychology & Behavior, 2004