Tunisian Dialect Hate Speech and Abuse Detection with BERT-Based Models

With the rapid growth of social media platforms, harmful content such as hate speech and abusive language has become increasingly widespread online. This type of content can hurt individuals and create negative and unsafe online spaces. While many studies have been done to detect such harmful language in widely spoken languages like English or Modern Standard Arabic, less attention has been given to local dialects that have fewer resources. One of these dialects is Tunisian dialect, which is different from Modern Standard Arabic and can be harder for language models to understand. In this paper, we focus on detecting hate speech and abusive language in Tunisian dialect using deep learning methods. We use a special dataset called T-HSAB, which contains user comments in Tunisian dialect that have been labeled as hateful or abusive. We train and test several BERT-based language models, including AraBERT, ARBERT, MarBERT, and TunBERT. These models were made to understand Arabic and its different forms. Among them, TunBERT, which was trained specifically on Tunisian dialect, gives the best results when identifying toxic comments.

Authors

Institutions

Publication Details

Journal
Procedia Computer Science
Published
2025-01-01
DOI
https://doi.org/10.1016/j.procs.2025.09.480
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Tunisian Dialect Hate Speech and Abuse Detection with BERT-Based Models

Kais Haddar, Roua Torjmen
Procedia Computer Science
Hate Speech and Cyberbullying Detection
article

Tunisian Dialect Hate Speech and Abuse Detection with BERT-Based Models

Kais Haddar, Roua Torjmen
article en

Abstract

With the rapid growth of social media platforms, harmful content such as hate speech and abusive language has become increasingly widespread online. This type of content can hurt individuals and create negative and unsafe online spaces. While many studies have been done to detect such harmful language in widely spoken languages like English or Modern Standard Arabic, less attention has been given to local dialects that have fewer resources. One of these dialects is Tunisian dialect, which is different from Modern Standard Arabic and can be harder for language models to understand. In this paper, we focus on detecting hate speech and abusive language in Tunisian dialect using deep learning methods. We use a special dataset called T-HSAB, which contains user comments in Tunisian dialect that have been labeled as hateful or abusive. We train and test several BERT-based language models, including AraBERT, ARBERT, MarBERT, and TunBERT. These models were made to understand Arabic and its different forms. Among them, TunBERT, which was trained specifically on Tunisian dialect, gives the best results when identifying toxic comments.

Procedia Computer ScienceVol. 270
University of Sfax (TN)
Openalex Percentile: Top 83%
Hate Speech and Cyberbullying Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.