Machine learning intervention on cyber-hate in code-switch texts: a systematic review with open challenges and solutions

Perpetrators of cyber-hate are increasingly using code-switching, which is the alternation of languages within a single text, to evade automated moderation systems. While machine learning has advanced hate speech detection for monolingual content, these systems struggle to adapt to the widespread and complex reality of multilingual and low-resource communication. To address this gap, this study conducted a systematic literature review of 400 studies (2013–July 2025) to evaluate machine learning for detecting cyber-hate in code-switched texts. It identified key challenges: limited and unavailable datasets, an overreliance on bilingual data, a regional concentration of studies (notably India), underrepresentation of African and Latin American languages and narrow evaluation metrics. The analysis confirmed that while transformer-based models excel for high-resource languages like Hindi-English, their performance drops sharply for low-resource pairs like English-Swahili due to data scarcity and linguistic complexity. Synthesizing proposed solutions, the study concludes with a research roadmap prioritizing: (1) validated, open-access multilingual data; (2) models optimized for low-resource settings; (3) ethical safeguards for fairness and privacy; and (4) expanded evaluation metrics that include bias and interpretability. This study provides a diagnostic overview of the field and actionable guidance for building inclusive and context-aware hate speech detection systems. Its scope also extends to the related problems of toxicity and abusive language, which often overlap with cyber-hate and contribute to online hostility. Consequently, the review also explores how machine learning can be designed to detect and mitigate this broader spectrum of harmful content in multilingual and code-switched environments.

Authors

Institutions

Publication Details

Journal
PeerJ Computer Science
Published
2026-02-24
DOI
https://doi.org/10.7717/peerj-cs.3537
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

Machine learning intervention on cyber-hate in code-switch texts: a systematic review with open challenges and solutions

Abiodun Esther Omolara, Nanlir Sallau Mullah, Fakhitah Ridzuan, Wan Mohd Nazmee Wan Zainon
PeerJ Computer Science
Hate Speech and Cyberbullying Detection
article

Machine learning intervention on cyber-hate in code-switch texts: a systematic review with open challenges and solutions

Abiodun Esther Omolara, Nanlir Sallau Mullah, Fakhitah Ridzuan, Wan Mohd Nazmee Wan Zainon
article en

Abstract

Perpetrators of cyber-hate are increasingly using code-switching, which is the alternation of languages within a single text, to evade automated moderation systems. While machine learning has advanced hate speech detection for monolingual content, these systems struggle to adapt to the widespread and complex reality of multilingual and low-resource communication. To address this gap, this study conducted a systematic literature review of 400 studies (2013–July 2025) to evaluate machine learning for detecting cyber-hate in code-switched texts. It identified key challenges: limited and unavailable datasets, an overreliance on bilingual data, a regional concentration of studies (notably India), underrepresentation of African and Latin American languages and narrow evaluation metrics. The analysis confirmed that while transformer-based models excel for high-resource languages like Hindi-English, their performance drops sharply for low-resource pairs like English-Swahili due to data scarcity and linguistic complexity. Synthesizing proposed solutions, the study concludes with a research roadmap prioritizing: (1) validated, open-access multilingual data; (2) models optimized for low-resource settings; (3) ethical safeguards for fairness and privacy; and (4) expanded evaluation metrics that include bias and interpretability. This study provides a diagnostic overview of the field and actionable guidance for building inclusive and context-aware hate speech detection systems. Its scope also extends to the related problems of toxicity and abusive language, which often overlap with cyber-hate and contribute to online hostility. Consequently, the review also explores how machine learning can be designed to detect and mitigate this broader spectrum of harmful content in multilingual and code-switched environments.

PeerJ Computer ScienceVol. 12
Universiti Sains Malaysia (MY), Universiti Malaysia Kelantan (MY), Federal College of Education, Kano (NG), University of Abuja (NG)
Quality Education
Openalex Percentile: Top 48%
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.