STATE ToxiCN: A Benchmark for Span-level Target-Aware Toxicity Extraction in Chinese Hate Speech Detection

Zewen Bai, Liang Yang, Shengdi Yin, Junyu Lu, Jingjie Zeng, Haohao Zhu, Yuanyuan Sun, Hongfei Lin

Introduction

Detecting hate speech in Chinese presents unique challenges compared to English. The absence of word delimiters (spaces) and a highly flexible word order make it difficult for automated systems to pinpoint exactly who is being targeted and which specific words constitute the attack. Furthermore, Chinese internet culture frequently employs "cloaked" language—such as homophones, character splitting, and obscure historical allusions—to bypass traditional filters.

Existing datasets have primarily focused on post-level detection, labeling entire messages as toxic without providing insight into their internal structure. STATE ToxiCN addresses this gap as the first span-level benchmark for Chinese hate speech, moving beyond binary classifications to precisely extract targets and hateful arguments.

Methodology: Target-Argument-Hateful-Group Quadruples

The core of the STATE ToxiCN framework is the extraction and annotation of Target-Argument-Hateful-Group quadruples. This fine-grained approach breaks down hate speech into four essential components:

  1. Target: The specific individual or group being addressed.
  2. Argument: The specific span of text expressing the hatred.
  3. Hatefulness: A binary label (hateful/non-hate).
  4. Group: The category of the target (e.g., LGBTQ, Racism, Sexism).
Examples of Target-Argument-Hateful-Group quadruples in the STATE ToxiCN dataset.

The researchers evaluated 12 different Large Language Models (LLMs), including open-source models (LLaMA3-8B, Qwen2.5-7B), safety-domain models (ShieldLM), and closed-source APIs (GPT-4o, Claude-3.5-Sonnet). They specifically compared the performance of models fine-tuned on this dataset against the zero-shot and few-shot capabilities of massive general-purpose APIs.

Dataset Composition

The project introduced two primary resources:

  • STATE ToxiCN Dataset: Comprising 8,029 posts and 9,533 annotated quadruples, covering categories such as Gender, Race, Region, and LGBTQ.
  • Annotated Hateful Slang Lexicon: A first-of-its-kind collection of 830 Chinese hateful slang terms. This lexicon includes "interpretative annotations" that explain the origins and literal meanings of slang used to disguise toxicity.

Key Insights: The Challenge of Cloaked Speech

A major finding of the study is the complexity of "cloaking" maneuvers used to evade detection. For instance, the character 默 (mò, meaning silence) is used as a racial slur because it can be decomposed into 黑 (black) and 犬 (dog). Similarly, historical figures like Ran Min are used as symbols to justify racial discrimination or nationalism.

Linguistic maneuvers like character merging and historical allusions used to cloak hate speech.

While LLMs often understand the semantic meaning of these slurs, they frequently fail to identify the correct boundaries within a sentence. The study found that identifying the "Argument" (the hateful expression) is significantly harder than identifying the "Target," as arguments are often longer and more structurally complex.

Results and Performance

  • Fine-tuning vs. Scale: Smaller fine-tuned models (8B parameters) significantly outperformed massive closed-source models like GPT-4o in span identification. Fine-tuned LLaMA3-8B and Qwen2.5-7B achieved "hard match" F1 scores over 63% for targets and arguments, while the best API (DeepSeek-v3) reached only 48% for targets and 22% for arguments.
  • The Quadruple Task: Identifying all four elements simultaneously proved the most difficult. Fine-tuned models achieved an F1 of ~24%, whereas general APIs struggled with scores between 3% and 12%.
  • Slang Impact: The presence of hateful slang consistently confused detectors; removing such terms from the test set generally improved the performance of fine-tuned models.

Conclusion and Future Work

STATE ToxiCN demonstrates that span-level boundary detection is a specialized skill that general-purpose training does not fully capture. However, the "Red Queen" race of evolving internet slang and the subjectivity of hate speech remain significant hurdles. Future research will focus on expanding the dataset to include more diverse contexts and exploring multimodal detection methods to address "hateful memes" where toxicity arises from the interplay of text and imagery.

Summary updated

BibTeX
@inproceedings{bai2025state,
  author = {Zewen Bai and Liang Yang and Shengdi Yin and Junyu Lu and Jingjie Zeng and Haohao Zhu and Yuanyuan Sun and Hongfei Lin},
  title = {{STATE ToxiCN: A Benchmark for Span-level Target-Aware Toxicity Extraction in Chinese Hate Speech Detection}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure