CHiSafetyBench: A Chinese Hierarchical Safety Benchmark for Large Language Models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Zhang, Wenjing, Lei, Xuejiao, Liu, Zhaoxiang, An, Meijuan, Yang, Bikun, Zhao, KaiKai, Wang, Kai, Lian, Shiguo
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917765061804032
author Zhang, Wenjing
Lei, Xuejiao
Liu, Zhaoxiang
An, Meijuan
Yang, Bikun
Zhao, KaiKai
Wang, Kai
Lian, Shiguo
author_facet Zhang, Wenjing
Lei, Xuejiao
Liu, Zhaoxiang
An, Meijuan
Yang, Bikun
Zhao, KaiKai
Wang, Kai
Lian, Shiguo
contents With the profound development of large language models(LLMs), their safety concerns have garnered increasing attention. However, there is a scarcity of Chinese safety benchmarks for LLMs, and the existing safety taxonomies are inadequate, lacking comprehensive safety detection capabilities in authentic Chinese scenarios. In this work, we introduce CHiSafetyBench, a dedicated safety benchmark for evaluating LLMs' capabilities in identifying risky content and refusing answering risky questions in Chinese contexts. CHiSafetyBench incorporates a dataset that covers a hierarchical Chinese safety taxonomy consisting of 5 risk areas and 31 categories. This dataset comprises two types of tasks: multiple-choice questions and question-answering, evaluating LLMs from the perspectives of risk content identification and the ability to refuse answering risky questions respectively. Utilizing this benchmark, we validate the feasibility of automatic evaluation as a substitute for human evaluation and conduct comprehensive automatic safety assessments on mainstream Chinese LLMs. Our experiments reveal the varying performance of different models across various safety domains, indicating that all models possess considerable potential for improvement in Chinese safety capabilities. Our dataset is publicly available at https://github.com/UnicomAI/UnicomBenchmark/tree/main/CHiSafetyBench.
format Preprint
id arxiv_https___arxiv_org_abs_2406_10311
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CHiSafetyBench: A Chinese Hierarchical Safety Benchmark for Large Language Models
Zhang, Wenjing
Lei, Xuejiao
Liu, Zhaoxiang
An, Meijuan
Yang, Bikun
Zhao, KaiKai
Wang, Kai
Lian, Shiguo
Computation and Language
Artificial Intelligence
With the profound development of large language models(LLMs), their safety concerns have garnered increasing attention. However, there is a scarcity of Chinese safety benchmarks for LLMs, and the existing safety taxonomies are inadequate, lacking comprehensive safety detection capabilities in authentic Chinese scenarios. In this work, we introduce CHiSafetyBench, a dedicated safety benchmark for evaluating LLMs' capabilities in identifying risky content and refusing answering risky questions in Chinese contexts. CHiSafetyBench incorporates a dataset that covers a hierarchical Chinese safety taxonomy consisting of 5 risk areas and 31 categories. This dataset comprises two types of tasks: multiple-choice questions and question-answering, evaluating LLMs from the perspectives of risk content identification and the ability to refuse answering risky questions respectively. Utilizing this benchmark, we validate the feasibility of automatic evaluation as a substitute for human evaluation and conduct comprehensive automatic safety assessments on mainstream Chinese LLMs. Our experiments reveal the varying performance of different models across various safety domains, indicating that all models possess considerable potential for improvement in Chinese safety capabilities. Our dataset is publicly available at https://github.com/UnicomAI/UnicomBenchmark/tree/main/CHiSafetyBench.
title CHiSafetyBench: A Chinese Hierarchical Safety Benchmark for Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2406.10311