JailBench: A Comprehensive Chinese Security Assessment Benchmark for Large Language Models

Shuyi Liu, Simiao Cui, Haoran Bu, Yuming Shang, Xi Zhang
2/26/2025
cs.CLcs.AI

Official code: STAIR-BUPT/JailBench (191 stars, MIT, last commit 2025-03-03).

Abstract

Large language models (LLMs) have demonstrated remarkable capabilities across various applications, highlighting the urgent need for comprehensive safety evaluations. In particular, the enhanced Chinese language proficiency of LLMs, combined with the unique characteristics and complexity of Chinese expressions, has driven the emergence of Chinese-specific benchmarks for safety assessment. However, these benchmarks generally fall short in effectively exposing LLM safety vulnerabilities. To address the gap, we introduce JailBench, the first comprehensive Chinese benchmark for evaluating deep-seated vulnerabilities in LLMs, featuring a refined hierarchical safety taxonomy tailored to the Chinese context. To improve generation efficiency, we employ a novel Automatic Jailbreak Prompt Engineer (AJPE) framework for JailBench construction, which incorporates jailbreak techniques to enhance assessing effectiveness and leverages LLMs to automatically scale up the dataset through context-learning. The proposed JailBench is extensively evaluated over 13 mainstream LLMs and achieves the highest attack success rate against ChatGPT compared to existing Chinese benchmarks, underscoring its efficacy in identifying latent vulnerabilities in LLMs, as well as illustrating the substantial room for improvement in the security and trustworthiness of LLMs within the Chinese context. Our benchmark is publicly available at https://github.com/STAIR-BUPT/JailBench.

View on arXivView PDF

Code Implementations(1)

MIT

JailBench:大型语言模型越狱攻击风险评测中文数据集 [PAKDD 2025]

19120Jul 10, 20241 years agoMIT

Similar Papers

Cite this paper

@article{liu2025jailbench,
  title  = {JailBench: A Comprehensive Chinese Security Assessment Benchmark for Large Language Models},
  author = {Shuyi Liu and Simiao Cui and Haoran Bu and Yuming Shang and Xi Zhang},
  year   = {2025},
  eprint = {2502.18935},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.18935v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.18935.svg)](https://codeofpaper.com/paper/2502.18935)

Discussion