Introduction
Adversarial attacks against Deep Neural Networks (DNNs) typically fall into two categories: white-box (where the attacker has full access to the model's architecture and weights) and black-box (where the attacker can query the model to observe its outputs). However, real-world systems often operate in a "no-box" setting. In these scenarios, the model's architecture is hidden, and querying the API is either impossible, prohibitively expensive, or strictly rate-limited.
This paper introduces a highly practical no-box adversarial attack. The authors demonstrate how an attacker can fool a DNN without any access to its architecture, parameters, training data, or query capabilities. By training specialized auto-encoders on as few as 10 to 20 images from the target domain, the authors generate adversarial perturbations that transfer remarkably well to real-world, commercial systems.
The Challenge of Limited Data
Previous research suggested that no-box attacks were possible via "transferability"—creating an attack on a local substitute model and hoping the generated adversarial examples fool the target model. However, these methods usually required the attacker to possess a large, similar dataset to train their local substitute.
The authors tackle an extreme, highly realistic constraint: How can an attack be mounted with zero model access and only a handful of example images?
The core challenge is that training a standard classification model on just 20 images leads to massive overfitting. The model simply memorizes the specific pixels of those few images rather than learning generalizable features. Consequently, any adversarial attacks generated from such a brittle model are weak and fail to transfer to the target system.
Methodology: Auto-Encoders as Substitute Models
To overcome the overfitting problem, the authors abandon standard classification models and instead utilize image-to-image auto-encoders. By focusing on reconstruction rather than classification, auto-encoders capture the underlying distribution and internal statistics of the images more effectively, which is crucial for transferability.
The authors propose three training mechanisms for these substitute auto-encoders:
- Reconstruction from Rotation: The model is trained to take a rotated image and correct it to a front-facing view.
- Reconstruction from Jigsaw: The model takes shuffled image patches and attempts to reconstruct the original, coherent image.
- Prototypical Image Reconstruction: This supervised approach proved to be the most effective. The model is forced to reconstruct a specific "prototype" image for a given class. For instance, any input image of a "dog" must be reconstructed as one specific, high-quality "dog" prototype.
Once these substitute models are trained, the authors use a cross-entropy-style loss to craft adversarial examples. They specifically employ Intermediate Level Attacks (ILA), which perturb the features in the middle layers of the network. This maximizes the "drift" of the image representation, significantly boosting how well the attack transfers to unknown victim models.
Key Results and Real-World Impact
The researchers evaluated their approach across multiple datasets, including ImageNet for general classification and Labeled Faces in the Wild (LFW) for face verification.
- Superior Transferability: On ImageNet, the Prototypical attack reduced the average accuracy of victim models to 31.26%, a stark contrast to the 81.29% accuracy maintained against a naïve supervised substitute model.
- Outperforming Large-Scale Models: Surprisingly, these no-box attacks (trained on just 20 images) frequently outperformed "Beyonder" attacks, which are generated from models trained on massive, 1.2-million-image datasets.
- Commercial System Vulnerability: To demonstrate practical viability, the authors attacked Clarifai.com, a real-world commercial celebrity recognition API. Using only 10 facial images for training, their approach plummeted the system's accuracy to a mere 15.40%.
- Biometric Security: The attacks successfully fooled advanced face recognition models like FaceNet and CosFace, highlighting severe vulnerabilities in security-critical biometric systems.
Limitations and Future Directions
While highly effective, the attack does have limitations. The attacker still requires some domain knowledge—specifically, a small set of images from the same domain as the target task. It remains unclear how the attack performs if the domain is highly specialized or if the auxiliary data is noisy. Furthermore, the authors noted that their prototypical models had not fully converged during training, suggesting that even more potent attacks might be possible with further optimization.
Finally, while adversarial training offers some defense, current defensive mechanisms are not fully prepared for this specific no-box threat model, marking it as a critical area for future security research.
Summary updated