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

arXiv:2406.14598 · 2026-07-27 공개 · arXiv · PDF

large-language-models model-evaluation instruction-tuning llm-as-a-judge llm-safety human-in-the-loop fine-grained-taxonomy safety-refusal

Abstract

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.

한국어 요약

한 줄 요약

SORRY-Bench는 LLM의 안전 거부 능력을 체계적으로 평가하기 위한 새로운 벤치마크로, 44개 주제, 8.8K 개의 언어 변형, 7K+ 인간 라벨을 기반으로 설계되었다.

핵심 기여도

핵심 아이디어

기존 안전 평가 데이터셋은 주제 분류가 과도하게 광범위하거나 특정 주제가 과대표현되는 문제가 있었다. 예를 들어, 자해 관련 지시문은 사기 활동에 비해 3배 이상 적게 포함되어 있었다. SORRY-Bench는 인간 참여를 통한 반복적 정제 과정을 통해 44개의 세분화된 안전 주제를 정의하고, 각 주제당 10개의 지시문을 포함한 440개의 균형 잡힌 데이터셋을 구축했다. 또한, 실제 사용자가 사용할 수 있는 다양한 언어적 표현 방식(예: 질문형, 약어, 암호화)을 고려하여 20가지 변형을 적용하여 8.8K 개의 추가 지시문을 생성했다. 이는 기존 평가가 특정 언어 스타일이나 문법에 의존하는 문제를 해결하는 핵심 전략이다.

기술적 접근법

주요 결과

의의 및 한계

SORRY-Bench는 기존 평가의 주제 불균형, 언어적 변형 무시, 고비용 평가 문제를 해결하며, LLM의 안전 거부 능력을 더 정확하고 균형 있게 평가할 수 있는 기반을 제공한다. 특히, 인간 참여를 통한 데이터셋 구축과 7B 규모의 모델을 활용한 저비용 평가 시스템은 실용적 가치가 높다. 그러나, 모든 언어 스타일이나 문화적 맥락을 포괄하기는 어렵고, 일부 주제에 대한 데이터 수집이 여전히 제한적일 수 있다.

실용적 활용

SORRY-Bench는 LLM 개발자들이 모델의 안전 거부 능력을 체계적으로 평가하고 개선할 수 있는 도구로 활용될 수 있다. 특히, 정책 준수 및 사용자 안전을 중시하는 산업(예: 금융, 정부, 교육)에서 모델의 안전성 검증에 유용하게 사용될 수 있다.