Skip to content

Latent safety probes: harmful input detection cannot verify behavioral safetyLatent Safety Probes: Harmful-Input Detection Does Not Validate Behavioural Safety

Wenkai Li, Fan Yang, Shaunak A. Mehta, Ananya Hazarika, Koichi Onoue
Fujitsu Research of America; Fujitsu Research
arXiv: Jailbreaks, Prompt Injection, Poisoning & DefensesarXiv:2611.38465Originally published Indexed by this site · 2 days agoSelected EvaluationSelectedAttention38

Quick read

Interpretability

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

The authors audit the latent safety probes of four open-source model families with eleven validation gates, and say the choice of comparator changes their apparent advantage.

Questions
Latent safety probes can identify harmful requests, but using them for behavioral evaluation still requires validating whether they can predict model responses; identifying a harmful input is not equivalent to a safe refusal.
Methods
The authors propose eleven validation gates that check prediction, white-box perturbation and causal mechanism respectively, and audit with a HARM/REF comparison and a new fixed-layer prompt-supervised reader across four model families and five scenarios.
Experiments and results
In archived S01, the probe's input and behavioral AUROC differences relative to the best fixed judge are +0.018 and −0.010 respectively; after the repair protocol, Llama's behavioral AUROC is 0.983, and the K.4 attack downgrades 10/10 tested S01 units.
Limitations and future work
The authors note that behavioral labels come from judges and may share errors, that archived splits contain duplicated content, and that the attack assumes access to gradients and activations. The main audit covers five scenarios, instruction-tuned models up to 12B, and two base controls.
Experimental setupLlama-3.1-8B-Instruct、Qwen3-8B et al. · HarmBench、SALAD-Bench et al. · AUROC、PA et al.
AI summaryand selection rationaleResearchers at Fujitsu Research propose an eleven-threshold validation contract, pointing out that harmful input detection by latent safety probes cannot verify behavioral safety. An audit of four instruction-tuned families—Llama, Qwen3, Mistral, Gemma—and five safety scenarios shows that the comparison baseline and evaluation protocol determine the probe's apparent advantage: in scenario S01 it leads the regex refusal baseline by +0.385 AUROC, while against the best post-hoc fixed safety judge the gap is +0.018 on input and −0.010 on behavior. A supplementary study using content-grouped splits finds that a trained fixed-layer, prompt-only behavior reader reaches 0.983 AUROC on judge-derived behavior labels on Llama, and 0.973 within harmful requests. White-box activation perturbations reverse the probe rankings of all 10 tested S01 units, and three intervention methods all fail the causal consistency threshold across the four families.

Researchers at Fujitsu Research propose an eleven-threshold validation contract, pointing out that harmful input detection by latent safety probes cannot verify behavioral safety. An audit of four instruction-tuned families—Llama, Qwen3, Mistral, Gemma—and five safety scenarios shows that the comparison baseline and evaluation protocol determine the probe's apparent advantage: in scenario S01 it leads the regex refusal baseline by +0.385 AUROC, while against the best post-hoc fixed safety judge the gap is +0.018 on input and −0.010 on behavior. A supplementary study using content-grouped splits finds that a trained fixed-layer, prompt-only behavior reader reaches 0.983 AUROC on judge-derived behavior labels on Llama, and 0.973 within harmful requests. White-box activation perturbations reverse the probe rankings of all 10 tested S01 units, and three intervention methods all fail the causal consistency threshold across the four families.

Why it was selectedThe paper proposes eleven validation thresholds, showing that probes identifying harmful requests is not equivalent to verifying behavioral safety, and that the choice of comparison baseline changes the apparent advantage.

Related events and news

1 events · 0 news mentions

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The core question is: can a latent probe that identifies harmful inputs serve as an effective measurement of model behavioral safety?

    Core question: Is the ability of latent safety probes to identify harmful requests sufficient to support the evaluation of model response safety?

    • Problem setting: Input moderation needs to identify harmful requests, whereas behavioral evaluation needs to predict whether a model produces an unsafe response. A model may recognize a request as harmful yet still refuse safely, so the two objectives cannot be conflated.
    • Gap in existing evidence: The authors argue that existing activation-reading research supports uses such as input moderation and refusal control, but when a reader is used as a behavioral measurement tool, the target, comparator and validation conditions must be specified simultaneously.
    • Core observation: In archived S01, the probe's PA relative to the post-hoc best fixed judge is +0.018 for input detection and −0.010 for behavior prediction; switching to regex refusal or a pooled judge changes the apparent advantage, so the authors treat comparator choice as an experimental variable.
    • Proposed scheme: The paper gives an actionable eleven-gate validation contract: eight gates check predictive validity, two gates check causal mechanism, and one gate reports bounded white-box pressure; prompt-behavior prediction is additionally validated separately with content-grouped splits and a new supervised reader.
    • White-box pressure boundary: K.4 tests direct activation access to HARM/REF scoring inputs, uses gradients, and does not change response text or its behavioral score; the authors state explicitly that this is not a token-level jailbreak, and private probe weights and token-constrained attacks are outside this threat model.
  2. What related research exists?

    Related work covers latent safety reading, probe effectiveness and safety evaluation; this paper focuses on a joint audit of targets and comparators.

    Latent safety and behavior monitoring

    • Latent Guard (Zhao et al., 2025): distinguishes harmfulness from refusal and compares the input reader with the guard; MLPM (Chrabaszcz et al., 2025) uses multi-layer latent prototypes to perform input moderation.
    • N-GLARE (Lin et al., 2026): studies model-level safety ranking; Khatri and Chan (2026) replicate harmful prompt classification and extraction consistency across model families.
    • Goldowsky-Dill et al. (2025) and Parrack et al. (2025): use linear probes to detect strategic deception and measure the increment of probe access relative to black-box monitoring, respectively. The authors state that this paper extends the measurement problem to input moderation, response prediction, causal intervention and activation-space stress.

    Probe effectiveness and intervention tools

    • Doda (2026) and Devbunova (2026): study read-location checks and benchmark format sensitivity, respectively; Jiang et al. (2026) study representational-layer fragility beneath safe outputs.
    • Arditi et al. (2024), Zou et al. (2023a) and others: provide refusal directions and representation-engineering intervention tools. The paper uses these works only as verification concerns or tool sources.

    Measurement validity and safety benchmarks

    • Yu et al. (2026), Joshi et al. (2026), Bai et al. (2026), Messick (1995): provide the basis for measurement validity, causal checks and deployment evaluation.
    • Mazeika et al. (2024), Li et al. (2024), Röttger et al. (2024), Zhang et al. (2024): provide safety outcome definitions and scenario data; Eiras et al. (2025) and others discuss LLM-judge validity.

    Comparators and data used in this paper

    • Comparators: archived S01 uses a 16-pattern regex refusal; the judge pool includes ShieldGemma-9B, Qwen3Guard-8B and Granite-Guardian-5B, and is also compared with the best fixed post-hoc judge.
    • Other baselines and data: include BERT-on-response, length/perplexity, MLPM, input embeddings and random features; the builder supports HarmBench, SALAD-Bench, JailbreakHub, JailbreakBench and Alpaca-cleaned/XSTest-safe.

    The authors position this paper as a joint audit of targets, comparators, robustness and causal evidence, rather than treating input moderation scores directly as evidence of behavioral safety.

  3. How does the paper address this problem?

    The method separates predictive, robustness and causal evidence with an eleven-gate contract, and rechecks behavior prediction with an independent content-grouped protocol.

    The overall idea is to make each safety measurement claim correspond to an observable test. The LATENT BENCH contract records target construction, comparator, coverage and post-preregistration modifications together, avoiding conflating input identification, response prediction and causal mechanism into a single conclusion.

    Paired targets and predictive advantage

    • For each sample, the latent probe L(x) reads activations and the behavioral baseline B(x,y) scores the prompt–response pair; both compute AUROC against the same held-out target G∈{0,1}.
    • The core definition is PA=AUROC(L,G)−AUROC(B,G), representing relative discriminative ability on the same target and sample set; a positive PA does not imply statistical equivalence or full validation.
    • Behavioral targets are generated by judges; leave-one-judge-out separates the comparator's score from its own vote, but the authors retain shared judge error as a target-validity issue.

    HARM/REF reader and the eleven gates

    • Following Zhao et al. (2025), the contrast score is ΔHR(x)=PHARM(x)−PREF(x); HARM predicts harmful requests and REF predicts regex refusal on greedy responses of at most 128 tokens, each isotonically calibrated.
    • The canonical corpus contains 4,000 balanced samples, split 2,800/600/600 into training, calibration and test; rows are repeatable and not semantically paired, so non-overlapping rows do not mean non-overlapping content.
    • The eight predictive hard gates are G-Data, G-Layer, G-Shortcut, G-Transfer, G-LengthControl, G-NaturalDist, G-InputOnly and G-PermutationNull; G-Obfuscation only reports white-box perturbation and sets no pass threshold.
    • Mechanistic claims additionally require G-Triangulation and G-Specificity; PASS, PARTIAL and FAIL mean passed within scope, coverage or qualification unresolved, and tested violation respectively, and untested is not treated as evidence.

    Scenarios, read locations and supervised reader

    • The five scenarios are S01 evaluation awareness, S03 jailbreak, S04 persona shift, S05 sycophancy and S07 code-switching; S02 and S06 are old numbering that was not evaluated.
    • Archived S01 sweeps four positions per layer: prompt midpoint, last prompt token, first generated token, and the mean of the first eight generated tokens; the contrast arm and direct supervised arm total 2,784 units.
    • The new behavioral reader freezes the target model, takes the hidden state at the last prompt token of a fixed layer, standardizes it, and predicts judge response labels with L2 logistic regression; inference occurs before response generation.
    • Probe implementations include MMD, LR, a two-layer MLP and partial CCS; the layer is selected by validation AUROC. Appendix F lists code default parameters but does not treat them as a reconstruction manifest for each archived run.

    Content-grouped recheck and pressure, causal tests

    • The post-submission S01 study fixes wrapper numbering, with 1,000 rows and 700 exact content groups per family, using five-fold outer and three-fold inner content-grouped splits; C is selected from {0.01,0.1,1,10} only on training folds.
    • Behavioral labels require three of four judges to vote unsafe and exclude the fixed Llama-Guard comparator; a label is determined only when all possible assignments of missing votes agree.
    • K.4 applies 20-step, label-targeted, L2-bounded PGD to canonical HARM/REF scoring inputs; when probe AUROC drops by at least 15 pp and the behavioral score changes within 5 pp, the latent-decisive unit is downgraded to tied.
    • G-Triangulation requires all three pairwise effect sizes among LR-steering, attribution patching and 1-D DAS to reach Spearman ρ≥0.6; G-Specificity checks specificity with a capability-loss band after directional ablation.
  4. What experiments did the paper conduct?

    Experiments show that the comparator changes the conclusions; the new protocol supports behavior prediction, but both white-box attacks and causal consistency checks triggered failures.

    Experimental setup

    • Models tested: The instruction-tuned models are Llama-3.1-8B-Instruct, Qwen3-8B, Mistral-7B-Instruct-v0.3 and Gemma-3-12B-IT; there are also descriptive controls Llama-3.1-8B-base and Qwen2.5-7B-base, and a scale check with Llama-3.1-70B-Instruct.
    • Audit scale: The archived audit covers 60 scenario–model–seed units; instruction-tuned verdicts cover 50 units, with three seeds each for the first three families, one seed for Gemma, across five scenarios.
    • Data and samples: S01/S04 have 1,000 prompts per condition, and the main comparisons for S03/S05/S07 use n=200 per condition; the S03 main table covers only 200 GCG-style block entries. The canonical contrast corpus is 4,000 balanced samples.
    • Metrics and statistics: PA is latent minus behavioral AUROC; archived intervals use 95% paired row bootstrap, with BH-FDR at α=0.05 over the grid. Duplicated content limits the row-independence assumption.
    • Judges and comparators: The agreement panel uses Llama-Guard-3-8B, Qwen2.5-72B-Instruct and Llama-3.3-70B-Instruct, computing Cohen's κ on an n=200 Llama subset per scenario; a mean below 0.6 flags target disagreement.
    • New protocol and external test: The new reader uses content-grouped folds and a fixed layer; the external test uses 400 unsafe and 400 safe prompts from the Aegis AI Content Safety Dataset 2.0 test split, with both the reader and TF-IDF fitted on S01 and then frozen.

    Main results

    Archived S01 comparator sensitivity is as follows, per Table 2; the probe is the oracle maximum over HARM-only MMD/LR/MLP on the evaluation set, and the judge is the label-free per-sample maximum over three preset judges.

    Swipe horizontally to read the table

    ModelInput ProbeInput JudgeBehavior ProbeBehavior Judge
    Llama-3.1-8B0.990.950.810.83
    Qwen3-8B0.990.950.920.88
    Mistral-7B0.950.940.840.90
    Gemma-3-12B1.000.770.760.75
    Mean0.980.900.830.84
    • Fixed-judge results: The post-hoc best fixed judges are ShieldGemma-9B for input (0.965) and Granite-Guardian for behavior (0.842), with probe differences of +0.018 and −0.010 respectively; the authors call these exploratory point estimates and do not establish equivalence.
    • All-scenario distribution: Across 60 archived units the mean PA is +0.027, with 25 latent wins, 13 operational ties and 22 behavioural wins; 40 units are significant under BH-FDR, of which 23 favor the probe and 17 favor the behavioral comparator.
    • Scenario exceptions: In Table 1, S01 mean PA is +0.385 but uses regex refusal; S05 is −0.241 with κ̄=0.44, and S07 is −0.217. S04 is +0.204 but is flagged for length confounding.

    Content-grouped behavior prediction and external transfer

    • Prompt-behavior prediction: In Table 22, native-chat S01 AUROC is Llama 0.983 [0.967,0.995], Qwen3 0.889, Mistral 0.899 and Gemma 0.938; all are new supervised readers at a fixed layer using the last prompt token.
    • Within harmful requests: The same reader's AUROC on the 500 harmful-input requests per family is 0.973, 0.850, 0.810 and 0.898 respectively; this is response discrimination within a single input category, not a new input classifier.
    • Frozen external input test: The four families' external input AUROC is 0.873–0.886, and frozen bare-content TF-IDF is 0.607; the authors limit this to cross-source input-prediction evidence, and response safety still requires response labels.

    White-box perturbation and cross-head transfer

    • K.4 results: On the n=200 S01 attack subset in Table 3, the 10 instruction-tuned units all have joint-arm AUROC of 0.000 at ε=0.3, with maximum drops of 38.8–70.3 pp, and 10/10 reach the downgrade rule; the two base controls were not attacked.
    • Score inversion: §5.2 reports joint-arm values of 0.000–0.002 at ε=0.1, HARM-only at most 0.07 at ε=0.1 and at most 0.04 at ε≥0.3; the authors state that near-zero AUROC indicates rank inversion, not information erasure.
    • Cross-head and exceptions: In Table 21, all six units containing same-layer substitute heads exceed the 15 pp downgrade threshold at ε=0.1; the N-GLARE reimplementation gives AUROC of 0.24–0.53 on four valid S01 units and is not included in the main baseline set.

    Causal consistency and capability specificity

    • Three-method inconsistency: Figure 4 and Table 12 show that strict three-way G-Triangulation fails in 4/4 model families; both pairs involving attribution patching have ρ in [−0.20,+0.05], not reaching ρ≥0.6 per pair.
    • Llama capability battery: Before and after directional ablation, MMLU 0.610→0.614, GSM8K 0.76→0.81, XSTest safe refusal 0.060→0.088, HumanEval-style 0.988→0.975 and MT-Bench-style proxy 0.926→0.893, all passing the locked one-sided loss band.
    • Qwen3 counterexample: Qwen3's GSM8K drops from 0.25 to 0.22, failing G-Specificity overall; Mistral and Gemma remain untested. The authors stress that prediction, capability specificity and causal-method consistency must be concluded separately.

    Other ablations and analyses

    • S04 length control: In Table 16, only Mistral's ∆HR minus Length-LR is +2.5 pp; the other three families are negative.
    • S07 retraining: In Table 15, ten-language HARM retraining changes the cross-family mean by −0.006 AUROC, with only Mistral at +0.033.
    • Read location: The maximum behavioral AUROC in the archived sweep is 0.941; the repeated-comparison change from best response read minus best prompt read is −0.003 to +0.009.
    • Offline cascade: The pre-attack S01 curve in Figure 3 retains 99% judge AUROC at 35% escalated; the authors note that accuracy and timing use different judge configurations.
    • Judge agreement: In Table 18, S05 has mean κ=0.436 and FAILs, while the other four scenarios pass with κ≥0.6; all three S01 pairs are 1.000 but are degenerate agreement.
    • Gate coverage: In Table 11, five of the eight predictive hard gates pass and three are PARTIAL; G-Obfuscation is only reported, with no pass determination.
  5. What are some points that can be further explored?

    The authors list limitations on targets, protocol and attack coverage; the experiments themselves also have explicit model and scenario boundaries.

    Limitations and future directions noted by the authors

    • Coverage and artefacts: The main audit covers only five scenarios, instruction-tuned families up to 12B, and two base controls; the paired input/behavior judge comparison and layer sweep target S01, and other misalignment requires separate evaluation (Limitations, Study coverage and artefacts).
    • Attack assumptions: White-box attacks require HARM/REF gradients and activation input access; private weights and token-level attacks are outside the threat model (Limitations, Study coverage and artefacts).
    • Archived protocol issues: Numbering correlated with labels, row-held-out splits duplicating content, raw completion and row-bootstrap dependence affect archived results; the repair study may still have near-duplicates, provenance cues and policy-definition differences (Limitations, Framing and content).
    • Targets and causal criteria: Behavioral labels are produced by judges, and shared errors require independent validation; triangulation is only an operational consistency criterion whose sensitivity needs calibration, and SAE-feature triangulation is left for future work (Limitations; Addendum G).
    • Human response labels: The human-agreement figure for the submitted version of S05 cannot be recovered and is excluded; generated responses require independent response-level validation and annotator metadata (Limitations, Independent response labels; Appendix D).
    • Selection and uncertainty: Archived probe architectures and the best fixed judge are both selected by evaluation results, with no selection-aware intervals; the repair study's intervals do not include retraining uncertainty or multiplicity correction, and external behavioral transfer still requires held-out response targets (Limitations, Selection and uncertainty).

    Experimental coverage

    • Models and scenarios: The main audit covers four instruction-tuned families, five scenarios and two base controls; S02 and S06 were not evaluated (§3; Limitations).
    • Scale check: The Llama-3.1-70B-Instruct check covers input readability and S07, but not behavioral probes at that scale (Limitations, Language, scale and provenance).
    • Capability specificity: The full battery is only Llama and Qwen3; Mistral and Gemma were not tested; the larger-judge sensitivity for S05 was also not run (Table 12; K.3).
    • Natural distribution and attacks: G-NaturalDist completed 4/8 benchmarks; K.4 covers 10 instruction-tuned S01 units, and the two base controls were not attacked (Table 11; §5.2).
    • Data provenance: Archived training mixture weights and dataset revision versions are unavailable; the completed human labels and annotator metadata for S05 are unavailable (§3; Appendix D).
  6. Summarize the main content of the paper

    The paper separately validates input identification, behavior prediction, robustness and causal explanation of latent safety probes.

    This is an audit of the measurement validity of latent safety probes: the authors argue that being able to identify harmful requests does not equal being able to predict unsafe responses, and that behavioral evaluation must specify the target, comparator and validation protocol together.

    • Method: The eleven-gate contract covers eight predictive hard gates, two causal gates and one white-box pressure diagnostic; the HARM/REF comparison, a new fixed-layer supervised reader and content-grouped splits correspond to different measurement claims.
    • Comparator effect: In archived S01, the probe's input PA relative to the post-hoc best fixed judge is +0.018 and its behavioral PA is −0.010; relative to the pooled judge the means are 0.98 vs 0.90 and 0.83 vs 0.84 (Table 2). The authors therefore treat comparator choice as an experimental variable.
    • Post-repair prediction: In native-chat S01, the Llama prompt-behavior reader's AUROC is 0.983, and 0.973 within harmful requests; the native-chat results for Qwen3, Mistral and Gemma are 0.889, 0.899 and 0.938 respectively (Table 22).
    • External input transfer: The frozen reader's AUROC on Aegis 2.0 external input labels is 0.873–0.886, and frozen TF-IDF is 0.607; the authors limit this to input-transfer evidence.
    • Pressure and causal results: K.4 brings 10/10 tested instruction-tuned S01 units to the downgrade rule; strict three-way triangulation fails in 4/4 families, and Qwen3 additionally shows a specificity failure on GSM8K of 0.25→0.22.

    The authors conclude that content-grouped validation supports prompt-behavior prediction under a specific protocol, but these results cannot replace independent response labels, white-box robustness and causal evidence; deployment cascades also still require timing matched to the configuration, held-out routing and unsafe-case recall measurement.

Research lineage

6 foundations · 0 follow-ups in library
Explore in knowledge graph →

Hover or focus a connected paper to inspect the citation context.

Read originalarxiv.org