NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Cross-Domain Transferability of Adversarial Perturbations

Muzammal Naseer, Salman Khan, Muhammad Haris Khan, Fahad Khan, Fatih Porikli

TL;DR

This paper introduces a novel generative framework for creating "domain-invariant" adversarial perturbations. These perturbations can successfully fool deep neural networks trained on entirely different image domains, achieving state-of-the-art fooling rates and outperforming even instance-specific attacks.

What Problem Does This Paper Address?

Deep neural networks (DNNs), despite their impressive performance, are vulnerable to adversarial examples – subtly modified inputs that cause misclassifications. A key concern is the transferability of these adversarial examples, meaning perturbations crafted for one model can often fool another, even if they have different architectures or were trained on different data. This transferability enables "black-box" attacks where attackers don't need access to the target model's internals.

Existing adversarial attack methods often rely on the source data distribution, limiting their applicability to new domains. Furthermore, while "instance-agnostic" attacks (which generate a universal perturbation) are more scalable than "instance-specific" ones, they typically suffer from lower transferability. This paper tackles the challenge of creating highly transferable, instance-agnostic adversarial perturbations that work across diverse image domains, even when the attacker has no knowledge of the target domain's data or model.

Methods

The core of the proposed approach is a generative adversarial network (GAN) framework. Instead of generating perturbations for individual images, this framework learns a universal adversarial function. The key innovation lies in the relativistic adversarial perturbation (RAP) generation approach.

Here's how it works:

  • Generative Network (G): This network learns to create adversarial perturbations.
  • Discriminator (D): A pre-trained classifier acts as the discriminator.
  • Relativistic Loss: Unlike standard GANs that aim to make generated data indistinguishable from real data, this loss function focuses on the difference in the discriminator's confidence between a clean image and its perturbed version. Specifically, it maximizes the "fooling gap" by forcing the discriminator to have high confidence in clean images and low confidence in perturbed images. This relativistic signal is designed to encourage the learning of domain-invariant patterns.
  • Instance-Agnostic: The generator is trained on a source domain and produces perturbations that are then applied to target domains, without needing to re-optimize for each specific image or target model.

Datasets

The paper uses a variety of datasets for training the generator:

  • Paintings
  • Comics
  • ImageNet
  • ChestX-ray (ChestX)

Inference and evaluation are primarily performed on ImageNet validation sets (including subsets like ImageNet-NeurIPS).

Key Insights and Ideas

  • Domain-Invariant Adversaries Exist: The most significant finding is the demonstration that adversarial perturbations can be truly domain-invariant, meaning they can effectively fool models trained on vastly different types of images (e.g., paintings vs. natural images).
  • Relativistic Loss is Key: The proposed relativistic loss function is crucial for achieving this cross-domain transferability. It encourages the generator to learn perturbations that create a consistent "fooling gap" across different models and domains, rather than just optimizing for a specific target.
  • Instance-Agnostic Can Outperform Instance-Specific: Surprisingly, their instance-agnostic approach, which is more scalable, achieves higher fooling rates than many state-of-the-art instance-specific attacks. This suggests that the learned universal perturbations are highly robust.
  • Shared Adversarial Space: The results imply that there's a common adversarial "space" that affects models across different architectures and data distributions.

Key Results

  • High Fooling Rates: The proposed method achieves extremely high fooling rates, often exceeding 99%, even when attacking models trained on completely different domains (e.g., using perturbations learned from paintings to attack ImageNet classifiers).
  • State-of-the-Art Performance: The approach sets a new state-of-the-art for fooling rates in both white-box and black-box attack scenarios.
  • Outperforms Existing Methods: The instance-agnostic attack outperforms many instance-specific attacks, achieving an average increase in fooling rate of ~86.46% compared to prior state-of-the-art methods.
  • Cross-Domain Success: Perturbations learned on domains like Paintings, Comics, and even ChestX-ray can successfully fool ImageNet classifiers, demonstrating strong cross-domain transferability.

Limitations and Future Work

  • Training Time: While inference is efficient, training the generator can be computationally intensive.
  • Dependence on Source Model: The generator is trained against a specific source model (e.g., ResNet), and its effectiveness might vary depending on the target model's architecture and training.
  • Future Work: The authors suggest exploring further applications of domain-invariant adversaries and investigating their impact on other machine learning tasks beyond image classification. They also highlight the need for more robust defenses against such powerful transferable attacks.

Summary updated

BibTeX
@inproceedings{naseer2019cross,
  author = {Muzammal Naseer and Salman Khan and Muhammad Haris Khan and Fahad Khan and Fatih Porikli},
  title = {{Cross-Domain Transferability of Adversarial Perturbations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure