Abstract
This paper presents our system for CCL25-Eval Task 10, addressing Fine-Grained Chinese Hate Speech Recognition (FGCHSR). We propose a novel SRAG-MAV framework that synergistically integrates task reformulation (TR), Self-Retrieval-Augmented Generation (SRAG), and Multi-Round Accumulative Voting (MAV). Our method reformulates the quadruplet extraction task into triplet extraction, uses dynamic retrieval from the training set to create contextual prompts, and applies multi-round inference with voting to improve output stability and performance. Our system, based on the Qwen2.5-7B model, achieves a Hard Score of 26.66, a Soft Score of 48.35, and an Average Score of 37.505 on the STATE ToxiCN dataset, significantly outperforming baselines such as GPT-4o and fine-tuned Qwen2.5-7B.
Introduction
Hate speech detection has evolved from simple binary classification to fine-grained recognition, requiring the extraction of structured information. In the context of Chinese social media, this task is particularly challenging due to linguistic nuances, context-dependent meanings, and the scarcity of high-quality annotated data. The CCL25-Eval Task 10 focuses on Fine-Grained Chinese Hate Speech Recognition (FGCHSR), which involves identifying four key elements: the Target, the Argument, the Targeted Group, and a Hateful label.
We introduce SRAG-MAV, a framework that simplifies this complex extraction task and leverages the model's own training data to provide high-quality few-shot context. By combining these techniques with a multi-round voting mechanism, we demonstrate that a 7B-parameter model can significantly outperform much larger proprietary models like GPT-4o.
Methodology
The SRAG-MAV framework is built upon three primary components designed to optimize the performance of the underlying Large Language Model (LLM), specifically Qwen2.5-7B.
Task Reformulation (TR)
The standard FGCHSR task requires extracting a quadruplet. However, analysis of the dataset revealed a deterministic relationship: the "Hateful" label is redundant if the "Targeted Group" is known (i.e., a "no-hate" group label implies a "no-hate" hateful label). By reformulating the task into a triplet extraction (Target, Argument, Targeted Group) and post-processing the final label, we reduce the model's cognitive load and improve generation accuracy.
Self-Retrieval-Augmented Generation (SRAG)
Unlike traditional RAG systems that query external knowledge bases, SRAG utilizes the training corpus as its knowledge source. For each input text, a retrieval model (bge-large-zh-v1.5) identifies the top-$k$ most similar examples from the training set. These examples are then formatted into the prompt as few-shot demonstrations, providing the model with domain-specific context and structural guidance.
Multi-Round Accumulative Voting (MAV)
To mitigate the inherent instability of LLM generation, we implement a voting mechanism. The model performs multiple inference rounds, each potentially using different retrieved examples. Results are collected, and the system continues to generate until a specific triplet reaches a predefined frequency threshold ($\tau$). This ensures that the final output represents a stable consensus across multiple inference passes, acting as a test-time refinement to catch hallucinations.
Experimental Results
We evaluated our system on the STATE ToxiCN dataset, comprising 4,000 training and 1,602 test samples. The dataset is specifically designed for span-level, target-aware toxicity extraction in Chinese.
Performance Metrics
Our SRAG-MAV system achieved state-of-the-art results on the test set:
- Hard Score: 26.66 (Exact match)
- Soft Score: 48.35 (Partial match)
- Average Score: 37.505
In comparison, GPT-4o achieved an Average Score of only 15.63, while a standard fine-tuned Qwen2.5-7B reached 35.365. These results highlight the effectiveness of the SRAG and MAV components in boosting performance beyond simple fine-tuning.
Impact of Voting Threshold
The threshold $\tau$ plays a critical role in balancing stability and performance. As shown in Figure 5, increasing the threshold generally leads to higher scores across all metrics, validating the hypothesis that multi-round consensus improves reliability and accuracy.
Conclusion
The SRAG-MAV framework demonstrates that task simplification, self-retrieval, and voting are powerful tools for fine-grained recognition tasks. By treating the training set as a retrieval source and enforcing consensus through MAV, we achieved superior performance with a relatively small 7B model. Future work will explore multimodal integration to capture hate speech hidden in images and memes, as well as cross-domain generalizability to further enhance detection in diverse social media environments.
Summary updated