Lune

WWW2026Top-tier venue

Towards Robust Detection of Chinese Toxic Variants via Dynamic Knowledge Graph-LLM Reasoning

Shaochen Yang, Kefei Zhou, Wei Xu

Abstract

With the growing importance of content safety, toxic language detection, especially in Chinese online environments, has become a key task in natural language processing. However, real-world toxic expressions often appear in obfuscated forms such as pinyin abbreviations, symbol insertion, or visually similar substitutions, making them difficult to detect using traditional rule-based or static models. To address this challenge, we propose a dynamic knowledge graph construction method for toxic text variants, named Variant-KG. This graph encodes diverse structural relations between canonical toxic terms and their variants based on phonetic similarity, visual resemblance, and contextual co-occurrence. A small amount of labeled data is further used to fine-tune large language models (LLMs), enabling initial normalization and variant recognition. On top of this, we design a collaborative detection framework that combines the Variant-KG with frozen LLMs. It performs graph augmented prompting for structure-aware reasoning and adopts a Think-Search-Generate paradigm to dynamically recover broken paths when graph connections are incomplete, enabling both data self-enhancement and knowledge completion during inference. Evaluations on multiple Chinese toxic language datasets show that our model consistently outperforms both non-knowledge-enhanced and existing knowledge-enhanced baselines, demonstrating the effectiveness of our proposed dynamic reasoning framework in handling diverse toxic expressions.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. 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
  2. Enhancing Chinese Offensive Language Detection with Homophonic PerturbationJunqi Wu, Shujie Ji, Kang Zhong, Huiling Peng et al.EMNLP 2025
  3. 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
  4. Pragmatic Inference Chain (PIC) Improving LLMs' Reasoning of Authentic Implicit Toxic LanguageXi Chen, Shuo WangEMNLP 2025 · 7 citations
  5. Contrastive Perplexity for Controlled Generation: An Application in Detoxifying Large Language ModelsTassilo Klein, Moin NabiACL 2025
Dusk over the sea between two cliffs drawn in fine vertical lines