When Safety Blocks Sense: Measuring Semantic Confusion in LLM Refusals
Riad Ahmed Anonto, Md Labid Al Nahiyan, Md Tanvir Hassan
TL;DR
The paper tackles the mismatch between safety-focused refusals and local semantic stability in near-identical prompts. It introduces semantic confusion and ParaGuard, a curated 10k-prompt corpus of controlled paraphrase clusters, and proposes three token-level metrics—Confusion Index (CI), Confusion Rate (CR), and Confusion Depth (CD)—to diagnose neighborhood-level inconsistencies. By evaluating diverse models and guards, the work shows that global false-rejection metrics obscure structured patterns, including globally unstable boundaries and localized pockets of confusion, and demonstrates how confusion-aware auditing can separate how often a system refuses from how sensibly it refuses. The results provide practitioners with actionable signals to reduce false refusals while maintaining safety, through neighborhood-aware diagnostics and token-level analyses that generalize across guard architectures.
Abstract
Safety-aligned language models often refuse prompts that are actually harmless. Current evaluations mostly report global rates such as false rejection or compliance. These scores treat each prompt alone and miss local inconsistency, where a model accepts one phrasing of an intent but rejects a close paraphrase. This gap limits diagnosis and tuning. We introduce "semantic confusion," a failure mode that captures such local inconsistency, and a framework to measure it. We build ParaGuard, a 10k-prompt corpus of controlled paraphrase clusters that hold intent fixed while varying surface form. We then propose three model-agnostic metrics at the token level: Confusion Index, Confusion Rate, and Confusion Depth. These metrics compare each refusal to its nearest accepted neighbors and use token embeddings, next-token probabilities, and perplexity signals. Experiments across diverse model families and deployment guards show that global false-rejection rate hides critical structure. Our metrics reveal globally unstable boundaries in some settings, localized pockets of inconsistency in others, and cases where stricter refusal does not increase inconsistency. We also show how confusion-aware auditing separates how often a system refuses from how sensibly it refuses. This gives developers a practical signal to reduce false refusals while preserving safety.
