DIVA攻击揭示扩散视觉语言模型的安全新风险

Visual language models have been deployed across office assistants, content moderation, robotics, and smart terminal systems. Their tasks now extend beyond basic text processing to simultaneous understanding of images, text, and their combined relationships—this shift has reshaped the security boundaries these models need to address.
A critical change lies in how these models generate responses. Traditional autoregressive visual language models encode images into a fixed visual prefix, then produce text sequentially. In contrast, discrete diffusion visual language models (dVLM) start with a sequence of masked tokens and iteratively denoise to build a complete answer. This difference creates a key vulnerability: autoregressive models inject visual information once at the start, while dVLM reuses visual conditions in every denoising step. Researchers have named this phenomenon Cross-Step Conditional Propagation, where subtle visual signals can accumulate and influence model decisions across multiple generation stages.
A new attack method called DIVA exploits this trait to test model security. DIVA stands for Discrete-diffusion Vision-language model Attack, a white-box visual jailbreak attack that does not modify model parameters. Instead, it constructs bounded visual perturbations and adjusted text prompts to evaluate how models behave throughout the full denoising process.
DIVA is tailored to dVLM’s multi-step generation mechanism, with two core components: cross-modal intent confusion and diffusion-aware adversarial optimization. The first component splits harmful instructions into text and image segments, so neither part alone carries the full malicious intent but together they can bypass safety filters. The second component optimizes visual perturbations to work across multiple denoising steps, rather than just a single point in the generation trajectory.
Tests on three dVLM models across two multi-modal security benchmarks confirm DIVA’s effectiveness. On one benchmark, attack success rates reached nearly 70% on one model, outperforming existing methods designed for autoregressive models. Results remained consistent when tested on an unseen dataset, showing the vulnerability is structural rather than dependent on specific prompts. Ablation studies further reveal that full optimization over multiple denoising steps is key to DIVA’s success, not just adding random noise. The perturbations used are barely visible to human eyes, making them hard to detect through manual review or simple pixel difference checks.
This research reveals a critical gap in current security practices: most systems only check input and final outputs, ignoring how models generate responses step by step. To strengthen safety, future multi-modal systems should focus on three areas: checking cross-modal semantic combinations instead of treating text and image filters separately, monitoring stability across different generation stages for diffusion-style models, and adapting red-team testing to match specific model architectures rather than using one-size-fits-all approaches. For systems that process images continuously, like robots or smart devices, cross-step security monitoring is especially important.
This work shows that as models move from single-pass image processing to iterative generation, security frameworks must evolve to address dynamic, step-by-step risks. Protecting diffusion-based visual language models requires understanding their unique generation mechanisms and maintaining vigilance at every stage where visual conditions are reused.

