cs.CLMay 28, 2025

Breaking the Cloak! Unveiling Chinese Cloaked Toxicity with Homophone Graph and Toxic Lexicon

Authors: Xuchen Ma, Jianxiang Yu, Wenming Shao, Bo Pang, Xiang Li

Organizations: School of Data Science and Engineering, East China Normal University · Shanghai EastWonder Info-tech Co., Ltd.

Abstract

Social media platforms have experienced a significant rise in toxic content, including abusive language and discriminatory remarks, presenting growing challenges for content moderation. Some users evade censorship by deliberately disguising toxic words through homophonic cloak, which necessitates the task of unveiling cloaked toxicity. Existing methods are mostly designed for English texts, while Chinese cloaked toxicity unveiling has not been solved yet. To tackle the issue, we propose C2^2TU, a novel training-free and prompt-free method for Chinese cloaked toxic content unveiling. It first employs substring matching to identify candidate toxic words based on Chinese homophone graph and toxic lexicon. Then it filters those candidates that are non-toxic and corrects cloaks to be their corresponding toxicities. Specifically, we develop two model variants for filtering, which are based on BERT and LLMs, respectively. For LLMs, we address the auto-regressive limitation in computing word occurrence probability and utilize the full semantic contexts of a text sequence to reveal cloaked toxic words. Extensive experiments demonstrate that C2^2TU can achieve superior performance on two Chinese toxic datasets. In particular, our method outperforms the best competitor by up to 71% on the F1 score and 35% on accuracy, respectively. Our code and data are available at https://github.com/XDxc-cuber/C2TU-Chinese-cloaked-toxicity-unveiling.

Figures & tables

Appendix figures & tables12 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Harder to Defend: Towards Chinese Toxicity Attacks via Implicit Enhancement and Obfuscation Rewriting

    May 21, 2026Jingyi Kang, Junyu Lu, Bo Xu +4Language Model Safety EvaluationToxicity Detection

  2. ToxiTrace: Gradient-Aligned Training for Explainable Chinese Toxicity Detection

    Apr 14, 2026Boyang Li, Hongzhe Shou, Yuanyuan Liang +2Toxicity DetectionExplainable Text Classification

  3. Detecting Toxic Language: Ontology and BERT-based Approaches for Bulgarian Text

    Apr 2, 2026Melania Berbatova, Tsvetoslav VasevBidirectional Encoder Representations from TransformersToxicity Detection