CHiSafetyBench: A Chinese Hierarchical Safety Benchmark for Large Language Models

Wenjing Zhang, Xuejiao Lei, Zhaoxiang Liu, Meijuan An, Bikun Yang, Kaikai Zhao, Kai Wang, Shiguo LianarXiv 2024 · DOI

Introduction

As Large Language Models (LLMs) become increasingly integrated into daily life, ensuring their safety—preventing the generation of harmful, biased, or illegal content—is paramount. While English-centric safety benchmarks are well-established, there is a significant gap in comprehensive evaluation frameworks for the Chinese linguistic and regulatory landscape. Existing Chinese safety tests often rely on shallow taxonomies or simplistic prompts that fail to capture the complexity of real-world interactions.

To address this, we introduce CHiSafetyBench, a hierarchical benchmark designed to rigorously evaluate Chinese LLMs across 31 fine-grained categories. Our study highlights a critical "safety gap": models that excel at identifying risks in isolation often fail to maintain safety boundaries when those risks are embedded within multi-turn conversational histories.

The CHiSafetyBench Framework

The core of CHiSafetyBench is a hierarchical taxonomy that maps safety risks into five major areas: Discrimination, Violation of Values, Commercial Violations, Infringement of Rights, and Service-Specific Security. This structure is directly aligned with the "Basic Security Requirements for Generative AI Service" issued by the Chinese government, ensuring regulatory relevance.

The hierarchical taxonomy of CHiSafetyBench, covering 5 major areas and 31 sub-categories.

The dataset consists of two primary subsets:

  1. Multiple-Choice Questions (MCQ): 1,567 questions testing a model's objective perception—its ability to identify whether a specific behavior or statement is risky.
  2. Question-Answering (QA): 563 prompts, including single-turn and multi-turn dialogues, designed to evaluate the model's subjective defense—its actual refusal to generate harmful content.

Evaluation Methodology

To scale the evaluation without the prohibitive cost of human labeling, the researchers employed Qwen-72B as an automated judge. The evaluator assigns a "Refusal Degree" (0–3) to model responses, ranging from providing a risky response (0) to offering a refusal with responsible guidance (3). This automated approach demonstrated a high correlation (Pearson = 0.825) with human judgment, validating its reliability.

Key Experimental Results

The study evaluated 10 state-of-the-art Chinese LLMs, including the Baichuan, ChatGLM, Qwen, and Yi series. The results reveal several critical insights into the current state of Chinese LLM safety.

Performance comparison of various LLMs on risk identification (MCQ) across different risk areas.

The Identification-Refusal Gap

A primary finding is the disconnect between a model's ability to know something is wrong and its ability to refuse to do it. While the top-performing Qwen series (Qwen1.5-72B and 110B) achieved an impressive risk identification accuracy of 91.13%, their overall Rejection Rate (RR-1) in QA tasks was significantly lower, at approximately 69.98%. This suggests that safety alignment during fine-tuning does not always translate from objective knowledge to behavioral refusal.

Multi-Turn Vulnerability

The most significant vulnerability identified is the "safety decay" in multi-turn conversations. Models that appear robust in single-turn interactions often "forget" their safety alignment when lured into harmful topics over several conversational turns. For the best models, the Rejection Rate dropped from ~74% in single-turn prompts to ~49% in multi-turn dialogues, a nearly 50% decrease in safety performance.

Model Size and Safety Alignment

Interestingly, the study found a non-positive correlation between model size and safety performance in some instances. Smaller models occasionally outperformed larger counterparts in specific categories, suggesting that safety is more a product of the quality and diversity of alignment data than raw parameter count.

Conclusion and Future Directions

CHiSafetyBench reveals that while Chinese LLMs are becoming adept at identifying risks, their defensive capabilities—especially in complex, multi-turn scenarios—require significant improvement. Future work will focus on expanding the QA subset to include more diverse "jailbreak" attempts and developing dynamic "red-teaming" frameworks where attacker LLMs actively probe for safety vulnerabilities.

Summary updated

BibTeX
@misc{zhang2024chisafetybench,
  author = {Wenjing Zhang and Xuejiao Lei and Zhaoxiang Liu and Meijuan An and Bikun Yang and Kaikai Zhao and Kai Wang and Shiguo Lian},
  title = {{CHiSafetyBench: A Chinese Hierarchical Safety Benchmark for Large Language Models}},
  year = {2024},
  eprint = {2406.10311},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.10311},
}
Figure