potentialpaper

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

Import the versions from OpenReview: the same title at other venues

@openreview[bot] · 2026-11-22 20:10 UTC · cbbf76d2e95b ·

versions/v_bfmzkd9s.json added

+++ b/versions/v_bfmzkd9s.json
@@ -0,0 +1,18 @@
+{
+ "date": "2026-05-08",
+ "kind": "submitted",
+ "label": "AI4GOOD @ ICML 2026",
+ "submissions": [
+ {
+ "venue": "AI4GOOD @ ICML 2026",
+ "status": "accepted",
+ "url": "https://openreview.net/forum?id=QVRvaVBwRh"
+ }
+ ],
+ "title": "Beyond the Prompt: Leveraging Pre-Decoding States for Jailbreak Detection in dLLMs",
+ "url": "https://openreview.net/forum?id=QVRvaVBwRh",
+ "evidence": [
+ "https://openreview.net/forum?id=QVRvaVBwRh"
+ ],
+ "abstract": "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 them 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. Since dLLMs maintain hidden states over masked future response positions before tokens are finalized, their pre-decoding response states may already reflect the model’s emerging harmful completion. Empirical observations validate this hypothesis: harmful-request signals are linearly recoverable from pre-decoding masked-response states and complement those from prompt representations, especially for structured attacks that exploit dLLMs’ generation mechanisms. We introduce $\\texttt{ReFuse}$ (Representation Fusion), an inference-time detector that fuses harmfulness scores from prompt and pre-decoding response representations. Without modifying model weights or the decoding procedure, $\\texttt{ReFuse}$ 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\\%. Together, these results establish $\\texttt{ReFuse}$ as a lightweight jailbreak detector for dLLMs that improves safety beyond prompt-only detection."
+}