mlsanityData to 24 Nov 2026

Beyond the Prompt: Leveraging Pre-Decoding States for Jailbreak Detection in dLLMs

arXiv 2611.10258 ↗Submitted 6 Nov 2026cs.CL cs.CY cs.LGcited by 0

On the map: LLM safety and security → Jailbreaking

Abstract (arXiv)

Diffusion large language models (dLLMs) have recently emerged as a strong alternative to autoregressive models, generating responses by iteratively refining masked tokens in parallel rather than decoding sequentially. While enabling more efficient and flexible inference, dLLMs remain vulnerable to jailbreak attacks, including recent attacks that exploit properties unique to dLLMs such as bidirectional conditioning and parallel masked-token refinement. In this work, we show that these same properties also expose a safety-relevant detection surface absent from standard autoregressive decoding: even when a jailbreak is difficult to identify from prompt representations alone, it can still be detected from hidden states over masked response positions before any tokens are generated. By training linear classifiers on prompt and pre-decoding response representations, we empirically show that neither view strictly dominates, with each detecting attacks that the other misses. We introduce textttReFuse (Representation Fusion), an inference-time detector that fuses the sigmoid harmfulness scores of the two classifiers. Without modifying model weights or the decoding procedure, textttReFuse reduces average ASR across multiple jailbreaks from 63.29% for the undefended model and 11.27% for a prompt-only classifier to 3.31%, while keeping average benign refusal on standard utility benchmarks below 1% on LLaDA-8B. Together, these results establish textttReFuse as a lightweight jailbreak detector for dLLMs that improves safety beyond prompt-only detection.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 42 of its 47 references that are in the map. Submitted 6 Nov 2026.

Builds on

42 of 47 references.

Closest ancestors · 13

Same direction, newest first

  1. 2026Safer by Diffusion, Broken by Context: Diffusion LLM's Safety Blessing and Its Failure Mode30 Jan
  2. 2025Toward Safer Diffusion Language Models: Discovery and Mitigation of Priming Vulnerability1 Oct
  3. 2025DiffuGuard: How Intrinsic Safety is Lost and Found in Diffusion Large Language Models29 Sep
  4. 2025A2D: Any-Order, Any-Step Safety Alignment for Diffusion Language Models27 Sep
  5. 2025Jailbreaking Large Language Diffusion Models: Revealing Hidden Safety Flaws in Diffusion-Based Text Generation25 Jul
  6. 2025The Devil behind the mask: An emergent safety vulnerability of Diffusion LLMs15 Jul
  7. 2025Dialogue Injection Attack: Jailbreaking LLMs through Context Manipulation11 Mar
  8. 2024HSF: Defending against Jailbreak Attacks with Hidden State Filtering31 Aug
  9. 2024WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Models26 Jun
  10. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks2 Apr
  11. 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks30 Jan
  12. 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily14 Nov
1 more
  1. 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct

Other references · 29

  1. 2020Denoising Diffusion Probabilistic Modelscited by 21,784
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 19,429
  3. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,852
  4. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 5,336
  5. 2023Let's Verify Step by Stepcited by 4,259
  6. 2021Program Synthesis with Large Language Modelscited by 3,972
  7. 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,844
  8. 2025Gemma 3 Technical Reportcited by 2,058
  9. 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,843
  10. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,584
  11. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,174
  12. 2025Large Language Diffusion Modelscited by 1,042
17 more
  1. 2024Simple and Effective Masked Diffusion Language Modelscited by 971
  2. 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 810
  3. 2024Simplified and Generalized Masked Diffusion for Discrete Datacited by 698
  4. 2025Dream 7B: Diffusion Large Language Modelscited by 623
  5. 2021Argmax Flows and Multinomial Diffusion: Learning Categorical Distributionscited by 603
  6. 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 579
  7. 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 566
  8. 2022DiGress: Discrete Denoising diffusion for graph generationcited by 550
  9. 2022DiffuSeq: Sequence to Sequence Text Generation with Diffusion Modelscited by 470
  10. 2025LLaDA 1.5: Variance-Reduced Preference Optimization for Large Language Diffusion Modelscited by 314
  11. 2022Extracting Latent Steering Vectors from Pretrained Language Modelscited by 241
  12. 2022SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Controlcited by 207
  13. 2025Seed Diffusion: A Large-Scale Diffusion Language Model with High-Speed Inferencecited by 200
  14. 2025LLMs Encode Harmfulness and Refusal Separatelycited by 103
  15. 2024Does Refusal Training in LLMs Generalize to the Past Tense?cited by 91
  16. 2025Diffusion Language Models Know the Answer Before Decodingcited by 80
  17. 2025Where to Start Alignment? Diffusion Large Language Model May Demand a Distinct Positioncited by 12

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025JailDAM: Jailbreak Detection with Adaptive Memory for Vision-Language Model
  2. 2026SALLIE: Generation-Free Hidden-State Detection of Jailbreaks and Prompt Injections Across Text and Vision
  3. 2026Jailbreaking Leaves a Trace: Understanding and Detecting Jailbreak Attacks from Internal Representations of Large Language Models
  4. 2026Harmful Responses Are Jailbreak Templates: Transferring Autoregressive Jailbreaks to Diffusion Language Models
  5. 2025Prefill-level Jailbreak: A Black-Box Risk Analysis of Large Language Models
  6. 2025Single-pass Detection of Jailbreaking Input in Large Language Models
  7. 2026Defending Large Language Models Against Jailbreak Attacks via In-Decoding Safety-Awareness Probing
  8. 2024textitMMJ-Bench: A Comprehensive Study on Jailbreak Attacks and Defenses for Multimodal Large Language Models