Lune

EMNLP2025Top-tier venue

Enhancing Chinese Offensive Language Detection with Homophonic Perturbation

Junqi Wu, Shujie Ji, Kang Zhong, Huiling Peng, Zhendongxiao, Xiongding Liu, Wu Wei

Abstract

Detecting offensive language in Chinese is challenging due to homophonic substitutions used to evade detection. We propose a framework to improve large language models'robustness against such phonetic attacks. First, we construct HED-COLD 1 , the first largescale and systematic homophonic dataset for Chinese offensive language detection. Additionally, we design a homophone-aware pretraining strategy that learns the mappings among orthography, phonetics, and semantics between original and perturbed text. Experimental results show that our approach achieves state-of-the-art performance on both the COLD test set and the toxicity benchmark ToxiCloakCN. Notably, it achieves greater gains in domains susceptible to homophonic attacks, such as gender and regional content. These results demonstrate improved robustness and generalization against phonetic adversarial attacks.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Facilitating Fine-grained Detection of Chinese Toxic Language: Hierarchical Taxonomy, Resources, and Benchmarks cites COLD: A Benchmark for Chinese Offensive Language Detection
  • COLD: A Benchmark for Chinese Offensive Language Detection cites RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on7

  1. RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language ModelsSamuel Gehman, Suchin Gururangan, Maarten Sap, Yejin Choi et al.EMNLP Findings 2020 · 692 citations
  2. COLD: A Benchmark for Chinese Offensive Language DetectionJiawen Deng, Jingyan Zhou, Hao Sun, Chujie Zheng et al.EMNLP 2022 · 82 citations
  3. RoCBert: Robust Chinese Bert with Multimodal Contrastive PretrainingHui Su, Weiwei Shi, Xiaoyu Shen, Xiao Zhou et al.ACL 2022 · 38 citations
  4. Facilitating Fine-grained Detection of Chinese Toxic Language: Hierarchical Taxonomy, Resources, and BenchmarksJunyu Lu, Bo Xu, Xiaokun Zhang, Changrong Min et al.ACL 2023 · 25 citations
  5. CSCD-NS: a Chinese Spelling Check Dataset for Native SpeakersYong Hu, Fandong Meng, Jie ZhouACL 2024 · 9 citations

Related papers

  1. ToxiCloakCN: Evaluating Robustness of Offensive Language Detection in Chinese with Cloaking PerturbationsYunze Xiao, Yujia Hu, Kenny T. W. Choo, Roy Ka-Wei LeeEMNLP 2024 · 5 citations
  2. Chinese Toxic Language Mitigation via Sentiment Polarity Consistent RewritesXintong Wang, Yixiao Liu, Jingheng Pan, Liang Ding et al.EMNLP 2025 · 1 citation
  3. Exploring Multimodal Challenges in Toxic Chinese Detection: Taxonomy, Benchmark, and FindingsShujian Yang, Shiyao Cui, Chuanrui Hu, Haicheng Wang et al.ACL Findings 2025 · 4 citations
  4. Towards Robust Detection of Chinese Toxic Variants via Dynamic Knowledge Graph-LLM ReasoningShaochen Yang, Kefei Zhou, Wei XuWWW 2026
  5. Breaking Free from Ivory Tower: Evaluating and Enhancing Real-world Chinese Underground Adversarial Jargon DetectionZhifan Jiang, Mingxuan Liu, Yue Qin, Baojun LiuS&P 2026 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines