Manuscript Offprint

arXiv:2610.38595

Rethinking LLM Jailbreak Evaluation: Continuous Risk Landscapes Beyond Binary Outcomes

Yukai Zhou, Wenjie Wang

ABSTRACT

A binary success indicator is a natural representation for discriminative tasks such as image classification under adversarial perturbations, where each input is mapped to a single prediction. However, generative tasks are fundamentally different: an LLM jailbreak prompt induces a distribution over open-ended trajectories, while a sampled response reveals only one path. Yet LLM jailbreak evaluation typically retains the binary response indicator underlying attack success rate, obscuring the surrounding structure of possible generations. We introduce a continuous, context-conditioned risk landscape over first-token branches, estimated by fixing candidate openings and repeatedly sampling their continuations. This continuous risk-landscape perspective reveals two complementary properties: current decoder exposure and safe rerouting capacity, which have been obscured by binary-indicator-based ASR. The resulting representation also provides a common basis for comparing clean prompts, attacked variants, and attack strength against a known adaptive defense. Across multiple target models and jailbreak attacks, we uncover risky branches beneath apparently safe outputs, identify qualitatively different ways attacks reshape the model's opening distribution, and show that attacks strongest before a defense do not necessarily remain the strongest after the adaptive defense reacts. These findings recast jailbreaks as deformations of the surrounding continuation-risk landscape, establishing a more informative foundation for understanding jailbreak behavior and developing safer language models.¹

1 INTRODUCTION

A binary success indicator is a natural representation for discriminative tasks because each input is mapped to a single prediction whose correctness can be judged directly. Adversarial examples in image classification exemplify this structure. In adversarial evaluation, an attack succeeds when the classifier's decision changes to an incorrect label (Szegedy et al., 2013; Goodfellow et al., 2014). Jailbreak evaluation retains a similar response-level convention: a language model produces a response, a judge assigns it a success or failure label, and attack success rate (ASR) averages these labels across prompts or samples (Zou et al., 2023; Chao et al., 2024; Mazeika et al., 2024; Chu et al., 2025b; Yi et al., 2024). This convention remains operationally useful because it measures how often an evaluated decoder produces a harmful response.

LLM jailbreaking, however, concerns a generative rather than a single-label prediction task. An autoregressive language model defines a distribution over open-ended trajectories, whereas one sampled response exposes only one path. The binary indicator underlying the conventional ASR metric is therefore a historically inherited representation of jailbreak success rather than one inherent to generative evaluation. We seek a more informative representation that retains ASR's operational focus on how often the evaluated LLM produces a harmful response while recovering the branch structure compressed by response-level outcomes.

The missing branch structure matters because one sampled trajectory cannot characterize an LLM's broader behavior. Similar response outcomes or ASR values can mask opposing continuation landscapes. Under one, the LLM may place substantial probability on harm yet retain many safe

¹Project webpage at contiasr.github.io

Same judge J, more informative risk representation

Figure

Figure

Figure 1: Binary judgments versus a continuous first-token risk landscape. DHS measures current decoder exposure. AHS and basin density diagnose safe rerouting capacity, while Adaptive DHS measures post-defense risk.

Figure 2: Hidden basins among top-1 observed-safe prompts. Bands are pointwise 95% CIs. Right-edge labels report CHBR@100.

alternatives. Under another, it may appear safe while high-risk branches dominate the surrounding neighborhood. A response-level binary indicator collapses these opposite safety profiles into the same coarse evaluation outcome. It also cannot reveal how an attack reshapes the available continuations or which attack remains strongest after a known adaptive defense Nasr et al. (2025) reacts. What is missing is therefore not another response-level label, but a way to quantify how harmfulness is distributed across alternative generative branches.

For first-token branches, we define a context-conditioned harmfulness score. Each autoregressive response passes through one such branch. For a prompt xx and candidate first token vv, we force Y1=vY_1 = v and repeatedly sample the remainder of the response using the decoding process from the second token onward, denoted D≥2D_{\geq 2}. We define the branch harmful score as

hx(v)=Pr⁡[J(Y)=1∣X=x,Y1=v,D≥2],(1)h_{x}(v)=\Pr[J(Y)=1\mid X=x,Y_{1}=v,D_{\geq 2}], \tag{1}

where JJ is the stated jailbreak judge. The score hx(v)h_x(v) is the probability that a trajectory entering branch vv is judged harmful under the stated continuation protocol. Evaluating this score across the measured top-KK first-token set TK(x)T_K(x) produces a continuous branch-risk landscape. The branch score hx(v)h_x(v) is not an intrinsic harmfulness label for the token string. Fixing the first token does not assume that it determines the complete response. Instead, it provides a controlled and auditable cross-section of the generation tree while integrating over uncertainty in all later tokens. This choice is further motivated by evidence that safety behavior can be concentrated in early decoding decisions and that affirmative or prefilled openings can strongly steer subsequent generation (Qi et al., 2024; Zhou et al., 2025; Li et al., 2025; Zhu et al., 2024). We summarize the resulting landscape using the Distributional Harmfulness Score (DHS) and Average Harmfulness Score (AHS) later introduced in Section 3.2. DHS measures harmfulness after weighting branches by the first-token distribution of the decoder being evaluated. AHS instead weights measured branches uniformly and summarizes average harmfulness across the candidate neighborhood.

The landscape enables two forms of safety analysis unavailable to the binary response indicator underlying ASR: identifying high-risk alternatives hidden behind an observed-safe opening and diagnosing safe rerouting capacity. Unlike a binary response judgment, the landscape shows whether safety at the top-ranked opening extends to nearby alternatives. Figure 2 makes this distinction explicit by conditioning on prompts whose top-1 branch has no observed harmful continuation and progressively expanding the inspected neighborhood to the top KK candidates. At each cutoff, the Conditional Hidden-Basin Ratio (CHBR@K) reports the proportion of these prompts for which at least one high-risk branch has appeared. An observed-safe top-1 opening can still conceal high-risk continuation branches. AHS and basin density provide the complementary view of safe rerouting capacity by describing how much low-risk space remains across the measured neighborhood.

The landscape also reveals distinct mechanisms through which existing jailbreak attacks reshape branch structure. Pairing clean and attacked landscapes identifies pre-existing risk exploitation, conditional risk activation, and candidate-set replacement. These mechanisms distinguish attacks that reuse an already risky opening, make an existing candidate harmful only in the attacked context, or produce a harmful top-1 opening absent from the clean top-100 candidate set.

The same landscape can also guide attack optimization against a known adaptive defense. Within a fixed portfolio, defense-aware selection ranks existing attacks by the DHS retained after rerouting rather than by pre-defense exposure. Beyond selection, residual DHS and basin feedback can guide new attack construction, as instantiated by DGBF. The landscape thus becomes an actionable signal for adaptive red-teaming rather than only a descriptive metric.

We make the following contributions:

  • We introduce a continuous branch-risk landscape for generative jailbreak evaluation, moving beyond the binary response indicator inherited by ASR from discriminative adversarial evaluation.

  • We use the landscape to expose two safety interpretations hidden by binary ASR, namely hidden neighborhood risk and safe rerouting capacity, and to uncover three distinct attack mechanisms.

  • We turn the landscape into an optimization signal for defense-aware red-teaming, enabling both selection among existing attacks and construction of new attack.

References (55)