SafeCalib: benchmarking security-critical refusal calibration in instruction-tuned language models
Fahad Hafeez
Key points
From the paper's conclusion- We instantiate the framework with SafeCalibBench, a 6,080-prompt benchmark covering malware generation, phishing, social engineering, network exploitation and chemical/biological misuse, with binary refusal labels, five adversarial intensity levels and legitimate-security-research hard negatives.
Abstract
Instruction-tuned large language models (LLMs) increasingly act as gatekeepers for security-sensitive and dual-use requests, yet most AI safety evaluations report refusal as a binary outcome. This leaves a deployment-critical question underexamined: whether a model separates harmful requests from legitimate security work reliably, and whether that separation survives adversarial framing. We introduce a refusal-evaluation framework comprising a two-sided, intensity-stratified error measure—Calibration-Adapted Expected Calibration Error (CA-ECE)—paired Overrefusal/Underrefusal Rate (ORR/URR) measurement, and Adversarial Calibration Shift (ACS), a statistic for how far underrefusal erodes as adversarial prompt framing intensifies. We state its scope explicitly: a refusal decision carries no confidence score, so CA-ECE is not a probability-calibration error but the fixed-weight average $$\tfrac{1}{2}(\bar{\textrm{URR}}+\bar{\textrm{ORR}})$$ , whose neutral value 0.5 is shared by any policy that always refuses or never refuses. We instantiate the framework with SafeCalibBench, a 6,080-prompt benchmark covering malware generation, phishing, social engineering, network exploitation and chemical/biological misuse, with binary refusal labels, five adversarial intensity levels and legitimate-security-research hard negatives. Evaluating four instruction-tuned LLMs and three base counterparts on a stratified 2,000-prompt subsample, with intervals from a base-prompt-level cluster bootstrap, we find a consistent tradeoff: instruction tuning reduces direct underrefusal by 58.9 percentage points on average relative to base models but raises overrefusal by 20.0 points (mean ORR $$=24.6\%$$ ). Base-model CA-ECE (0.506–0.518) lies within 0.02 of the content-independent baseline of 0.5, so their low overrefusal reflects indiscriminate acceptance; instruction-tuned models reach 0.336–0.443. Continuation framing raises underrefusal by up to 37.7 points relative to direct prompts, and refusal behaviour differs significantly across security domains ( $$p<0.01$$ ). All estimates carry a signed, asymmetric classifier bias that we characterise rather than assume away. SafeCalib reframes refusal evaluation from whether a model refused to how far its refusals separate harmful from legitimate use.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- MLCommons Jailbreak Benchmark v1.0arXiv · 2026
- Did the LLM Answer the Question? A Semantic Reconstruction Game for Jailbreak EvaluationarXiv · 2026
- Jev as an LLM Safety Guardrail: An Empirical Study of Input Filtering, Selective Output Review, and Over-RefusalarXiv · 2026
- Behavior Beyond Text: Evaluating Refusal Transfer Failure in LLM AgentsarXiv · 2026
- Refusal Is Not Robustness: Measuring Harmful Reachability in Autoregressive Language ModelsarXiv · 2026
- Recognition Without Enforcement: Configuration-Dependent Failures in LLM Agent Instruction Arbitration and External ControlarXiv · 2026