Causal-Aware Classification of Social Media Hate Speech: Enhancing Robustness and Fairness with BERT

Social media platforms face increasing challenges in moderating hate speech effectively. While deep learning models like BERT have advanced detection performance, they often rely on spurious correlations and may exhibit bias toward marginalized communities. This paper proposes a causal-aware classification framework integrating causal inference techniques with BERT fine-tuning to improve robustness and fairness in hate speech detection. Using the HateXplain dataset, which includes labeled social media posts and annotator rationales, we construct a causal graph identifying potential confounders. Our model incorporates backdoor adjustment and invariant risk minimization (IRM) during training. Experiments demonstrate enhanced accuracy under distribution shifts and reduced demographic bias compared to baseline models.

Authors

Institutions

Publication Details

Journal
Indonesian Journal of Computer Science
Published
2025-06-29
DOI
https://doi.org/10.33022/ijcs.v14i3.4895
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

Causal-Aware Classification of Social Media Hate Speech: Enhancing Robustness and Fairness with BERT

Pshko Rasul
Indonesian Journal of Computer Science
Hate Speech and Cyberbullying Detection
article

Causal-Aware Classification of Social Media Hate Speech: Enhancing Robustness and Fairness with BERT

Pshko Rasul
article en

Abstract

Social media platforms face increasing challenges in moderating hate speech effectively. While deep learning models like BERT have advanced detection performance, they often rely on spurious correlations and may exhibit bias toward marginalized communities. This paper proposes a causal-aware classification framework integrating causal inference techniques with BERT fine-tuning to improve robustness and fairness in hate speech detection. Using the HateXplain dataset, which includes labeled social media posts and annotator rationales, we construct a causal graph identifying potential confounders. Our model incorporates backdoor adjustment and invariant risk minimization (IRM) during training. Experiments demonstrate enhanced accuracy under distribution shifts and reduced demographic bias compared to baseline models.

Indonesian Journal of Computer ScienceVol. 14(3)
University of Raparin (IQ)
Openalex Percentile: Top 93%
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.

Causal-Aware Classification of Social Media Hate Speech: Enhancing Robustness and Fairness with BERT — Pshko Rasul · Indonesian Journal of Computer Science (2025) | TGRS Research Map | TGRS