Efficient Hate Speech Detection: Evaluating 38 Models from Traditional Methods to Transformers

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Abusaqer, Mahmoud, Saquer, Jamil, Shatnawi, Hazim
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908544886898688
author Abusaqer, Mahmoud
Saquer, Jamil
Shatnawi, Hazim
author_facet Abusaqer, Mahmoud
Saquer, Jamil
Shatnawi, Hazim
contents The proliferation of hate speech on social media necessitates automated detection systems that balance accuracy with computational efficiency. This study evaluates 38 model configurations in detecting hate speech across datasets ranging from 6.5K to 451K samples. We analyze transformer architectures (e.g., BERT, RoBERTa, Distil-BERT), deep neural networks (e.g., CNN, LSTM, GRU, Hierarchical Attention Networks), and traditional machine learning methods (e.g., SVM, CatBoost, Random Forest). Our results show that transformers, particularly RoBERTa, consistently achieve superior performance with accuracy and F1-scores exceeding 90%. Among deep learning approaches, Hierarchical Attention Networks yield the best results, while traditional methods like CatBoost and SVM remain competitive, achieving F1-scores above 88% with significantly lower computational costs. Additionally, our analysis highlights the importance of dataset characteristics, with balanced, moderately sized unprocessed datasets outperforming larger, preprocessed datasets. These findings offer valuable insights for developing efficient and effective hate speech detection systems.
format Preprint
id arxiv_https___arxiv_org_abs_2509_14266
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Efficient Hate Speech Detection: Evaluating 38 Models from Traditional Methods to Transformers
Abusaqer, Mahmoud
Saquer, Jamil
Shatnawi, Hazim
Computation and Language
Artificial Intelligence
Social and Information Networks
I.2.7; I.5.1
The proliferation of hate speech on social media necessitates automated detection systems that balance accuracy with computational efficiency. This study evaluates 38 model configurations in detecting hate speech across datasets ranging from 6.5K to 451K samples. We analyze transformer architectures (e.g., BERT, RoBERTa, Distil-BERT), deep neural networks (e.g., CNN, LSTM, GRU, Hierarchical Attention Networks), and traditional machine learning methods (e.g., SVM, CatBoost, Random Forest). Our results show that transformers, particularly RoBERTa, consistently achieve superior performance with accuracy and F1-scores exceeding 90%. Among deep learning approaches, Hierarchical Attention Networks yield the best results, while traditional methods like CatBoost and SVM remain competitive, achieving F1-scores above 88% with significantly lower computational costs. Additionally, our analysis highlights the importance of dataset characteristics, with balanced, moderately sized unprocessed datasets outperforming larger, preprocessed datasets. These findings offer valuable insights for developing efficient and effective hate speech detection systems.
title Efficient Hate Speech Detection: Evaluating 38 Models from Traditional Methods to Transformers
topic Computation and Language
Artificial Intelligence
Social and Information Networks
I.2.7; I.5.1
url https://arxiv.org/abs/2509.14266