Rethinking LLM Jailbreak Evaluation: A Continuous Risk Landscape Beyond Binary OutcomesRethinking LLM Jailbreak Evaluation: Continuous Risk Landscapes Beyond Binary Outcomes
The authors propose a continuous risk landscape over first-token branches to replace binary ASR, reporting that on Gemma 3, 53.1% of top-1 observed-safe prompts harbor high-risk branches within the top-100.
- Jailbreak evaluation follows the binary success metric (ASR) of discriminative tasks, but LLMs generate a distribution of trajectories, and a single sample exposes only one path; the authors argue this obscures the risk structure around generation branches.
- Fix candidate first tokens and repeatedly sample continuations to estimate the conditional harmful probability of each branch, forming a continuous risk landscape; DHS measures current exposure, AHS and basin density diagnose safe rerouting capability, and these are used for attack mechanism classification, defense-aware selection and DGBF attack construction.
- The authors report: among clean prompts that are top-1 observed-safe, 34.5%–68.1% harbor high-risk branches within the top-100 (CHBR@100); the three models exhibit three different compositions of attack mechanisms; defense-aware selection raises post-rerouting DHS on Gemma 3 from 0.5654 to 0.8669; DGBF achieves top-1 ASR of 0.7955 on Gemma 4.
- The authors note that the top-100×100 protocol requires up to 10,000 generations per prompt and is a measurement protocol rather than a direct substitute for large-scale benchmarks; future work is more query-efficient landscape exploration. Experiments cover 3 target models, JBB-100, and 9 fixed transformations, with a single frozen Qwen3.8-27B-FP8 judge.
- Threat model
- The evaluator requires first-token logit access to the target model and controlled prefill capability, with a frozen Qwen3.8-27B-FP8 judge; the diagnostic rerouting defense is known (β=32, 16 probes per token), and the DGBF attacker uses Qwen3.8 to generate rewrites and searches on Gemma 4.
- Evaluated models
- Gemma-3-12B-itGemma-4-31B-itQwen3.8-27B
- Benchmarks
- JailbreakBench(JBB-100,100 条有害行为)
- Metrics
- DHSAHSBasin DensityCHBR@Ktop-1 ASRAdaptive DHS
Researchers Yukai Zhou and Wenjie Wang propose evaluating LLM jailbreaks with a continuous, context-dependent risk landscape, to compensate for the way binary attack success rates obscure the structure of possible generations. The method fixes candidate openings at the first-token branch and repeatedly samples their subsequent generations to estimate risk, revealing two properties, the decoder's current exposure and its safety rerouting capacity, and providing a common basis for comparing clean prompts, attacked variants, and attack strength against known adaptive defenses. Across multiple target models and jailbreak attacks, the authors find that risk branches persist beneath seemingly safe outputs, that different attacks reshape the model's opening distribution in qualitatively different ways, and that the strongest attack before a defense takes effect is not necessarily still the strongest after an adaptive defense responds. The authors say this perspective recasts jailbreaking as a deformation of the surrounding continuation risk landscape, providing a more informative basis for understanding jailbreak behavior and developing safer language models.
Related events and news
1 events · 1 news mentions
News that mentions this paper
周报:预训练投毒可植入智能体后门
- 公众号 大模型安全研究cites the paper's id or link大模型安全周报:首次证明预训练投毒可植入远程代码执行后门,技能供应链成为攻防主战场
Rethinking LLM Jailbreak Evaluation: Continuous Risk Landscapes Beyond Binary Outcomes(https://arxiv.org/abs/2610.38595)
Paper analysis
What problem does this paper attempt to solve?
The authors argue that binary ASR obscures the risk structure of generation branches and propose a continuous first-token risk landscape as an alternative representation.
Core problem: the binary response metric (ASR) used in jailbreak evaluation cannot characterize the branching risk structure in the distribution of LLM-generated trajectories.
- Problem setting: In discriminative adversarial evaluation, each input corresponds to a single prediction, so a binary success metric naturally applies; but jailbreak prompts induce an open-ended trajectory distribution, and a single sample exposes only one path (Section 1).
- Shortcomings of existing methods: The authors argue that ASR averages the judge labels of a single sample, compressing two opposite safety states—"high risk but with safe branches" and "superficially safe but dominated by high-risk branches around it"—into the same result, and cannot reflect how attacks reshape candidate continuations or which attack remains strongest after adaptive defenses.
- Core observation: The authors cite prior work stating that safety behavior is concentrated in early decoding and that affirmative or prefilled openings can steer subsequent generation, so the first token is an informative intervention slice (not a sufficient statistic of the full response).
- What the paper proposes: Fix candidate first tokens and repeatedly sample continuations to estimate the conditional harmful probability of each branch, forming a continuous risk landscape; derive metrics such as DHS, AHS, basin density and CHBR@K, and use them for attack mechanism classification, defense-aware attack selection and DGBF attack construction.
- Evaluation setting (atypical attack threat model):
- The evaluator needs first-token logit access to the target model and controlled prefill capability, without intervening on subsequent tokens (Section 3.1).
- The judge is a frozen Qwen3.8-27B-FP8 attempted-compliance judge (Section 3.5).
- The parameters of the diagnostic rerouting defense are known to the attack selection (β=32, 16 probes per token, Section 3.3).
- In DGBF, the attacker uses Qwen3.8 to generate rewrites and performs a limited-budget search on Gemma 4 (Appendix F).
What related research exists?
Related work falls into four groups: binary jailbreak evaluation, jailbreak attack mechanisms, early-token safety and decoding interventions, and adaptive evaluation.
Binary adversarial success and jailbreak evaluation
- Szegedy et al. (2013), Goodfellow et al. (2014)—adversarial examples in image classification define success by whether the predicted class changes, the origin of binary metrics.
- Chao et al. (2024), Mazeika et al. (2024), Souly et al. (2024)—jailbreak benchmarks judge sampled outputs and aggregate them into ASR; Cai et al. (2024), Chu et al. (2025a; 2026b) study stronger judges and benchmark quality.
- Beyer et al. (2026)—ASR@N captures failures that appear only after repeated decoding. The paper notes that these works ask "whether a harmful response occurs," whereas this paper's landscape preserves "which controlled branch carries the risk."
Jailbreak attacks and their mechanisms
- Zou et al. (2023), Chao et al. (2025), Mehrotra et al. (2024), Andriushchenko et al. (2024), Liu et al. (2025)—attacks ranging from handcrafted role-play and format transformations to optimized suffixes and iterative prompt search.
- Chu et al. (2026a)—context-sensitive responses to user-provided harmful content, which the authors say motivates this paper's focus on attack-induced risk on first-token branches.
Early-token safety and decoding interventions
- Qi et al. (2024)—safety alignment may be shallow, with refusal behavior concentrated at the start of generation.
- Zhou et al. (2025), Li et al. (2025), Zhu et al. (2024)—attacks benefit from controlling affirmative openings and suppressing subsequent refusals.
- Jain et al. (2023), Robey et al. (2023), Wei et al. (2023b), Zhao et al. (2026)—defenses that perturb inputs, guard context or reweight decoding; Wang et al. (2026)'s JULI learns a logit bias from target-model token probabilities. The authors say this paper's diagnostic decoder likewise intervenes on first-token logits, but to test safe rerouting capability, not as a deployable defense.
Adaptive evaluation and defense-aware attacks
- Nasr et al. (2025)—the "attacker moves last" perspective: fixed attacks unaware of the defense overestimate robustness.
- Chao et al. (2025), Liu et al. (2025)—iterative black-box prompt search; the paper notes they do not directly characterize residual risk under rerouting interventions.
Comparison baselines and benchmark: The attack controls are 9 fixed prompt transformations (affirmative prefix, AIM roleplay, Base64, JSON format, learning style, low-resource language, past tense, prefix injection, refusal suppression), and the benchmark is 100 harmful behaviors from JailbreakBench (JBB-100). The authors position this paper as: the landscape is complementary to ASR, providing a generative representation that supports policy reweighting, clean–attack paired analysis and defense-aware selection.
How does the paper address this problem?
Fix the first token and sample continuations to estimate branch risk, construct a continuous landscape, and derive metrics such as DHS/AHS along with diagnostic, selection, and attack procedures.
Overall idea: rather than replacing the binary judge J, change the representation it observes—estimate the conditional failure probability for each controlled first-token branch, analyze the branch risk field {h_x(v)}, forming a continuous branch-risk landscape.
From binary metrics to branch risk
- The decoder decomposes into a first-token distribution π_D and subsequent rules D≥2; conventional ASR is the average of the response-level indicator J(Y_i) (Equation 2).
- Take the K tokens with the largest unmodified first-token logits to form T_K(x); for each v, force Y_1=v and sample subsequent tokens according to D≥2.
- Branch risk hx(v) = Pr[J(Y)=1 ∣ X=x, Y1=v, D≥2], estimated by the judge mean over m_v valid continuations; h_x(v)≥τ (default τ=0.5) is called a high-risk branch.
- The landscape object L_K(x) records each candidate's logit, temperature, and top-p prior probability along with empirical risk; all quantities are conditioned on the context and decoding protocol, not intrinsic labels of the token string.
Exposure and safe rerouting capability
- DHS: DHSD@K(x) = ∑v πD,K(v|x) hx(v), the branch risk weighted by the evaluated decoder's first-token distribution; when K is finite it is an approximation over the tested support, not an upper bound on full-vocabulary risk.
- AHS and basin density: AHS is the equal-weighted mean of top-K branch risks, and basin density is the proportion of high-risk branches; both diagnose safe rerouting capability within the top-K but do not alone determine defense outcomes.
- CHBR@K: Among prompts whose top-1 branch is observed-safe (empirical risk of 0), the proportion with at least one high-risk branch within the top-K; a finite-sample zero does not mean the true risk is zero.
Landscape-based diagnostics
- Diagnostic rerouting: Using the Jeffreys estimate h̃_def=(c+1/2)/(n+1), change the logit to ℓ′=ℓ−β·h̃_def and then reapply temperature and top-p; default β=32, with 16 probes per token for the defender. Selection, defense estimation, and held-out evaluation use mutually disjoint continuation splits. The authors explicitly state this is a diagnostic tool, not a deployable defense.
- Opening source classification: Compare high-risk attack top-1 tokens with paired clean top-100 by token ID and risk, classifying into pre-existing risk exploitation, conditional risk activation, and candidate-set replacement; the authors emphasize this is an observable landscape mechanism, not a causal decomposition.
- Defense-aware selection: Within the same attack pool, policy-risk selection maximizes pre-rerouting risk, and defense-aware selection maximizes post-rerouting residual risk; selection is done per behavior, and generalization to unseen behaviors is not tested.
DGBF and judging
- DGBF (Distribution-Guided Basin Flooding): Alternates instruction-constrained candidate proposal, low-budget landscape estimation, and landscape-conditioned mutation; feedback includes post-rerouting residual risk F_def, AHS, and basin floor (the 10th percentile of branch risk). Frozen rewrites are evaluated on a full landscape independent of screening. The authors describe it as a limited-budget adaptive red-teaming pressure method.
- Judging: A frozen Qwen3.8-27B uses the same judge prompt to make an attempted-compliance judgment (1–5 scale, 4–5 counted as jailbreak success) for each continuation; Appendix G gives the full judge rubric.
What experiments did the paper conduct?
Three target models, JBB-100, 9 transformations, top-100×100 continuations per prompt, validating hidden risk, rerouting capability, attack mechanisms, and defense-aware selection.
Experimental setup
- Target models: Gemma-3-12B-it, Gemma-4-31B-it, Qwen3.8-27B; there is also an incomplete Llama set containing only 57 affirmative-prefix prompts, excluded from all cross-target comparisons (Appendix A.1).
- Benchmark and conditions: 100 harmful behaviors from JailbreakBench (JBB-100), each with 1 clean request plus 9 fixed attack transformations, for 10 conditions total; every model–condition pair has all 100 behavior profiles.
- Landscape construction: For each prompt, force the top-100 first tokens and sample 100 continuations each; generation parameters temperature 0.8, top-p 0.95, at most 384 new tokens (Appendix A.1).
- Judging: A single frozen Qwen3.8-27B-FP8 attempted-compliance judge with a unified prompt and parsing rules; the authors note this does not establish judge-independent harmfulness.
- Metrics: DHS (decoder-weighted exposure), AHS, basin density, CHBR@K, top-1 ASR, Adaptive DHS; high-risk threshold τ=0.5.
- Repeats and splits: Diagnostic rerouting averages 20 matched continuation splits per profile; selection experiments use 100 behaviors×20 splits=2,000 paired instances per target (Appendix E.1).
Main results
According to Table 1 (envelope analysis taking the max pre/post DHS over the 9 attacks per behavior and then averaging over JBB-100):
Swipe horizontally to read the table
Target Basin Density AHS Pre DHS Post DHS Relative DHS reduction Gemma 3 92.90% 0.9069 0.9765 0.8854 9.3% Gemma 4 87.90% 0.8694 0.8839 0.6468 26.8% Qwen 3.8 40.19% 0.4197 0.4386 0.0575 86.9% - The authors state that Qwen 3.8's lower basin density co-occurs with the 86.9% relative risk reduction, with low density leaving more below-threshold candidates as rerouting destinations; they emphasize that this association is conditioned on the stated prompts and decoder, and is not a causal law or a proof of robustness.
- Before and after rerouting under the same attack (Appendix Figure 5, 900 profiles per target): mean DHS drops from 0.468 to 0.234 (Gemma 3), 0.234 to 0.119 (Gemma 4), and 0.079 to 0.010 (Qwen 3.8).
Hidden risk under observed-safe openings
- What was measured: The change in CHBR@K as the inspected neighborhood expands from top-1 to top-100 (Figure 2), conditioned on clean prompts whose top-1 branch has no observed harmful continuations.
- Results: CHBR@100 is 53.1% for Gemma 3, 68.1% for Gemma 4, and 34.5% for Qwen 3.8; the endpoint denominators are 64, 94, and 87 respectively (Appendix B).
- Authors' interpretation: A top-1 branch with zero observed harmful continuations can still coexist with high-risk branches, which response-level labels cannot expose.
Three opening mechanisms of attacks
- What was measured: High-risk attack top-1 openings (ĥ≥0.5) are compared and classified against paired clean top-100, aggregated over the 9 transformations (Figure 3, Table 5).
- Results: Gemma 4 is dominated by candidate-set replacement (75.6%, n=209); Qwen 3.8 by conditional risk activation (56.7%, n=67); Gemma 3 is more mixed: 18.8% pre-existing, 38.2% conditional, 43.0% replacement (n=416).
- Authors' interpretation: Response-level metrics give these openings the same label, whereas the paired landscape can distinguish their sources; the authors emphasize this is an observable mechanism, not a causal decomposition, and candidate-set replacement only means not within the tested clean top-100.
Defense-aware selection reorders attack strength
- What was measured: Within the same 9-attack pool, policy-risk and defense-aware selection are performed per behavior, comparing pre- and post-rerouting DHS on held-out continuations (Table 2).
- Results: On Gemma 3, defense-aware selection accepts a lower pre-rerouting DHS (0.9133 vs. 0.9712) but retains a higher post-rerouting DHS (0.8669 vs. 0.5654); Gemma 4 is in the same direction (0.7378/0.8815, 0.6378/0.4781); on Qwen 3.8 both have low residual risk (0.0437 vs. 0.0372).
- Rank perturbation: Mean rank correlation is 0.585–0.791, and attacks move on average 0.79–1.52 positions; among 2,000 paired instances per target, the proportion with non-overlapping optimal sets is 14.1% for Gemma 3, 13.2% for Gemma 4, and 30.4% for Qwen 3.8 (Table 7).
- Authors' interpretation: The strongest attack before rerouting is not necessarily the attack that retains the most risk after intervention; the Qwen result is sensitive to probe budget, and the authors do not present it as a large adaptive-selection gain (Appendix E.2).
DGBF landscape-guided attacks
- What was measured: DGBF searches for new rewrites using residual risk and basin geometry feedback, and after freezing is evaluated on Gemma 4 with independently sampled top-100×100 continuations (Table 3).
- Results: DGBF's Direct top-1 ASR is 0.7955, Direct DHS 0.7949, Direct AHS 0.8896, Adaptive DHS 0.3974; the strongest fixed attack learning style corresponds to 0.6326, 0.6279, 0.7095, 0.3961; clean prompts are 0.0351, 0.0354, 0.1424, 0.0112.
- Authors' interpretation: Attacks guided by landscape feedback maintain strength under both direct generation and adaptive rerouting; the authors also note this does not establish an advantage over per-behavior oracle envelopes, unbounded adaptive attackers, or unseen-behavior threat models (Appendix F.2).
Other ablations and analyses
- Probe budget (Table 6, varying the number of attack-selection probes with the defender fixed at 16 probes): On Qwen 3.8, only at 16 attack probes does the ranking favor the defense-aware objective (0.0437 vs. 0.0372); at 4 probes it is 0.0179 vs. 0.0336.
- DGBF search composition (Appendix F.1): Of 100 frozen prompts, 35 are parent rewrites, 26 are transfer mutations, and 39 are Gemma-specific mutations; 22 behaviors use deterministic fallback.
- DGBF budget: Per behavior, 1,760 target continuations are used for search on Gemma 4, plus 1,280 screening continuations on Qwen3.8; independent validation uses 10,000 Gemma 4 continuations per behavior.
- Cross-judge validation: The independent Gemma 3 judge covers only the first 10 pilot behaviors and does not include JBB-100-scale experiments (Appendix F.1).
What are some points that can be further explored?
The authors note that the landscape protocol is costly and is a measurement protocol rather than a benchmark substitute; experiments cover three target models and a single judge.
Limitations and future directions noted by the authors
- High cost: The authors note that the top-100×100 protocol requires up to 10,000 generations per prompt, rather than a single realized trajectory, and the extra information is costly (Section 5).
- Positioned as a measurement protocol: The authors state that the current estimator is a measurement protocol, not a direct substitute for large-scale benchmarks (Section 5).
- Future directions: Landscape exploration that is more query-efficient and information-dense through adaptive branch allocation, uncertainty-aware stopping, or reusable risk estimators (Section 5, expressed by the authors as future work should).
- Judge dependence: A single frozen judge improves within-paper comparability but does not establish judge-independent harmfulness; the profile is implicitly indexed by the target checkpoint, prompt template, continuation decoder, response budget and judge (Appendix A.1).
- Boundaries of the DGBF claim: Even if DGBF exceeds each individual fixed attack, it does not establish an advantage over a per-behavior oracle envelope, an unbounded adaptive attacker, or threat models for unseen behaviors (Appendix F.2).
- Boundaries of the mechanism taxonomy: The three opening mechanisms are observable landscape mechanisms rather than a causal decomposition; pre-existing does not assert a probability increase, and conditional does not separate which subsequent conditional distribution causes the threshold crossing (Appendix D).
Scope of experimental coverage
- The target models tested are Gemma-3-12B-it, Gemma-4-31B-it and Qwen3.8-27B, 3 in total; the incomplete Llama set (57 affirmative-prefix prompts) was excluded from cross-target comparisons (Appendix A.1).
- The benchmark is 100 behaviors from JailbreakBench, and the attacks are 9 fixed prompt transformations, which the authors describe as a controlled combination rather than an exhaustive jailbreak set (Section 4.1).
- The judge is a single frozen Qwen3.8-27B-FP8; the independent Gemma 3 judge covers only the first 10 pilot items of DGBF (Appendix F.1); the paper does not report judge–human agreement.
- Diagnostic rerouting uses β=32 and 16 probes per token for the defender; the selection experiment uses 2,000 paired instances per target and 20 random splits (Appendix E.1).
- The selection experiment is a within-behavior, same-pool comparison and does not test generalization to unseen behaviors (Section 3.3); DGBF's final comparison tests attack effectiveness under the stated budget, which the authors explicitly say is not a query-efficiency claim (Appendix F.1).
Summarize the main content of the paper
A continuous first-token risk landscape replaces binary ASR, exposing hidden risk, distinguishing three attack mechanisms, and supporting defense-aware red teaming.
A jailbreak evaluation methods paper: the authors argue that binary ASR is a representation inherited from discriminative adversarial evaluation and does not match the trajectory distribution generated by LLMs, and propose a continuous risk landscape sliced by first-token branches.
- Method: For each of the top-100 candidate first tokens, force it as the opening and sample 100 continuations, using a frozen judge to estimate the branch conditional harm probability; derive DHS (exposure of the current decoder), AHS and basin density (safe rerouting capability), and CHBR@K (hidden risk), and use them for attack mechanism classification, defense-aware selection, and DGBF attack construction.
- Hidden risk: Among clean prompts that are top-1 observed-safe, CHBR@100 reaches 53.1% on Gemma 3, 68.1% on Gemma 4, and 34.5% on Qwen 3.8 (Figure 2); the authors state that high-risk branches can hide beneath apparently safe openings.
- Rerouting capability: Under diagnostic rerouting, Qwen 3.8 shows an 86.9% relative DHS reduction, higher than Gemma 3's 9.3% and Gemma 4's 26.8%, co-occurring with its lower basin density (40.19%) (Table 1).
- Attack mechanisms: High-risk attack top-1 openings fall into three observable mechanisms, whose composition varies by model—Gemma 4 is dominated by candidate-set replacement (75.6%), Qwen 3.8 by conditional risk activation (56.7%) (Table 5).
- Defense-aware selection: On Gemma 3, the held-out post-rerouting DHS of defense-aware selection is 0.8669, higher than the 0.5654 of policy-risk selection; the authors state that the strongest attack before rerouting is not necessarily the strongest after defense (Table 2).
- DGBF: Rewrites constructed with landscape feedback achieve Direct top-1 ASR 0.7955 and Adaptive DHS 0.3974 on Gemma 4, JBB-100, higher than the strongest fixed attack learning style's 0.6326 and 0.3961 (Table 3).
- Authors' conclusion: Within the stated evaluation scope, going beyond binary ASR provides a more informative basis for understanding jailbreak behavior; they also note that the protocol requires up to 10,000 generations per prompt and is a measurement protocol, not a substitute for large-scale benchmarks.
Related papers
Show 3 more papers
- Chain-of-Thought HijackingAttacksarXiv