DDGA: Dirichlet Distributional Gradient Aggregation for Transferable Vision-Language Adversarial Attacks

Yiwei You, Jiaan Wei, Zan Chen, Bo WangICML 2026

Introduction

Vision-Language Models (VLMs) like CLIP have fundamentally transformed how artificial intelligence understands the relationship between images and text. However, these models remain notoriously vulnerable to adversarial attacks—imperceptible perturbations to an image or text that cause catastrophic model failures.

In realistic, "black-box" scenarios, attackers do not have access to a target model's internal weights. Consequently, the primary objective of adversarial research is achieving high transferability: crafting an attack on a known "source" model that is robust enough to successfully fool an unknown "target" model.

Recent state-of-the-art methods approach this using an Adversarial Evolution Triangle (AET). They construct a "simplex" (a high-dimensional triangle) formed by the clean image and previous adversarial iterations, then randomly sample points within this space to find effective perturbations. Unfortunately, random sampling is inefficient, suffers from high variance, and frequently misses the most effective attack directions when constrained by a tight computational budget.

To address this, researchers have introduced Dirichlet Distributional Gradient Aggregation (DDGA), a framework that shifts VLM adversarial attacks from heuristic random guessing to principled distributional learning.

Methodology: The DDGA Framework

DDGA replaces the inefficient heuristic sampling of previous AET methods with a learnable distribution, explicitly modeling and optimizing perturbations over the simplex.

  1. Dirichlet Mixing Policy: Rather than selecting random weights to combine historical adversarial samples, DDGA parameterizes these weights using a Dirichlet distribution. This statistical distribution is naturally suited for modeling proportions that must sum to one, perfectly satisfying the simplex constraint.
  2. Policy Gradient Optimization: DDGA frames the attack as a reinforcement learning problem where the "reward" is the adversarial loss (the degree to which the model is fooled). By utilizing policy gradients, the framework updates the parameters of the Dirichlet distribution, effectively learning to target the most vulnerable regions of the simplex.
  3. Second-Order Analysis: The authors provide a theoretical foundation demonstrating that, to a second-order approximation, the aggregate gradient of a distribution is governed by its mean. This justifies why optimizing the distribution itself yields far more stable and effective gradients than evaluating a few random points.
  4. Orthogonal Exploration: To prevent the optimization process from stagnating in local optima, DDGA leverages the closed-form covariance of the learned Dirichlet distribution. It injects noise in directions orthogonal to the primary gradient. This ensures the attack explores a diverse range of perturbations, increasing the likelihood of transferability across different model architectures.

Experimental Setup

The researchers evaluated DDGA on two gold-standard multimodal benchmarks:

  • Flickr30K: Comprising 31,783 images, each paired with five human-annotated captions.
  • MSCOCO (2014): A larger, more complex dataset featuring 123,287 images with intricate object interactions.

These datasets were utilized to test the attacks across two primary VLM tasks: Image-Text Retrieval (ITR) and Image Captioning (IC).

Key Insights

  • From Points to Distributions: The central realization of DDGA is that attackers should not seek a single "best" point in the perturbation space. Modeling the distribution of effective perturbations provides a much more stable and principled method for navigating the complex loss landscapes of VLMs.
  • The Mean is the Message: The theoretical finding that gradient aggregation is mathematically akin to evaluating the gradient at the distribution's mean significantly streamlines the optimization process.
  • Structured Stochasticity: In high-dimensional spaces, purely random noise is rarely beneficial. By using the distribution's covariance to guide exploration, DDGA ensures that added noise respects the geometry of the adversarial space.

Key Results

DDGA consistently outperformed existing state-of-the-art transfer-based attacks (such as SGA, DRA, and SA-AET) across multiple dimensions:

  • Superior Transferability: On the MSCOCO dataset, when attacking an ALBEF target model using a CLIP-ViT source, DDGA achieved a 66.46% success rate (Recall@1), compared to 57.64% for the previous best method (SA-AET)—a substantial 8.82% absolute gain.
  • Cross-Task Success: Attacks crafted to break retrieval models successfully transferred to generative models. When tested on BLIP for image captioning, DDGA-generated images caused severe drops in semantic metrics (CIDEr and SPICE), frequently forcing the model to hallucinate non-existent objects or misidentify subjects.
  • Fooling Multimodal Giants: The authors demonstrated that DDGA successfully transfers to modern Multimodal Large Language Models (MLLMs) like Qwen3-VL-4B, inducing significantly higher distributional shifts (measured via KL divergence) in output tokens than baseline attacks.

Limitations and Future Work

While highly effective, DDGA presents a few areas for future refinement:

  • Computational Cost: Learning the Dirichlet parameters requires additional optimization steps per iteration, resulting in a moderate increase in computational overhead compared to simpler PGD-based attacks.
  • Scope of Modalities: The current framework focuses heavily on image-to-text relationships. Future research could explore tightly coupled multimodal perturbations where both image and text inputs are attacked simultaneously.
  • Defensive Applications: As adversarial attacks grow more sophisticated, the authors suggest that the distributional insights from DDGA should be used to guide the development of more robust VLM defenses, such as adversarial training tailored to distributional threats.

Summary updated

BibTeX
@inproceedings{you2026ddga,
  author = {Yiwei You and Jiaan Wei and Zan Chen and Bo Wang},
  title = {{DDGA: Dirichlet Distributional Gradient Aggregation for Transferable Vision-Language Adversarial Attacks}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=ZHhD0SzraJ},
}
Figure