[Paper Review] SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal
SORRY-Bench is a comprehensive, fine-grained benchmark for evaluating large language models' safety refusal behaviors across 45 balanced, human-curated unsafe topics. It addresses limitations in prior benchmarks by incorporating linguistic variations, enabling efficient evaluation via fine-tuned 7B LLMs instead of costly GPT-4-scale models, and revealing distinct refusal patterns across models and risk categories.
Evaluating aligned large language models' (LLMs) ability to recognize and reject unsafe user requests is crucial for safe, policy-compliant deployments. Existing evaluation efforts, however, face three limitations that we address with SORRY-Bench, our proposed benchmark. First, existing methods often use coarse-grained taxonomies of unsafe topics, and are over-representing some fine-grained topics. For example, among the ten existing datasets that we evaluated, tests for refusals of self-harm instructions are over 3x less represented than tests for fraudulent activities. SORRY-Bench improves on this by using a fine-grained taxonomy of 44 potentially unsafe topics, and 440 class-balanced unsafe instructions, compiled through human-in-the-loop methods. Second, linguistic characteristics and formatting of prompts are often overlooked, like different languages, dialects, and more -- which are only implicitly considered in many evaluations. We supplement SORRY-Bench with 20 diverse linguistic augmentations to systematically examine these effects. Third, existing evaluations rely on large LLMs (e.g., GPT-4) for evaluation, which can be computationally expensive. We investigate design choices for creating a fast, accurate automated safety evaluator. By collecting 7K+ human annotations and conducting a meta-evaluation of diverse LLM-as-a-judge designs, we show that fine-tuned 7B LLMs can achieve accuracy comparable to GPT-4 scale LLMs, with lower computational cost. Putting these together, we evaluate over 50 proprietary and open-weight LLMs on SORRY-Bench, analyzing their distinctive safety refusal behaviors. We hope our effort provides a building block for systematic evaluations of LLMs' safety refusal capabilities, in a balanced, granular, and efficient manner. Benchmark demo, data, code, and models are available through https://sorry-bench.github.io.
Motivation & Objective
- To address the imbalance and coarse granularity in existing benchmarks for evaluating LLM safety refusal behaviors.
- To systematically evaluate the impact of linguistic variations—such as language, dialect, and prompt format—on model refusal performance.
- To develop a computationally efficient, accurate automated evaluator using fine-tuned 7B LLMs instead of relying on large models like GPT-4.
- To provide a unified, granular taxonomy of 45 unsafe topics to enable comprehensive and comparable safety evaluations across models.
- To reveal cross-category correlations and model-specific refusal behaviors across diverse risk categories.
Proposed method
- Developed a fine-grained 45-class safety taxonomy through a human-in-the-loop process to unify and expand upon existing, imbalanced taxonomies.
- Curated 450 class-balanced unsafe instructions (10 per category) using human-annotated, novel data to ensure equal coverage across all 45 topics.
- Generated 20 linguistic augmentations to test model refusal across diverse formats, including imperative, interrogative, and multilingual prompts.
- Designed and evaluated multiple LLM-as-a-judge configurations, identifying that fine-tuned 7B models achieve GPT-4-level accuracy at lower computational cost.
- Conducted a meta-evaluation using 7,000+ human annotations to validate automated evaluation strategies and ensure reliability.
- Used Pearson correlation to analyze cross-category performance relationships, identifying distinct refusal behaviors across risk categories.
Experimental results
Research questions
- RQ1How do different LLMs perform across a fine-grained, balanced set of 45 unsafe topics, and what patterns emerge in their refusal behaviors?
- RQ2To what extent do linguistic variations—such as question forms, dialects, and multilingual prompts—affect model refusal performance?
- RQ3Can fine-tuned 7B LLMs achieve safety evaluation accuracy comparable to GPT-4 while reducing computational cost?
- RQ4How do configuration factors like system prompts, prompt templates, and response prefilling influence model refusal rates?
- RQ5Which safety categories exhibit low cross-correlation in refusal performance, indicating distinct model vulnerabilities or behaviors?
Key findings
- The benchmark revealed that prior datasets significantly underrepresent critical topics like self-harm (nearly 3x less than fraud), highlighting a major gap in existing evaluations.
- Models showed markedly different refusal behaviors across categories, with 'Medical Advice', 'Legal Consulting Advice', and 'Intellectual Property Infringement' showing low cross-correlation (R < 0.75), indicating distinct risk profiles.
- Prefilling model responses with 'Sure, here is' increased unsafe instruction fulfillment by up to 53% across Llama models, demonstrating a strong jailbreak-like effect.
- Incorrect prompt templates caused up to 30% performance increase in refusal rates for Llama-2 and Gemma models, indicating sensitivity to formatting.
- Fine-tuned 7B LLMs achieved safety evaluation accuracy comparable to GPT-4, reducing computational cost while maintaining reliability.
- System prompts that emphasize safety reduced refusal rates by 1–16%, suggesting that even well-intentioned prompts can inadvertently weaken safety alignment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.