Mitigating regional bias in Vietnamese hate speech detection via contrastive learning with adversarial fairness

Vietnamese hate speech detection (HSD) models can inadvertently latch onto regional dialect cues as spurious shortcuts, producing unfair performance gaps across the country's language varieties. Prior fairness work, however, has largely targeted gender or race in English, and existing Vietnamese HSD resources carry no regional annotation, leaving dialect-driven bias unmeasured. We first construct the Vietnamese Fair Hate Speech Detection dataset (ViFHSD), a dialect-aware corpus of 23,147 comments curated from widely used Vietnamese HSD datasets. Regional labels come from a lexicon of region-specific markers; toxicity labels come from an ensemble large language model (LLM) majority-voting pipeline, validated against native annotators. Building on ViFHSD, we propose Contrastive Learning with Adversarial Fairness (CLAF), which couples a supervised contrastive objective with an adversarial region discriminator and a gradient reversal layer to discourage the predictor from relying on dialect information. Across five pretrained backbones, standard fine-tuning shows large regional disparities, whereas CLAF attains the lowest statistical-parity (ΔSPD) and equal-opportunity (ΔEO) gaps on every backbone, outperforming its adversarial-only and contrastive-only ablations, at a modest macro-F1 cost of 0.6 to 3.2 points. On PhoBERT-v2, for instance, ΔSPD falls from 30.45 to 26.32 and ΔEO from 14.46 to 8.63 for a macro-F1 change of only -0.63. Probing analysis shows these gains arise at the predictor output rather than by erasing dialect information from the representation. Together, ViFHSD and CLAF move Vietnamese HSD toward more regionally consistent moderation within the studied distribution, while making the residual out-of-distribution trade-offs explicit.

Authors

Institutions

Publication Details

Journal
PLoS ONE
Published
2026-11-24
DOI
https://doi.org/10.1371/journal.pone.0363138
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
NOV
article

Mitigating regional bias in Vietnamese hate speech detection via contrastive learning with adversarial fairness

Thang M. Le, Anh-Cuong Le, Nguyen Nguyen, Chi Duong
1 links
PLoS ONE
Hate Speech and Cyberbullying Detection
article

Mitigating regional bias in Vietnamese hate speech detection via contrastive learning with adversarial fairness

Thang M. Le, Anh-Cuong Le, Nguyen Nguyen, Chi Duong
article en

Abstract

Vietnamese hate speech detection (HSD) models can inadvertently latch onto regional dialect cues as spurious shortcuts, producing unfair performance gaps across the country's language varieties. Prior fairness work, however, has largely targeted gender or race in English, and existing Vietnamese HSD resources carry no regional annotation, leaving dialect-driven bias unmeasured. We first construct the Vietnamese Fair Hate Speech Detection dataset (ViFHSD), a dialect-aware corpus of 23,147 comments curated from widely used Vietnamese HSD datasets. Regional labels come from a lexicon of region-specific markers; toxicity labels come from an ensemble large language model (LLM) majority-voting pipeline, validated against native annotators. Building on ViFHSD, we propose Contrastive Learning with Adversarial Fairness (CLAF), which couples a supervised contrastive objective with an adversarial region discriminator and a gradient reversal layer to discourage the predictor from relying on dialect information. Across five pretrained backbones, standard fine-tuning shows large regional disparities, whereas CLAF attains the lowest statistical-parity (ΔSPD) and equal-opportunity (ΔEO) gaps on every backbone, outperforming its adversarial-only and contrastive-only ablations, at a modest macro-F1 cost of 0.6 to 3.2 points. On PhoBERT-v2, for instance, ΔSPD falls from 30.45 to 26.32 and ΔEO from 14.46 to 8.63 for a macro-F1 change of only -0.63. Probing analysis shows these gains arise at the predictor output rather than by erasing dialect information from the representation. Together, ViFHSD and CLAF move Vietnamese HSD toward more regionally consistent moderation within the studied distribution, while making the residual out-of-distribution trade-offs explicit.

PLoS ONEVol. 21(11)
Ton Duc Thang University (VN), Japan Advanced Institute of Science and Technology (JP)
Reduced inequalities
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.

Laika access coming soon