SafeCalib: benchmarking security-critical refusal calibration in instruction-tuned language models

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.

Authors

Institutions

Publication Details

Journal
AI and Ethics
Published
2026-11-24
DOI
https://doi.org/10.1007/s43681-026-01561-x
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

SafeCalib: benchmarking security-critical refusal calibration in instruction-tuned language models

Fahad Hafeez
1 links
AI and Ethics
Adversarial Robustness in Machine Learning
article

SafeCalib: benchmarking security-critical refusal calibration in instruction-tuned language models

Fahad Hafeez
article en

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.

AI and EthicsVol. 6(6)
Newcastle University (GB)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon