Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 45 min ago
Peer-reviewedCC BYPLOS One

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

  1. 1Faculty of Information Technology, Ton Duc Thang University, Ho Chi Minh City, Viet Nam.
  2. 2Natural Language Processing and Knowledge Discovery Research Group, Faculty of Information Technology, Ton Duc Thang University, Ho Chi Minh City, Viet Nam.
  3. 3Japan Advanced Institute of Science and Technology, Nomi, Japan.

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.

Related

  1. CASTLE: Cell-type aware SpaTial domain detection via contrastive learning embedding
    Lai Wei, Aoqi Xie, Yuehua Cui
    PLOS GeneticsPeer-reviewedCC BY 4.0Full textMolecular biology & gene regulationBioinformatics & computational biologyPLOSPMC
  2. Open-set detection of training-time unseen attacks in encrypted traffic based on a multi-granularity pre-trained transformer and prototype contrastive learning
    Siyan Gao
    PLOS OnePeer-reviewedCC BYFull textNeurosciencePLOSEurope PMC
  3. Predicting miRNA–Disease Associations Based on Contrastive Learning of Linear and Nonlinear Features
    Yiming Sun, Weihua Zhu, Lei Li
    GenesPeer-reviewedCC BYFull textGenetics & genomicsEurope PMC
  4. CLIVeg: Contrastive Image-Vegetation Alignment for Botany-Aware Earth Observation Representations
    Selene Cerna, Sara Si-Moussi, Hadrien Hendrikx +2
    NeurocomputingPeer-reviewedPublisher termsFull textEcologyEnvironmental science & pollutionHAL
  5. BRIDGE: inter-tissue imputation with contrastive learning improves recovery of donor-specific gene expression
    J. Yang, R. Y. Li, Z. S. Qin
    bioRxivPreprintAll rights reservedFull textBioinformatics & computational biologybioRxiv
BibTeX
@article{duong2026mitigating,
  title = {{Mitigating regional bias in Vietnamese hate speech detection via contrastive learning with adversarial fairness}},
  author = {Trong-Chi Duong and Anh-Cuong Le and Thang V Q Le and Nguyen P Nguyen},
  journal = {PLOS One},
  year = {2026},
  month = nov,
  doi = {10.1371/journal.pone.0363138},
  url = {https://doi.org/10.1371/journal.pone.0363138},
  note = {CC BY},
}
RIS
TY  - JOUR
TI  - Mitigating regional bias in Vietnamese hate speech detection via contrastive learning with adversarial fairness
AU  - Trong-Chi Duong
AU  - Anh-Cuong Le
AU  - Thang V Q Le
AU  - Nguyen P Nguyen
PY  - 2026
DA  - 2026/11/24
JO  - PLOS One
DO  - 10.1371/journal.pone.0363138
UR  - https://doi.org/10.1371/journal.pone.0363138
AB  - 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.
SN  - 1932-6203
ER  -