- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper presents an energy-based perspective to elucidate the underlying mechanics of successful jailbreak attacks in language models. The authors categorize these threats into two distinct types: template-based attacks(eg., DIJA and PAD) and anchor-point attacks. Furthermore, the study introduces a unified theoretical framework, integrating concepts from physics and geometry—to analyze the security vulnerabilities of diffusion-based large language models (dLLMs), such as LLaDA and the Dream series. Building upon this theoretical foundation, the authors propose a non-training-based defense mechanism that utilizes novel detection signals to effectively identify jailbreak attempts in dLLMs. This approach offers a compelling synthesis of fundamental theory and practical security applications.
Strengths and weaknesses
Strength.1 Outstanding Insight
This paper provides a pioneering analysis of jailbreak attacks in diffusion-based language models (dLLMs) through the lens of energy landscapes. The authors conceptualize the model's safety alignment process as the formation of an energy topography within the model's generation space, where a robustly aligned model effectively separates safe from harmful outputs via an 'energy barrier.' In this framework, existing jailbreak attacks are systematically categorized based on the underlying mechanisms they employ to circumvent or traverse these energy barriers.
Strength.2 Outstanding Defensive Performance
The authors evaluate the proposed defense mechanism across LLaDA-8B, LLaDA-1.5, and Dream-7B, demonstrating that the three identified detection signals are highly complementary. Specifically, the 'energy budget' framework proves resilient: attackers are either intercepted by the signal at the initial step (Step-0) or caught by the 'trajectory speed signal' during the barrier-crossing phase. These signals collectively mitigate the blind spots inherent in any single-signal detection. Furthermore, the defense exhibits significant robustness; stress tests indicate that any adversarial configuration attempting to simultaneously circumvent all three signals fails to produce harmful content. This suggests a fundamental coupling between the detection threshold and the energy barrier in diffusion models, rendering it mathematically arduous for an attacker to achieve successful jailbreaking without simultaneously compromising the generated content's utility.
Weakness.1 Reliance on Manually Vocabulary
A critical concern is the defense framework’s reliance on hard-coded, manually curated 'small word lists.' The core detection signals, namely and trajectory speed, are tethered to a restrictive lexicon of 36 'refusal' tokens () and 32 'compliance' tokens (). This design choice introduces significant adversarial vulnerabilities: such static lexical constraints are trivially bypassed by adopting novel linguistic patterns, synonyms, or paraphrasing. Furthermore, given that LLMs exhibit inherent vulnerabilities to cross-linguistic nuances (e.g., low-resource languages or Classical Chinese), the 'energy landscape' defined by these narrow token sets may be fundamentally incomplete. From an adversarial perspective, an attacker could exploit these blind spots by crafting prompts that circumvent the predefined lexicon while still inducing malicious trajectories. The reliance on such a brittle detection mechanism significantly undermines the framework's security guarantees against adaptive, multi-lingual, or linguistically diverse adversarial inputs.
Weakness.2 Lack of Analysis Regarding Different Generation Length & Block Length
A significant limitation in the experimental design is the lack of sensitivity analysis regarding generation length. It is well-established that the model's 'thinking' or generation trajectory varies substantially in length depending on task complexity. However, the authors report the total energy across all outputs without normalizing for sequence or block length. This omission obscures the potential correlation between computational expenditure and the 'energy' signal. I request that the authors clarify whether the generation length and block size influence energy activations. Specifically, do these parameters lead to inherently different baseline energy levels? If the energy signal is invariant to these variations, the authors should provide a theoretical or empirical justification. Otherwise, a normalized metric—such as energy consumption per token or per block—is necessary to validate the detection framework.
Questions
Question.1 Regarding Active Defense
The proposed energy-based defense raises a compelling question regarding the duality of the energy landscape: if the energy barrier can be identified and measured, can it be strategically navigated to craft 'unprecedented' covert jailbreak attacks? Theoretically, if an attacker can model the energy topography, they could optimize a path that minimizes the 'trajectory speed' and maximizes the 'energy budget' alignment throughout the generation process. If such an attack is deemed infeasible, I invite the authors to clarify the underlying technical barriers. Are these constraints rooted in the fundamental complexity of the diffusion model's latent manifold, or is it due to the inherent trade-off between semantic intent and trajectory energy? Addressing this 'attack-defense symmetry' would significantly bolster the impact of this study.
Limitations
Please Refer to Weaknesses.
Paper formatting concerns
Some formulas are too long and exceed the limit, such as Formulas 7, 8 and 10.
We thank the reviewer for an exceptionally close reading. New experiments below use held-out pilot splits of 50 to 100 prompts per class, so absolute values differ from the paper's full-split numbers while orderings are preserved. Both weaknesses led to new experiments, and W2 identified a genuine scaling defect that we have corrected. Paper numbers use the full splits, so absolute values differ while orderings are preserved in the new experiments below:
W1: reliance on a manually curated vocabulary. The weakness names three concerns, answered in turn.
W1a, manual curation. A vocabulary derived automatically from held-out prompts, with no human judgement, matches the curated one. App. D.2 already ablates five hand-written lists, and four of five reach AUROC of at least 0.896 / 0.915 / 0.944 on LLaDA-8B / LLaDA-1.5 / Dream-7B, with the smallest performing best. Detection depends on whether the tokens carry mass in the model's output distribution, not on the size or identity of the list (Prop. 2(iii)). The new experiment removes the curator entirely: from 50 harmful and 50 benign held-out prompts we rank tokens by mean step-0 mass per class, discard the overlap, and keep the top ten.
The automatic vocabulary lands within 0.05 of the curated default on the LLaDA family and above it on Dream. The curated minimal set remains best on two of three models, so our claim is narrow: curation is a convenience, not a requirement. Every model's automatic refusal set contains
'sorry','assist','but',"'t"and"'m", five tokens no curator would list together, surfacing independently from three models. The vocabulary is a measurable property of the model, and the derivation reads it rather than creating it.W1b, adversarial evasion. The synonym set in App. D.2 already measures what such an attack would exploit, and the W1a derivation is the countermeasure. Those tokens are semantically equivalent to the default's but carry negligible mass, and R0 under them drops to 0.796, 0.788 and 0.827: the degradation an adversary would aim for, and the failure Prop. 2(iii) predicts. Re-deriving the lexicon from the model's behaviour is more robust than defending a fixed list. Attacks weakened until they slip under the thresholds are covered by the Section 4 sweeps (Zf58, W4b): configurations that evade all three signals produce only truncated stubs. We should be precise about what remains untested. The reviewer's threat is a prompt that circumvents the lexicon while still inducing a malicious trajectory. W1c below produces the first half naturally but not the second, since the model kept refusing. A deliberate optimizer that suppresses V_ref mass while preserving harmful semantics is the open case, and we return to it in Q1.
W1c, cross-linguistic evasion. The detector goes blind on Chinese prompts. The model does not. We evaluated LLaDA-8B on 315 harmful Chinese prompts (human-translated MultiJail) and 315 benign (alpaca-zh), with the English vocabulary unchanged and thresholds recalibrated on the Chinese benign pool.
LLaDA still refuses 73% of these prompts, in Chinese (对不起,我不能…, "I'm sorry, I cannot…"). Those tokens lie outside V_ref, so our English check reports zero. This is the coverage failure Prop. 2(iii) predicts, not a jailbreak.
The loss is confined to R0, and to queries with no template. SED uses no vocabulary and still detects Chinese PAD, at 0.798 against 0.900 in English. Against a direct harmful query there is no template disruption for any trajectory signal to read, so nothing compensates when R0 goes blind.
The repair is the W1a procedure run in the new language. Derived from 50/50 held-out Chinese prompts and evaluated on a matched split, R0 rises from 0.796 to 0.962, and the extracted tokens (,我不能, 非法) are the ones the model actually refuses with.
The reviewer names low-resource languages and Classical Chinese. Modern Mandarin is neither, so this is the easiest cross-lingual case for an English-calibrated detector, and R0 still went blind. We expect a larger loss for the cases named, with the same repair. The revision will state the deployment requirement: R0 needs about fifty calibration prompts per class and language, and an English-calibrated R0 should not be applied to non-English traffic.
W2: generation length and block length. Two parts. Only ∆E_F has a scale dependence, and the reviewer's per-token normalization removes it. Detection recall separately degrades with length on LLaDA, for a reason the Fisher analysis explains, and we state that bound on our own claims.
We ran the full pipeline at L in {64, 256, 512} on both models, and at L = 256 with block decoding, B in {32, 64, 128, 256}, recalibrating thresholds at every setting.
Part one, baseline scale. ∆E_F (Eq. 5) sums over masked positions, so its raw value grows with the number still masked. R0 and SED are per-position (Prop. 2(i), Eq. 14) and carry no such dependence.
The per-token form moves within a factor of two with no trend. R0 and SED baselines are flat in L, and R0 is exactly invariant to block size, giving 0.777 AUROC on LLaDA-8B and 0.960 on Dream-7B at every B, identical to three decimals, the fingerprint of a step-0 statistic. At fixed L the normalization leaves AUROC unchanged. Its benefit is that thresholds calibrated at one length stay valid at another.
Part two, detection recall. R0's value does not depend on length, but its ability to separate does. On LLaDA, recall falls sharply as L grows, while Dream is stable.
The paper's LLaDA detection results are therefore L = 128 statements, and the revision will condition them on that setting. Two points limit the concern. Rank-order AUROC holds across the sweep, so it is threshold-level recall that degrades. And the cause is the one Eq. (13) predicts: LLaDA's basin separation is weak (J = 33 against 139.7 for Dream), so detection leans on R0, whose discriminative power dilutes as refusal mass spreads over more positions. Dream, with the stronger basin, is stable to improving.
Block size matters for the trajectory signals on Dream, where PAD OR-TPR rises from 0.16 at B = 32 to 0.94 at B = 256, because small blocks commit template tokens before the full response context forms. Realized FPR stayed within [0.09, 0.12] across all sixteen settings.
The revision will report ∆E_F per token throughout, condition the LLaDA results on L = 128, and add deployment guidance: LLaDA at L <= 128 with B >= L/2, Dream up to L = 256. The framework needed one repair, and it is the one this review proposed.
Q1: can an attacker model the energy topography and optimize a covert path? Theorem 1 makes the options concrete and closes each, but a deliberate optimizer remains untested. The required kinetic energy scales as δ² / ((t₂ − t₁) · |M| · G²max), giving an attacker three levers:
The reviewer asks whether the constraint comes from the complexity of the diffusion model's latent manifold or from a trade-off between semantic intent and trajectory energy. On our analysis it is the second. Manifold complexity is not the barrier, since a white-box attacker could in principle search it. The barrier is that producing harmful semantics requires crossing into the harmful basin, and Theorem 1 makes that crossing cost kinetic energy in a monitored subspace. The energy an attack must spend and the quantity the detector measures are the same, so the constraint lives in the attacker's objective rather than in any threshold choice. Reviewer vpHS's thread adds an enforcement mechanism: the maximum of calibrated z-scores thresholds the attacker's largest single overrun, the quantity Theorem 1 lower-bounds.
Two limits are worth stating. The block-size finding under W2 locates a real freedom, but B and L are chosen by the deployer, not the prompt-level adversary of our threat model, so it is a deployment hazard rather than an attack surface. What remains open (Section 4) is a fully white-box optimizer over response-region tokens, and the lexicon-level adversary described under W1b. The W1c result is the naturally occurring version of the latter, and it produced a calibration failure rather than a jailbreak: the model kept refusing, in a vocabulary we were not watching. Whether the Theorem 1 coupling survives a deliberate optimizer of either kind is the experiment that would most strengthen this line of work. The revision will add this discussion with attribution.
We are grateful for the depth of this review and would be glad to answer further questions.