CoDA enforces security policies inside diffusion LLM decoding, 0% injection success

nandofioretto · x · 2026-10-28

arXiv paper 2610.15177 introduces CoDA (Policy-Constrained Diffusion Agents): exploiting the iterative, sequence-wide denoising of diffusion LLMs, it projects token distributions onto policy-compliant sets at every denoising step, enforcing task-level security policies without retraining. With oracle policies, adaptive prompt-injection success drops to 0% across 4 AgentDojo suites and 2 diffusion model families. Task policies are set from trusted instructions before untrusted content is seen, and protected fields can be reconsidered throughout decoding.

Original post →

More from Safety

Safety channel →