Abstract
In this work we propose Energy Attack, a transfer-based black-box $L_\infty$-adversarial attack. The attack is parameter-free and does not require gradient approximation. In particular, we first obtain white-box adversarial perturbations of a surrogate model and divide these perturbations into small patches. Then we extract the unit component vectors and eigenvalues of these patches with principal component analysis (PCA). Base on the eigenvalues, we can model the energy distribution of adversarial perturbations. We then perform black-box attacks by sampling from the perturbation patches according to their energy distribution, and tiling the sampled patches to form a full-size adversarial perturbation. This can be done without the available access to victim models. Extensive experiments well demonstrate that the proposed Energy Attack achieves state-of-the-art performance in black-box attacks on various models and several datasets. Moreover, the extracted distribution is able to transfer among different model architectures and different datasets, and is therefore intrinsic to vision architectures.
Introduction
Adversarial attacks—subtle perturbations that trick AI into misclassifying images—usually fall into two camps: white-box (where the attacker knows everything about the model) and black-box (where the attacker can only see the model's output). Black-box attacks are more realistic but notoriously difficult, often requiring thousands of "queries" to the target model, making them slow and easy to detect.
Energy Attack addresses this by finding a "universal" noise distribution that works across almost any vision model. By focusing on local image patches rather than the whole image, it achieves a 100% success rate on major benchmarks with significantly fewer queries than previous state-of-the-art methods.
Methodology
The Energy Attack operates in two distinct phases as illustrated in Figure 1:
- Preparation Phase (The "Prior"): A known "surrogate" model is used to generate standard white-box adversarial noise. This noise is broken into small patches (e.g., $5 \times 5$ pixels). Principal Component Analysis (PCA) is then applied to these patches to identify the primary directions of the noise and their associated "energies" (eigenvalues).
- Attack Phase (The "Search"): To attack a secret black-box model, the framework samples new noise patches based on the energy distribution calculated in Phase 1. These patches are tiled together to create a full-sized perturbation. If a change increases the target model's error (measured by a smaller margin), it is accepted; otherwise, it is discarded.
This approach is parameter-free and does not require approximating gradients, making it computationally lightweight compared to traditional black-box methods.
Experimental Results
The authors evaluated their method using ImageNet, CIFAR10, and MNIST datasets against a variety of architectures including VGG16BN, InceptionV3, ResNet18, and Vision Transformers (ViT).
Energy Attack set a new bar for query efficiency:
- 100% Success Rate: It achieved a 100% Attack Success Rate (ASR) against VGG16BN, InceptionV3, and ResNet18 on ImageNet.
- Extreme Efficiency: Against VGG16BN and ResNet18, the median number of queries required was just 1.
- Outperforming SOTA: It consistently beat established methods like Square Attack and TREMBA. For example, on InceptionV3, Energy Attack needed an average of 91 queries, while Square Attack needed 207.
Key Insights
A critical finding of this work is that locality is key. While global adversarial patterns don't transfer well between different models, local patch distributions do. Small patches capture intrinsic properties of vision architectures that are shared even between wildly different models, such as ResNets and Transformers.
Furthermore, perturbations extracted from robustly trained models serve as much more effective templates for attacking other models than those from standard models. Surprisingly, the energy distribution remains similar even if the surrogate model was trained on random labels, suggesting that vulnerability is baked into the visual processing structures of neural networks.
Conclusion
Energy Attack demonstrates that local energy distributions of adversarial noise are highly transferable across architectures and datasets. While the current method uses linear PCA, future work may explore non-linear extraction methods to further increase potency. The empirical success of this method highlights a fundamental, shared vulnerability in modern vision architectures.
Summary updated