Skip to content

The effect of system prompts on LLM safety lies more in response bias than in discriminabilitySystem Prompts Affect Response Bias More Than Discriminability in LLM Safety

arXiv: Dangerous Capabilities & Safety Evals· arXiv:2611.11074· Mohan W. Gupta, Sandy TanwisuthPrinceton UniversityIndexed by this site · 13 days ago· Originally publishedEvaluation

Quick read

Analysis and theory

Based on the paper PDF (AI-generated); refer to the original

The authors use signal detection theory to analyze the safety behavior of 13 models under 8 types of system prompts, and say system prompts mainly change refusal tendency rather than discrimination ability.

Questions
Safety evaluations usually look only at the compliance–refusal trade-off, but a change in refusal rate may stem from the model getting better at distinguishing safe/unsafe requests, or merely from a greater willingness to refuse; the authors ask which one system prompts actually change.
Methods
With benchmark items fixed, 8 prompt families × 3 clarity levels were crossed, signal detection theory was used to decompose refusal behavior into d′ and criterion, and an output-only LLM review assigned responses to 6 behavioral policies.
Experiments and results
d′ differs widely across the 13 models (0.98–4.08); prompt families and clarity have larger effects on criterion than on d′, and increasing clarity makes models more willing to refuse but does not reliably improve discriminability; prompt families also route responses to policies such as clarification and safe help.
Limitations and future work
The authors note: the review is output-only and cannot judge whether responses are correct; d′ depends on evaluation items, frontier models were tested only on small samples, and cross-model comparability of absolute d′ is limited; prompt families represent a single safety priority and do not cover multi-objective deployment scenarios. Human agreement involves only one annotator, n=105.
Experimental setupLlama-3.1-8B、Llama-3.3-70B et al. · HarmBench、XSTest et al. · discriminability (d′)、response criterion (c) et al.
Evaluated models
Llama-3.1-8BLlama-3.3-70BQwen-2-7BQwen-2.5-72BQwen-3.6-35B-A3BGemma-4-12BGemma-4-31BNemotron-3-Nano-4BDeepSeek-R1-Distill-Qwen-32BDeepSeek-R1-Distill-Llama-70BGPT-6-Astra (gpt-6-astra)Claude-Opus-5.5 (claude-opus-5-5)Gemini-3.1-Pro (gemini-3.1-pro-preview)
Benchmarks
HarmBenchXSTestIHEval
Metrics
discriminability (d′)response criterion (c)AUCCohen's κCramer's V
AI summaryResearchers used signal detection theory to evaluate 13 models on HarmBench, XSTest and IHEval, fixing the benchmark questions and crossing eight categories of safety task prompts with three levels of clarity, and found that system prompts mainly change models' willingness to refuse rather than improving their ability to distinguish safe from unsafe requests. Models differed markedly in discriminability, but system prompts had a smaller and less consistent effect on discriminability; increasing prompt clarity made models more willing to refuse but did not reliably improve their ability to discriminate. Besides refusal, prompt categories also shifted models' responses toward six behavioral strategies such as clarification and safe assistance.

Researchers used signal detection theory to evaluate 13 models on HarmBench, XSTest and IHEval, fixing the benchmark questions and crossing eight categories of safety task prompts with three levels of clarity, and found that system prompts mainly change models' willingness to refuse rather than improving their ability to distinguish safe from unsafe requests. Models differed markedly in discriminability, but system prompts had a smaller and less consistent effect on discriminability; increasing prompt clarity made models more willing to refuse but did not reliably improve their ability to discriminate. Besides refusal, prompt categories also shifted models' responses toward six behavioral strategies such as clarification and safe assistance.

Related events and news

0 events · 1 news mentions

News that mentions this paper

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors ask: do system prompts change the model's ability to distinguish safe/unsafe requests, or merely its refusal tendency.

    Core question: when the same request gets different responses under different system prompts, is what changes the model's discriminability or its response criterion.

    • Problem setting: the authors note that existing LLM safety evaluations mostly revolve around the compliance–refusal trade-off (refusing unsafe requests, not falsely refusing safe requests), but a rise in refusal rate may come from two different mechanisms: better discrimination, or merely a lower refusal threshold (correct refusals and false refusals both increase).
    • Shortcomings of existing methods: the authors argue that refusal rate alone cannot distinguish these two mechanisms; and standard evaluations often record behaviors such as clarification as "refusal," conflating different behaviors.
    • Core observation: the authors propose "prompt-conditioned task selection"—the same request is routed to different behavioral policies when the system prompt changes, not limited to refusal/compliance but also including clarification, safe help, hierarchy preservation, and source isolation.
    • Paper contributions: the authors build a controlled evaluation crossing 8 safety task prompt families with 3 clarity levels, evaluating 13 models on HarmBench, XSTest, and IHEval, using signal detection theory (SDT) to separate d′ and criterion, and classifying responses into 6 observable behavioral policies.
    • Findings reported by the authors: model identity has a large effect on d′, whereas system prompts mainly shift the refusal criterion, with a smaller and less consistent effect on d′; increasing prompt clarity makes models more willing to refuse but does not reliably improve discriminability.
  2. What related research exists?

    Related work falls into three groups: prompt sensitivity, safety evaluation beyond refusal, and applications of SDT to LLMs.

    Prompt sensitivity and system prompt control

    • ProSA (Zhuo et al., 2024) measures changes in response quality under different prompt phrasings; Liu and Chu (2026) analyze sensitivity to meaning-preserving prompts via internal representations and next-token probabilities.
    • Instruction hierarchy and prompt injection research (Wallace et al., 2024; Li et al., 2024) evaluates compliance under conflicting instructions; IHEval (Zhang et al., 2025) manipulates instruction strictness and hierarchy prompts; RealGuardrails (Mu et al., 2025) uses system prompts rewritten from deployed assistants.
    • The authors state that this paper is complementary to these evaluations: it crosses 8 safety priorities × 3 clarity levels, and does not ask whether models are consistent under equivalent prompts, but how behavior changes when system prompts specify different tasks.

    Safety evaluation beyond refusal

    • HarmBench (Mazeika et al., 2024) and SORRY-Bench (Xie et al., 2025) evaluate satisfaction of and refusal of harmful requests; XSTest (Röttger et al., 2024) and OR-Bench (Cui et al., 2025) examine over-refusal of benign requests.
    • Finer-grained response classification has precedent: XSTest distinguishes full refusal, partial refusal, and compliance, and Do-Not-Answer (Wang et al., 2024) defines six response actions; XSTest also shows that safety-oriented system prompts can increase both appropriate refusals and over-refusals.
    • This paper's classification distinguishes compliance, refusal, clarification, safe help, hierarchy preservation, and source isolation, which the authors state is used to measure separately the behavior requested by the prompt and the behavior exhibited by the response.

    Safety trade-offs, discriminability, and response bias

    • SDT distinguishes d′ and c (Stanislaw and Todorov, 1999; Wixted and Mickes, 2012).
    • Recent work applies this decomposition to factual-answer evaluation under temperature variation (Cacioli, 2026) and to models' prediction of their own refusal behavior (Gondil, 2026).
    • The authors state that this paper applies SDT to refusal behavior observed under controlled system prompt interventions, combined with six-policy analysis, without treating either as direct evidence of improvement in underlying safety capability.

    Positioning: the authors state that this paper provides a behavioral framework characterizing how system prompts affect safety-related task selection, rather than testing model consistency across equivalent prompts.

  3. How does the paper address this problem?

    Fix items and change only the system prompt, decompose refusal behavior with SDT, then characterize routing with six-policy classification.

    Overall approach: separate the behavior under test (output policy) from the prompt intervention (prompt family), fix the user query and change only the system prompt, use SDT to separate d′ and criterion, and use six output policy categories to measure task selection beyond refusal.

    Two classification systems

    • Output policies (6 categories): compliance, refusal, clarification, hierarchy preservation, safe help, source isolation (definitions in Appendix Table 2). The authors state that using a coarser output classification than the prompt families (6 vs. 8) is intentional, to avoid the routing analysis becoming trivial label matching.
    • Prompt families (8): Answer, Refuse, Clarify, Evidence, Hierarchy, Source Isolation, Safe Help, Transform, derived from the behaviors targeted by the benchmarks, behaviors described in model cards/system cards, and existing literature (Table 1).
    • Construction constraints: each category must correspond to a safety behavior that can be operationalized by a benchmark or prompt family; each category must be distinguishable from model output alone (a requirement of output-only review), and categories requiring intent inference were excluded or merged.

    Clarity manipulation

    • Three levels: vague (only names the safety priority), explicit (gives specific applicable conditions), explicit with fallback (adds a default action when uncertain) (Table 3).
    • Each prompt family × clarity condition has 3 wording variants, for 72 system prompts total, plus a no-prompt baseline, for 73 configurations in total.

    Experimental design

    • Fully crossed: 8 prompt families × 3 clarity levels × 3 variants × items from three benchmarks; items are fixed and only the system prompt varies, and the authors state that this within-item design allows routing differences to be attributed to the prompt context.
    • Items: HarmBench n=400 (harmful requests), XSTest n=450 (safe but sensitive + unsafe controls), IHEval with 2,520 safe subtask items from the aligned and conflict conditions (3,538 items in the full version); the full evaluation covers 3,370 items per configuration.
    • Models: 13 instruction-tuned models (10 open-source + GPT-6-Astra, Claude-Opus-5.5, Gemini-3.1-Pro). Open-source models were evaluated on 850 HarmBench+XSTest requests; frontier models were tested on only 28–30 XSTest requests due to inference cost.

    Review and SDT analysis

    • Blind review: the Llama-3.1-8B reviewer sees only model output, not the prompt; each response is independently reviewed by 3 rubric-equivalent variants, agreement or low-disagreement majorities pass automatically, and disagreements go to multi-reviewer arbitration (full review prompts given in Appendix D).
    • SDT setup: unsafe requests are the signal and refusal is the positive response; d′ = z(H) − z(FA) measures discriminability, c = −1/2[z(H)+z(FA)] measures refusal bias (lower c means more tendency to refuse); loglinear correction is used to avoid 0/1 rates.
    • Statistics: fixed-effects linear models fitted with model × prompt family × clarity as observations (312 condition-level observations), Type II ANOVA to test main effects, Tukey-corrected pairwise comparisons; policy routing used chi-square tests with Benjamini–Hochberg-corrected planned contrasts.
  4. What experiments did the paper conduct?

    13 models × 8 prompt families × 3 clarity levels; prompts affect criterion more than d′, and clarity only lowers criterion.

    Experimental Setup

    • Models tested: Llama-3.1-8B, Llama-3.3-70B, Qwen-2-7B, Qwen-2.5-72B, Qwen-3.6-35B-A3B, Gemma-4-12B, Gemma-4-31B, Nemotron-3-Nano-4B, DeepSeek-R1-Distill-Qwen-32B, DeepSeek-R1-Distill-Llama-70B, GPT-6-Astra, Claude-Opus-5.5, Gemini-3.1-Pro, 13 in total.
    • Benchmarks: HarmBench (n=400), XSTest (n=450), IHEval safety subtask 2,520 items; SDT analysis used 850 HarmBench+XSTest requests (600 unsafe, 250 safe), frontier models only 28–30 XSTest items.
    • Metrics: d′, criterion c, model implied AUC; policy distributions using chi-square, Cramer's V, planned contrast OR.
    • Review: Llama-3.1-8B-Instruct blind review, 3 times per response; mean pairwise κ=0.747, 75.1% agreed on first pass, 24.9% went to arbitration (Table 6).
    • Generation settings: open-source models temperature=0, max output 512 tokens; frontier models via Batch API (2026-10-08), 50 frozen items × 73 conditions per model.

    Main Results

    Model-level d′ and AUC (Appendix Table 4, d′ averaged over operating points of each prompt family):

    Modeld′AUC
    Gemini-3.1-Pro4.080.998
    GPT-6-Astra3.140.987
    Gemma-4-31B3.020.984
    Qwen-3.6-35B-A3B2.940.981
    Qwen-2.5-72B2.350.952
    Llama-3.1-8B1.790.898
    DeepSeek-R1-Distill-Qwen-32B1.180.798
    DeepSeek-R1-Distill-Llama-70B0.980.756

    (omitted Claude-Opus-5.5 2.88, Gemma-4-12B 2.82, Llama-3.3-70B 2.29, Nemotron-3-Nano-4B 2.11, Qwen-2-7B 1.82; frontier models are based on small samples, and cross-model comparability of absolute d′ is limited, see Question 5.)

    • Model identity: for d′, F(12,290)=258.0, partial ηp2=.914; for criterion, F(12,290)=395.0, partial ηp2=.942 (both p<.001).
    • Prompt family: small effect on d′ (F(7,290)=3.62, ηp2=.080), only Answer (2.46) higher than Evidence (2.25, p=.003) and Clarify (2.28, p=.022); larger effect on criterion (F(7,290)=16.61, ηp2=.286), Refuse lowest (c=.302), Answer highest (c=.553), and the direction is consistent across all 13 models.
    • Authors' interpretation: the authors hold that system prompts affect criterion more than d′, and more consistently; Figure 2 gives each model's refusal operating point and fitted ROC curve.

    Prompt families change output policy

    • What was measured: whether the six-policy distribution of 2,420,427 valid responses changes with prompt family.
    • Results: χ2(35)=136,533.90, p<.001, Cramer's V=.106; all six planned contrasts significant (corrected p<.001). Hierarchy prompts raised hierarchy preservation from 1.32% to 9.12% (OR=7.48); Clarify prompts raised clarification from 32.3% to 47.4% (OR=1.89); Refuse prompts raised refusal from 15.5% to 20.8% (OR=1.44); Answer prompts raised compliance from 43.0% to 49.0% (OR=1.27); Safe Help prompts raised safe help from 2.77% to 6.75% (OR=2.54); Source prompts raised source isolation from 0.23% to 0.96% (OR=4.17).
    • Authors' interpretation: the authors say prompt families systematically bias models toward their target policy, but do not deterministically select that policy.

    Effect of clarity

    • criterion: F(2,290)=33.67, p<.001, ηp2=.188; c fell from .506 for Vague to .435 for Explicit and .363 for Explicit with Fallback, all pairwise significant; direction consistent in 12 of 13 models.
    • d′: no significant effect, F(2,290)=2.01, p=.136; means Vague 2.36, Explicit 2.35, Fallback 2.41.
    • Policy distribution: χ2(10)=7018, p<.001, V=.038; compliance fell from 46.0% to 44.3%, 41.0%, refusal rose from 14.5% to 16.5%, 17.4%; family × clarity × policy interaction significant (χ2(70)=15,024.99), and the authors say the fallback rule does not consistently increase the target behavior for every prompt family.

    Other ablations and analyses

    • Subset robustness (Table 5): across all three subsets—all 13 models, the 10-model full set, and 28 matched items—the effect of prompt family on criterion was greater than on d′, and clarity significantly affected criterion but not d′ in every subset; absolute d′ estimates vary with subset.
    • Review consistency (Table 7): agreement by label ranged from COMPLIANCE 80.2%, CLARIFICATION 78.8% to SAFE_REDIRECTION 48.3%, SOURCE_ISOLATION 33.2%.
    • Human verification (Appendix E.12, Table 8): one annotator labeled 105 frontier-model responses, agreeing with automatic labels on 72 (68.6%, κ=.564); safe help matched only 5/27, source isolation 0/4; the authors say this reflects agreement with one annotator, not review accuracy.
  5. What are some points that can be further explored?

    The authors list limitations of the review, SDT and coverage; the experiments cover 13 models, three benchmarks and one human annotator.

    Limitations and future directions noted by the authors

    • Output-only review (Limitations): labels reflect only the visible behavior of the response and cannot determine whether the response is correct in the context of the original request (e.g., claiming to follow instruction priority but handling it incorrectly); κ=.747 measures only agreement among review prompt variants, which may share systematic error; results for policies with low agreement rates should be interpreted with caution.
    • Scope of human verification (Limitations, Appendix E.12): only one annotator, no inter-annotator agreement measured, and errors shared between the annotator and the reviewer cannot be ruled out.
    • Interpretive boundaries of SDT (Limitations): SDT measures discrimination of refusal behavior, not directly the ability to identify harmful requests; the ROC curve assumes equal-variance Gaussian SDT and is a descriptive summary rather than an empirical threshold sweep.
    • Sample coverage (Limitations): frontier models were tested only on a smaller XSTest sample, and d′ depends on the items tested, limiting direct comparison of absolute d′ across models.
    • Prompt families as a single priority (Limitations): deployed systems combine multiple objectives, dialogue history, retrieval, and tool outputs; the authors state that whether the conclusions generalize to these settings (including agentic workflows) is an open question, and future work should test whether prompt families and clarity still affect criterion more consistently than d′.
    • Mechanistic research (Discussion): the authors propose future work on whether these changes reflect differences in task representation or decision processes, and whether explanations generalize across settings; whether d′, criterion, and policy selection can be jointly optimized is also an open question.

    Scope of experimental coverage

    • Models tested are 13 instruction-tuned models (10 open-source, 3 proprietary frontier models).
    • Benchmarks are HarmBench, XSTest, and IHEval safety subtasks; the SDT analysis is based on 850 HarmBench+XSTest requests, with 28–30 XSTest requests for frontier models.
    • Prompt conditions are 8 prompt families × 3 clarity levels × 3 variants plus a no-prompt baseline, for 73 configurations in total.
    • Human agreement verification is one annotator and 105 responses, covering only the three frontier models.
    • The paper does not report human inter-annotator agreement beyond the reviewer model, nor the number of repeated samples per model × condition combination (generation was set to temperature=0).
  6. Summarize the main content of the paper

    The authors use SDT to decompose the refusal behavior of 13 models and state that system prompts mainly shift the refusal threshold rather than discriminability.

    An analysis paper that reexamines LLM safety evaluation using signal detection theory.

    • Problem: changes in refusal rates may come from better discrimination between safe and unsafe requests, or merely from a lower refusal threshold; evaluations that look only at compliance–refusal cannot distinguish the two, nor can they see behaviors such as clarification and safe help.
    • Method: fix benchmark items, cross 8 prompt families × 3 clarity levels (73 configurations), and evaluate 13 models on HarmBench, XSTest, and IHEval; use SDT to decompose refusal into d′ and criterion, and use blind-review LLMs to assign responses to 6 output policy categories.
    • Differences across models: d′ ranges from 0.98 for DeepSeek-R1-Distill-Llama-70B to 4.08 for Gemini-3.1-Pro (Table 4); model identity has a partial ηp2=.914 for d′.
    • Prompt families: the effect on criterion (ηp2=.286) is larger than on d′ (ηp2=.080); Refuse prompts give c=.302 and Answer prompts give c=.553, with the same direction across all 13 models.
    • Clarity: criterion drops from .506 for Vague to .363 for Explicit with Fallback, while d′ is 2.36/2.35/2.41 across the three levels with no significant difference; the authors state that increasing clarity makes models more willing to refuse but does not reliably improve discriminability.
    • Policy routing: prompt families route responses to the target policy (e.g., under Clarify prompts, clarification rises from 32.3% to 47.4%); the authors state that this constitutes a behavioral framework for characterizing how system prompts affect safety task selection, and suggest evaluating candidate system prompts by d′, criterion, and policy selection rather than refusal rate alone.
Read originalarxiv.org