TL;DR
This paper introduces CD-MTA (Cross-Domain Multi-Targeted Attack), a novel adversarial attack framework that can trick black-box image classifiers into predicting any arbitrary target class using just a single reference image. Unlike previous methods, CD-MTA requires zero knowledge of the victim model's training data, labels, or class distributions, successfully eliminating the "data leakage" flaws that plague existing cross-domain targeted attacks.
What Problem Does This Paper Address?
Adversarial attacks expose vulnerabilities in Deep Neural Networks (DNNs) by adding imperceptible noise to inputs, causing models to misclassify them. Targeted attacks are particularly dangerous because they force a model to output a specific incorrect class.
However, current generator-based targeted attacks suffer from two major limitations:
- Scalability: They usually support only a limited number of predefined target classes or require training a separate generator for every single class.
- Data Leakage: Supposedly "cross-domain" attacks often implicitly use private information from the target dataset during training—such as ground-truth labels or white-box classifiers pretrained on the target data. This means they fail to generalize to completely unseen datasets without being entirely retrained.
The authors tackle this gap by asking: Can we execute a multi-targeted adversarial attack on a completely unknown black-box model, trained on an unknown dataset, using only a single target image as a guide?
Methods
CD-MTA achieves this class-agnostic, cross-domain capability by shifting from semantic-driven optimization (like class labels or text embeddings) to structural and feature-driven optimization.
The architecture consists of a shared trainable encoder, a novel Feature Injection Module, and a decoder:
- Feature Injection Module (FIM): Instead of using a pretrained white-box classifier to encode the target image, CD-MTA passes both the source and target images through a shared trainable encoder. The FIM then uses SPADE (Spatially-Adaptive Normalization) to inject the structural and local features of the target image into the source image features, preserving spatial layouts.
- Class-Agnostic Feature Objective ($L_{feat}$): Rather than optimizing against cross-entropy or logit-based losses (which overfit to specific training classes), the framework minimizes the cosine distance between the intermediate feature maps of the perturbed image and the target image.
- Dual Reconstruction Objective (FRO, $L_{fr}$): To prevent feature collapse, the model simultaneously enforces a visual reconstruction of the source image and a feature-space reconstruction of the target image. This ensures the generator retains target-relevant information without relying on class semantics.
Datasets
The framework was trained on a single public dataset and evaluated across multiple unseen domains:
- Training: A subset of ImageNet (200 classes, ~65k images).
- Source-Domain Evaluation: The remaining 800 unseen classes of ImageNet.
- Cross-Domain Evaluation:
- Fine-grained datasets: CUB-200-2011 (birds), Stanford Cars, and FGVC Aircraft.
- Coarse-grained datasets: CIFAR-10, CIFAR-100, STL-10, and SVHN.
Key Insights and Ideas
- The Logit Overfitting Trap: Prior multi-targeted attacks (like GAKer or CGNC) rely heavily on class semantics (logits or CLIP text embeddings). The authors demonstrate that this causes the generator to overfit to the training classes, severely hindering performance on novel target classes.
- The 14×14 Resolution Sweet Spot: Through ablation studies, the authors found that extracting features from intermediate layers with a 14×14 spatial resolution yields the best transferability. Shallower layers lack discriminative features, while deeper layers (and logits) introduce dataset-specific biases that destroy cross-domain generalization.
- True Zero-Shot Targeted Attacks: By treating the target image purely as a spatial feature map to be aligned, CD-MTA can target classes it has never encountered during training, mimicking a human's ability to match visual patterns without knowing the "name" of the object.
Key Results
CD-MTA consistently outperformed state-of-the-art multi-targeted baselines (GAKer, CGNC, Dual-Flow) in both black-box and cross-domain scenarios:
- Unseen ImageNet Classes: When attacking black-box models on unseen classes, CD-MTA achieved an average success rate of 23.96% to 31.81% (depending on the source architecture), outperforming the closest baseline (GAKer) by up to 15%.
- Cross-Domain Transferability: On fine-grained datasets like FGVC Aircraft, previous methods dropped to near 0% success rates due to data leakage constraints. CD-MTA achieved up to 21.11% success against an SENet154 model.
- Ensemble Training: Combining multiple white-box models during training boosted CD-MTA's success rates by an additional 10% on ImageNet and 5% on fine-grained datasets.
Limitations and Future Work
While CD-MTA represents a massive leap forward for practical adversarial testing, it faces a few limitations:
- Defended Models: The attack success rate declines noticeably when targeting models protected by strong defenses (like adversarial training or input transformations), though it still maintains higher untargeted misclassification rates than baselines.
- Beyond Classification: The current formulation is restricted to image classification. The authors note that adapting these class-agnostic feature alignment strategies to more complex tasks like object detection and semantic segmentation remains an open challenge for future work.
Summary updated