SafetyBench: a bilingual 11,435-question multiple-choice benchmark to measure LLM safety across 7 categories

September 13, 20237 min

Overview

Decision SnapshotReady For Pilot

The benchmark is ready for routine safety checks and CI; evidence comes from broad model evaluation and human validation, but translation noise and augmentation bias reduce perfect reliability.

Citations18

Evidence Strength0.80

Confidence0.90

Risk Signals9

Trust Signals

Findings with numeric evidence: 5/5

Findings with evidence refs: 5/5

Results with explicit delta: 3/4

Reproducibility

Status: Code + data available

Open source: Yes

At A Glance

Cost impact: 70%

Production readiness: 70%

Novelty: 50%

Authors

Zhexin Zhang, Leqi Lei, Lindong Wu, Rui Sun, Yongkang Huang, Chong Long, Xiao Liu, Xuanyu Lei, Jie Tang, Minlie Huang

Links

Abstract / PDF / Code / Data

Why It Matters For Business

SafetyBench offers a fast, low-cost way to detect safety weaknesses across many categories and languages, helping teams find generation risks before user exposure.

Who Should Care

Summary TLDR

SafetyBench is a bilingual (Chinese/English) multiple-choice benchmark with 11,435 questions across 7 safety categories (offensiveness, bias, physical health, mental health, illegal activities, ethics, privacy). The format enables low-cost automated scoring. The authors evaluated 25 LLMs: GPT-4 leads (≈89% avg accuracy), many open models score well below 80%, and SafetyBench scores strongly correlate with safe generation (Pearson 0.99 constrained, 0.91 open-ended on sampled queries). The dataset, guidelines, and a leaderboard are released and include human validation and translation steps. The authors note translation noise, augmentation bias from ChatGPT, and API filtering for Chinese APIs.

Problem Statement

There is no single comprehensive, low-cost benchmark to measure many safety dimensions of LLMs across languages. Existing datasets target individual safety facets or single languages and either require costly manual labeling or weak automatic checks, slowing iterations on model safety.

Main Contribution

A bilingual multiple-choice safety benchmark (SafetyBench) with 11,435 human-verified questions spanning 7 safety categories.

An extensive evaluation of 25 popular LLMs in zero-shot and few-shot settings, showing gaps in safety understanding and generation.

Key Findings

SafetyBench size and coverage

Numbers11,435 multiple-choice questions across 7 safety categories

Practical UseUse this single dataset to test many safety axes in Chinese and English without building per-task tests.

Evidence RefAbstract; Section 3

GPT-4 leads other models on SafetyBench

NumbersZero-shot avg: GPT-4 89.2% vs gpt-3.5-turbo 80.4%

Practical UseExpect top commercial models to be noticeably safer on these multiple-choice safety checks; open models typically need further safety work.

Evidence RefTable 2; Section 4.3

Results

MetricValueBaselineDeltaSplit / DatasetEvidenceEvidence Ref
Accuracy89.2%Random 36.7%≈+52.5 ptsSafetyBench (zero-shot)Table 2; Section 4.3Table 2
Accuracy80.4%Random 36.7%≈+43.7 ptsSafetyBench (zero-shot)Table 2; Section 4.3Table 2

What To Try In 7 Days

Run SafetyBench on your model to get a quick safety baseline across 7 categories.

Prioritize fixes in categories where your model scores worst (e.g., bias or privacy).

Sample multiple-choice failures and check corresponding generated answers to reproduce real-world risky outputs.

Reproducibility

Code AvailableYes
Data AvailableYes
Open Source StatusYes
LicenseUnknown

Risks & Boundaries

Limitations

Possible missing safety domains (e.g., political content) and cultural divergences across languages.

Translation step can introduce noise and occasional label drift between Chinese and English.

When Not To Use

For adversarial red-teaming that targets jailbreaks and prompt injections, use specialized red-team suites instead.

For legal or jurisdiction-specific political safety assessments that require region-exact answers.

Failure Modes

Translation errors cause wrong or ambiguous options and must be manually checked.

Augmented examples can favor the model used for augmentation and skew per-category difficulty.

Core Entities

Models

GPT-4gpt-3.5-turbotext-davinci-003ChatGLM2ChatGLM2-liteinternlm-chat-7B-v1.1Baichuan2-chat-13BQwen-chat-7BLlama2-chat-13BVicuna-33BBaichuan-chat-13B

Metrics

AccuracyPearson correlation

Datasets

SafetyBenchCOLDCDial-BiasRedditBiasJigsaw Toxicity SeveritySafeTextScruplesMICMoral StoriesEthics

Benchmarks

MMLUAGIEval