TL;DR
This paper introduces STATE ToxiCN, the first span-level dataset for Chinese hate speech detection, alongside a curated lexicon of 830 coded hate terms. By moving past coarse sentence-level classification to a fine-grained "Target-Argument-Hateful-Group" quadruple framework, the authors expose major blind spots in current LLMs and propose a two-stage fine-tuning method that significantly improves both detection accuracy and model explainability.
What Problem Does This Paper Address?
Automated hate speech detection has come a long way, but it still heavily relies on sentence-level binary classification (i.e., labeling an entire comment as "hateful" or "not hateful"). This coarse-grained approach falls short in real-world online environments for two main reasons:
- Multi-Target and Implicit Contexts: A single toxic comment might target multiple groups with different arguments, or use sarcasm that sentence-level labels fail to disentangle. For instance, sarcastically praising a regional group as "hardworking, so they are best suited for street sweeping" requires identifying the specific target and the underlying derogatory argument.
- Coded Hate Speech: To evade algorithmic moderation, users frequently employ internet slang, homophones, or character manipulations (e.g., using "坦克" / tank to body-shame women).
While research in English has begun addressing these nuances, Chinese hate speech detection has lagged behind due to a lack of fine-grained, span-level datasets that capture these complex linguistic and cultural phenomena.
Methods
The authors tackle these challenges by introducing a Target-Argument-Hateful-Group quadruple prediction framework. Instead of a single label, models must extract:
- Target Span: Who is being attacked?
- Argument Span: What is the nature of the attack?
- Hateful Status: Explicitly or implicitly toxic?
- Targeted Group: Which demographic category (e.g., Gender, Race, Region, LGBTQ) does it belong to?
To handle evasive language, they built a Chinese coded hate term lexicon, splitting terms into two categories:
- Phono-Graphemic Variations: Character splitting/combining, homophones, or emoji replacements.
- Hateful Semantic Terms: Slang, cultural allusions, and subculture-specific insults.
Finally, they engineered a Two-Stage Training Framework to inject this lexicon knowledge into detection models without causing label leakage. In Stage 1, the model undergoes domain-specific pre-tuning on the coded hate term lexicon. In Stage 2, it is fine-tuned via LoRA on the downstream hate speech datasets.
Datasets
The paper introduces and utilizes several key resources:
- STATE ToxiCN (Ours): The primary contribution, containing 8,029 posts and 9,533 annotated quadruples covering sexism, racism, regional bias, and anti-LGBTQ sentiments.
- Chinese Coded Hate Term Lexicon (Ours): 830 terms collected from real online forums, complete with targeted groups and detailed explanations.
- COLD & CDial-Bias: Two widely recognized external Chinese offensive language benchmarks used to validate the generalizability of their two-stage framework.
The unique positioning of STATE ToxiCN against existing benchmarks is illustrated below:
Key Insights and Ideas
- The "Decoding" Bottleneck: One of the most striking findings is that LLMs struggle significantly more with Phono-Graphemic variations than Hateful Semantic terms. The model must first "decode" the phonetic or orthographic trick before it can even begin to parse the toxic intent, creating a multi-step inferential bottleneck.
- API Limitations in the Wild: Off-the-shelf LLM APIs (including GPT-4o and Claude-3.7-Sonnet) perform poorly at exact span extraction ("hard-matching") out of the box. Without specialized fine-tuning, they cannot reliably locate the exact boundaries of toxic phrases.
- Lexicon Injection as a Precision Anchor: Simply fine-tuning a model on raw data can make it over-reliant on explicit cues. Pre-training the model on an explicit lexicon (Stage 1) acts as a semantic anchor, helping the model map out robust, hate-specific feature representations before dealing with full sentences.
Key Results
- Fine-Tuned vs. Open APIs: Fine-tuned open-source models (like LLaMA3-8B and Qwen2.5-7B) achieved soft-match F1 scores hovering near 52% on the triplet task, vastly outperforming commercial APIs, which plummeted to between 11% and 27% on the quadruple task due to span boundary confusion.
- DeepSeek-v3 Dominance: Among the closed-source models evaluated via API, DeepSeek-v3 stood out, achieving a remarkable 63.75% hard F1 score in identifying coded terms and a 72.57% win rate against human-authored explanations.
- Two-Stage Boost: Implementing the two-stage framework yielded substantial performance gains on external datasets. For example, Qwen2.5-7B using the two-stage approach hit an F1 score of 70.57 on COLD and 60.04 on CDial-Bias, outperforming standard LoRA fine-tuning.
The impact of coded terms on model performance can be seen in the subset analysis:
Limitations and Future Work
While a major step forward, the authors note that span boundary ambiguity remains a tough nut to crack—evidenced by the massive gap between hard-matching and soft-matching metrics across all models.
Additionally, because internet slang is highly dynamic, static lexicons risk obsolescence. The authors point to adaptive learning mechanisms that dynamically update lexicons as a critical next step. They also plan to expand this fine-grained quadruple framework into the multimodal domain to detect hate speech embedded in online memes, images, and videos.
Summary updated