Chinese social media users often evade moderation by replacing toxic words with homophones—characters that sound alike but differ in meaning. Existing detection tools are built for English and fail on this cloaked Chinese toxicity. A new paper introduces C2TU, a method that requires no training or prompts, making it practical for real-time moderation.
C2TU first identifies candidate toxic words via substring matching against a Chinese homophone graph and toxic lexicon. It then filters out non-toxic candidates and corrects cloaks to their intended toxic forms. The authors implement two filtering variants, one based on BERT and one on large language models, with the LLM variant designed to overcome autoregressive limitations by using full semantic context.
In experiments on two Chinese toxicity datasets, C2TU outperformed the best competitor by up to 71% in F1 score and 35% in accuracy. The method's training-free nature means it can be deployed without domain-specific fine-tuning, though the paper does not address potential adversarial adaptations beyond homophone substitution.