WHEN TOKEN-LEVEL DIVERGENCE MISRANKS PROMPT-INJECTION ROBUSTNESS
Anonymous authors
ICLR 2027
TL;DR. Token-level KL divergence can misrank prompt-injection robustness in diffusion language models because predictive sensitivity does not identify which output changes determine the downstream action.
Abstract. Masked diffusion language models expose a predictive distribution at every output position, which makes the Kullback–Leibler (KL) divergence between a clean run and a prompt-injected run a convenient score for comparing decoders. We ask whether this score can rank decoders by their robustness to prompt injection. We study Dream-7B and LLaDA-8B on templated record-lookup cases and on 48 single-action tool cases in AgentDojo, averaging the KL of each output position at the step where that position is fixed. On the 32 primary lookup cases, Dream with a raised end-of-sequence (EOS) logit has mean KL 0.080 nats and follows the injection in 9 cases, whereas Dream with a penalty on the attacker’s target tokens, an oracle that assumes the target is known, has 1.101 nats and follows it in 0. Most of this KL comes from answers that keep the correct label but drop the sentence around it. A control that varies label length and requested answer format independently orders these two decoders correctly, but across its four Dream decoders every decision-blind score we tested has rank correlation −0.40 with attack counts, including the mean after subtracting the KL caused by a matched benign note, which repairs the focal comparison in both panels. Changed tokens still carry almost all of the KL; which of them matter depends on the decision rule. We show that per-position divergences cannot identify decision preservation without the decision rule, and give a margin condition under which stable decision-relevant tokens preserve an authorized action. A KL score says something about safety only once we know which output tokens decide the action.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Desk rejected · OpenReview
Updated 24 Nov 2026, 16:53 UTC.
The venue hasn't published any reviews yet.
Loading the discussion…