atlas

Research map / Large language models / Language, safety and interpretability

CASE-Bench: Context-Aware SafEty Benchmark for Large Language Models

ICML 2025 · Large language models › Language, safety and interpretability · approach: Safety alignment of LLMs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces CASE-Bench, a context-aware LLM safety benchmark with 900 query-context pairs (450 SORRY-Bench queries, two contexts each) built on Contextual Integrity theory and rated by ~2,000 crowd annotators, and evaluates LLMs and Llama-Guard-3-8B as safety judges.

Problem

Existing LLM safety benchmarks judge refusal of isolated queries and ignore the context in which a query occurs, leading to over-refusal in safe contexts and under-moderation in unsafe ones; it is unclear whether LLMs can make context-aware safety judgments that match humans.

Approach

Pair each SORRY-Bench query with formally specified safe and unsafe contexts derived from Contextual Integrity parameters (sender, recipient, transmission principle), collect 21 crowd judgments per query-context task sized by power analysis, and use the non-binary human ratings to evaluate LLM judges via accuracy, recall, PCC and BCE.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Include context in Llama-Guard-3-8B's input (ablation)Llama-Guard-3-8B · CASE-Benchaccuracy: 54.1% -> 60.1%Helped
Use direct score prompting instead of binary classificationClaude-3.5-sonnet · CASE-Benchaccuracy: 88.7% -> 90.1%Helped
Use direct score prompting instead of binary classificationDeepSeek-R1 · CASE-Benchaccuracy: 87.9% -> 88.6%Helped
Use direct score prompting instead of binary classificationGPT-4o · CASE-Benchaccuracy: 77.0% -> 78.6%Helped
Use direct score prompting instead of binary classificationGPT-4o-mini · CASE-Benchaccuracy: 82.0% -> 80.0%Hurt
Use direct score prompting instead of binary classificationLlama-3-70B-Instruct · CASE-Benchaccuracy: 86.6% -> 84.4%Hurt
Use normalized token probabilities instead of binary classificationLlama-3-70B-Instruct · CASE-Benchaccuracy: 86.6% -> 87.2%Helped
Use direct score prompting instead of binary classificationQwen2-72B · CASE-Benchaccuracy: 86.4% -> 84.7%Hurt
Use normalized token probabilities instead of binary classificationQwen2-72B · CASE-Benchaccuracy: 86.4% -> 81.6%Hurt
Use direct score prompting instead of binary classificationMixtral 8x7B Instruct · CASE-Benchaccuracy: 81.9% -> 83.1%Helped
Use normalized token probabilities instead of binary classificationMixtral 8x7B Instruct · CASE-Benchaccuracy: 81.9% -> 83.1%Helped
Use direct score prompting instead of binary classificationDolphin-2.9-Llama3-70B · CASE-Benchaccuracy: 82.6% -> 80.8%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: SORRY-Bench

Benchmarks: CASE-Bench

Metrics: accuracy recall Pearson correlation coefficient binary cross-entropy

Baselines: GPT-4o GPT-4o-mini Claude-3.5-sonnet DeepSeek-R1 Llama-3-70B-Instruct Qwen2-72B Mixtral 8x7B Instruct Dolphin-2.9-Llama3-70B Llama-Guard-3-8B

Builds on: SORRY-Bench Contextual Integrity theory

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy