Abstract
Data-free Universal Adversarial Perturbation (UAP) is an image-agnostic adversarial attack that deceives deep neural networks using a single perturbation generated solely from random noise without relying on data priors. However, traditional data-free UAP methods often suffer from limited transferability due to the absence of semantic content in random noise. To address this issue, we propose a novel data-free universal attack method that recursively extracts pseudo-semantic priors directly from the UAPs during training to enrich the semantic content within the data-free UAP framework. Our approach effectively leverages latent semantic information within UAPs via region sampling, enabling successful input transformations—typically ineffective in traditional data-free UAP methods due to the lack of semantic cues—and significantly enhancing black-box transferability. Furthermore, we introduce a sample reweighting technique to mitigate potential imbalances from random sampling and transformations, emphasizing hard examples less affected by the UAPs. Comprehensive experiments on ImageNet show that our method achieves state-of-the-art performance in average fooling rate by a substantial margin, notably improves attack transferability across various CNN architectures compared to existing data-free UAP methods, and even surpasses data-dependent UAP methods.
Introduction
Adversarial attacks typically involve finding a specific perturbation for a specific image. However, Universal Adversarial Perturbations (UAPs) represent a more potent threat: they are a single "master key" noise pattern that, when added to any image, causes a model to fail. While most UAPs are "data-dependent," requiring a large dataset of real images for training, "data-free" UAPs aim to generate these patterns starting from random noise.
The primary challenge for data-free UAPs is transferability. Because random noise lacks the semantic structures (shapes, textures, objects) found in real images, a UAP trained on one surrogate model often fails to fool a different black-box target model. This research introduces the Pseudo-semantic Prior (PSP) framework to bridge this gap by injecting semantic meaning into the noise without using real data.
Methodology
The PSP-UAP framework utilizes a recursive training loop to extract and refine semantic information from the perturbation itself:
- Pseudo-semantic Prior Generation: The researchers observed that deep models often assign high-confidence labels to random noise patches (e.g., classifying a patch as "brain coral"). The combination of the current UAP and random noise is treated as a "pseudo-image."
- Region Sampling: Instead of using the entire noise field, the method randomly crops and resizes regions from this pseudo-image. These samples contain the diverse features the surrogate model is currently sensitive to.
- Input Transformations: Standard augmentations—such as rotation, scaling, and block shuffling—are applied to these sampled regions. While previously ineffective in data-free settings, these transformations become powerful tools for transferability when applied to structured pseudo-semantic samples.
- Sample Reweighting: To optimize training, a KL-divergence-based weighting scheme prioritizes "hard" samples that the current UAP has not yet successfully fooled.
- Activation Maximization: The final loss function encourages the surrogate model to "over-activate" its internal layers when processing these transformed samples, effectively drowning out the features of real images when the UAP is applied.
Experimental Results
The primary benchmark for evaluation was ImageNet, using surrogate models such as AlexNet, VGG16/19, ResNet152, and GoogleNet.
- White-Box Performance: PSP-UAP achieved an average fooling rate (FR) of 89.95% across five major architectures, outperforming previous state-of-the-art data-free methods like TRM-UAP (86.39%).
- Black-Box Transferability: When trained on ResNet152 and tested on unknown models (e.g., DenseNet121, MobileNet-v3), PSP-UAP reached an average FR of 79.28%, a significant improvement over the previous best of 65.81%.
- Comparison to Data-Dependent Methods: Remarkably, in several black-box scenarios, this data-free method outperformed attacks that had full access to the ImageNet training set, suggesting that pseudo-semantic priors may capture more universal vulnerabilities than real images.
Discussion and Insights
The core insight of this work is that noise has inherent semantics. By treating the UAP as a source of data rather than just a perturbation, the method "bootstraps" a semantic training set. This diversity prevents the UAP from overfitting to the surrogate model's quirks, enhancing its effectiveness against unknown targets.
However, some limitations remain. The current study focuses on Convolutional Neural Networks (CNNs), and it is unclear how these priors would behave on Vision Transformers (ViTs). Additionally, the method is designed for untargeted attacks; extending it to targeted data-free attacks remains a significant challenge for future research.
Conclusion
PSP-UAP demonstrates that real-world data is not a prerequisite for creating highly transferable and effective universal adversarial attacks. By leveraging the latent semantic information within noise, the PSP framework sets a new state-of-the-art for data-free UAPs and highlights a critical vulnerability in deep learning architectures.
Summary updated