Adversarial examples—subtly modified inputs designed to deceive Deep Neural Networks (DNNs)—pose a significant security threat to modern AI systems. In real-world scenarios, attackers rarely have access to the target model's architecture or weights. Instead, they rely on black-box attacks, which hinge on a property known as transferability: the ability of an adversarial example generated on a known "surrogate" model to successfully fool an unknown target model.
Recent research has focused on "feature-level" attacks to improve transferability. Because different models often learn similar critical features (e.g., the shape of a dog's ear or the texture of a car), disrupting these intermediate representations can yield highly transferable adversarial examples. However, the success rate of these attacks has recently hit a performance ceiling.
Presented at ICML 2025, the Pixel2Feature Attack (P2FA) identifies the mathematical bottleneck limiting current feature-level attacks and proposes a novel, highly effective solution by shifting the perturbation process directly into the feature space.
The "One-Step" Trap: Why Current Attacks Plateau
The core contribution of this paper begins with a theoretical diagnosis of existing feature-level attacks. Using the Cauchy-Schwarz inequality, the authors prove that current multi-step attacks in the pixel space are mathematically equivalent to a single-step perturbation in the model's internal feature space.
Essentially, while an attack algorithm might take dozens of iterative steps to tweak the pixels of an image, the resulting disruption in the feature space moves in only one fixed direction. The attacks become "stuck," failing to explore the feature space effectively and limiting their ability to disrupt the critical, shared features necessary for high transferability.
The P2FA Methodology
To break through this limitation, P2FA shifts the attack perspective entirely. Instead of calculating gradients to adjust pixels, P2FA directly attacks the intermediate feature maps. The methodology relies on two primary phases:
- Direct Feature Perturbation: P2FA iteratively perturbs the intermediate feature maps of the surrogate model. By dynamically updating a "feature importance" metric at each step, the attack continuously finds the most vulnerable directions in the feature space. Momentum is incorporated to stabilize the search direction, ensuring the perturbations target object-related regions rather than model-specific noise.
- Feature Inversion: Because a target model requires a standard image as input—not a manipulated feature map—the authors employ a feature inversion algorithm. This optimization process works backward, finding a pixel-level image that, when processed by the surrogate model, produces the highly disrupted feature maps generated in the first step.
By perturbing features directly, the attack focuses on the high-level concepts the models use to understand the world, making the resulting adversarial noise far less specific to the surrogate model's architecture.
Experimental Results and SOTA Performance
The authors evaluated P2FA using the ImageNet-NIPS dataset (1,000 images) across a wide array of architectures, including 7 normally trained models (e.g., ResNet-152, VGG19), 6 advanced defense methods (e.g., Feature Distillation, JPEG compression), and 4 Vision Transformers (ViTs).
P2FA consistently outperformed existing State-Of-The-Art (SOTA) attacks across all categories:
- Normally Trained Models: P2FA achieved an average success rate of 95.7%, a 2.1% improvement over the previous best baseline. When combined with input transformations (PIDI-P2FA), the success rate climbed to 97.7%.
- Defended Models: Against models specifically hardened to resist adversarial examples, P2FA outperformed baselines by an average of over 7.0%.
- Vision Transformers (ViTs): ViTs are notoriously difficult targets for transfer attacks due to their distinct architectural differences from standard Convolutional Neural Networks. P2FA shattered previous benchmarks here, surpassing all baselines by over 15% to achieve a 74.9% success rate.
Interestingly, an ablation study revealed that just 3 perturbations in the feature space were optimal. This suggests that even a minimal amount of true feature-space exploration is vastly superior to dozens of iterations in the pixel space.
Limitations and Future Directions
While P2FA represents a major leap in adversarial transferability, the authors note a few limitations:
- Computational Cost: The feature inversion step required to map disrupted features back to a pixel image is generally more computationally expensive than standard pixel-space gradient descent.
- Surrogate Dependency: Although transferability is exceptionally high, the attack's foundation still relies on a surrogate model. The impact of the specific choice of surrogate on the quality of the inverted features warrants further exploration.
- Physical-World Applicability: The current study is limited to digital perturbations. Whether these profound feature-space disruptions can be translated into physical-world attacks (such as adversarial stickers, clothing, or 3D objects) remains an open question for future research.
Ultimately, P2FA demonstrates that to fool a neural network effectively, attackers must think like the network—operating in the abstract space of features rather than the literal space of pixels.
Summary updated