SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal Behaviors

Tinghao Xie, Xiangyu Qi, Yi Zeng, Yangsibo Huang, Udari Madhushani Sehwag, Kaixuan Huang, Luxi He, Boyi Wei, Dacheng Li, Ying Sheng, Ruoxi Jia, Bo Li, Kai Li, Danqi Chen, Peter Henderson, Prateek Mittal · DOI

Abstract

Large Language Models (LLMs) are increasingly deployed with safety guardrails to refuse harmful requests. However, existing safety benchmarks often lack granularity, linguistic diversity, and efficient evaluation methods. This paper introduces SORRY-Bench, a comprehensive framework featuring a 44-class safety taxonomy and 8,800 diverse prompts generated through linguistic mutations. By leveraging a fine-tuned 7B model as an automated judge, SORRY-Bench provides a scalable and accurate assessment of safety refusal behaviors across over 50 LLMs, revealing critical vulnerabilities in current alignment techniques.

Introduction

When a user asks an AI to perform an unsafe task—such as generating hate speech or providing instructions for illegal acts—the expected response is a firm refusal. This "refusal behavior" is the cornerstone of AI safety and alignment. However, evaluating how consistently models adhere to these boundaries has historically been difficult. Existing benchmarks often rely on coarse categories, ignore subtle linguistic variations, and require expensive manual or high-end model evaluation.

To address these challenges, researchers from Princeton, Virginia Tech, and Stanford have developed SORRY-Bench, a systematic framework designed to bring rigor and efficiency to the evaluation of LLM safety refusals.

The Limitations of Current Safety Benchmarks

The authors identify three primary "blind spots" in existing safety evaluation datasets:

  1. Coarse Taxonomies: Many datasets use broad, imbalanced categories. For instance, fraudulent activities are often overrepresented compared to risks like self-harm, and distinct harms are frequently lumped together under vague headings.
  2. Linguistic Fragility: A model might correctly refuse a direct command but fail when the same request is phrased as a question, includes misspellings, or is translated into a low-resource language.
  3. The Evaluation Bottleneck: Determining whether a response constitutes a "refusal" or "fulfillment" typically requires human annotation or expensive API calls to models like GPT-4, hindering large-scale testing.

The SORRY-Bench Framework

The researchers constructed SORRY-Bench by unifying 10 prior datasets into a balanced, human-refined taxonomy consisting of 44 fine-grained safety classes.

The SORRY-Bench 44-class safety taxonomy, categorized into Hate Speech, Crimes/Torts, Inappropriate Topics, and Unqualified Advice.

To rigorously stress-test models, the framework applies 20 linguistic mutations to base instructions. These mutations include variations in writing styles (e.g., slang, role-play), persuasion techniques (e.g., logical appeal), encoding (e.g., Morse code, ASCII), and multilingual translations (e.g., Tamil, French).

The 20 linguistic mutations used in SORRY-Bench to transform base unsafe instructions into diverse, challenging prompts.

Key Insights and Results

The Efficiency of Small Judges

A significant contribution of the paper is the meta-evaluation of automated judges. The authors found that a fine-tuned 7B model (based on Mistral-7B) achieves over 80% agreement with human labels—performance comparable to GPT-4o—while being significantly faster and cheaper to run.

Vulnerability to Persuasion and Language

The study reveals that simple linguistic shifts can act as "jailbreak-lite" techniques. Persuasion techniques, for example, increased the fulfillment rate of unsafe requests by 5% to 66% depending on the model. Furthermore, while top-tier models like GPT-4o maintain consistency across languages, many open-weight models are significantly more likely to fulfill unsafe requests when prompted in low-resource languages like Marathi or Tamil compared to English.

After benchmarking over 50 models, the researchers noted distinct safety profiles:

  • High Safety: Claude-2 and Gemini-1.5 showed the highest refusal rates, particularly in the "Hate Speech" and "Crimes" domains.
  • Permissive Models: Models such as the Mistral series and Dolphin-2.1 were found to fulfill more than half of the unsafe instructions, including those related to fraud.
  • Policy Evolution: The data suggests that "safety" is often a reflection of specific provider policies. For example, GPT-4o's increased permissiveness regarding adult content reflects updated guidelines that allow for educational or scientific discussions rather than a failure in alignment.

Conclusion and Future Directions

SORRY-Bench provides a scalable, standardized method for evaluating the robustness of LLM safety guardrails. While the current version focuses on binary (Refusal vs. Fulfillment) outcomes and "average-case" unsafe prompts, future iterations aim to quantify the degree of harm and incorporate more sophisticated adversarial attacks. By open-sourcing the taxonomy and the efficient 7B judge, the authors provide the community with essential tools to improve AI safety and transparency.

Summary updated

BibTeX
@misc{xie2024sorry,
  author = {Tinghao Xie and Xiangyu Qi and Yi Zeng and Yangsibo Huang and Udari Madhushani Sehwag and Kaixuan Huang and Luxi He and Boyi Wei and Dacheng Li and Ying Sheng and Ruoxi Jia and Bo Li and Kai Li and Danqi Chen and Peter Henderson and Prateek Mittal},
  title = {{SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal Behaviors}},
  year = {2024},
  eprint = {2406.14598},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.14598},
}
Figure