Standard adversarial attacks typically focus on the "Top-1" scenario, where the goal is to flip a model's primary prediction to a specific target label. However, many real-world applications—from recommendation systems to medical diagnostics—rely on a ranked list of predictions (Top-k). This paper explores the limits of white-box attacks by introducing ordered Top-k adversarial attacks, which aim to control the entire top of a model's prediction list in a specific sequence.
The Ordered Top-k Challenge
The authors propose a "stress test" for model robustness: can an attacker push the ground-truth (GT) label entirely out of the top rankings while dictating exactly which labels appear in the top $k$ slots and in what order? This is significantly more difficult than Top-1 attacks because it requires satisfying multiple constraints simultaneously. If an attack flips the Top-1 result but the ground truth remains at Top-2, the system might still be functionally robust; thus, moving the GT label further down the list is a key metric of attack quality.
Adversarial Distillation (AD) Framework
To address this, the paper introduces Adversarial Distillation (AD). Unlike traditional methods that push individual logits (like the Carlini-Wagner attack), AD treats the attack as a knowledge distillation problem:
- Target Distribution: An "adversarial probability distribution" is created where the $k$ target labels have high, ordered probabilities.
- Optimization: The image perturbation is optimized by minimizing the Kullback-Leibler (KL) divergence between the model’s prediction and this target distribution.
- Semantic Smoothing: Using GloVe word embeddings, the target distribution is "smoothed" by assigning higher probabilities to labels semantically similar to the targets, providing a more natural optimization path for the model to follow.
Experimental Evaluation
Experiments on ImageNet-1000 using architectures like ResNet-50 and DenseNet-121 demonstrate the superiority of AD over a modified Carlini-Wagner ($CW^k$) baseline.
As shown in Figure 1, the AD method is remarkably efficient. In limited-budget settings (30 iterations), AD achieves significantly higher success rates than $CW^k$, especially as the number of target tasks ($k$) increases. For Top-10 attacks on ResNet-50, the AD method achieved a 94.3% success rate in the most difficult scenarios, compared to only 20.4% for the modified C&W method.
Visual Fidelity and Efficiency
Beyond success rates, the AD method produces higher-quality adversarial examples. By matching a full distribution rather than just pushing margins, the optimization process finds more effective perturbations with lower $\ell_2$ energy. This means the adversarial changes are more subtle and less likely to be detected by human observers.
Figure 4 illustrates that AD consistently results in lower $\ell_2$ norms of perturbation compared to $CW^k$ and other baselines like PGD or MIFGSM. For instance, in the Top-1 attack scenario, AD achieved a norm of 0.48 compared to $CW^k$'s 0.58 at the same iteration count, representing a more efficient and stealthy attack.
Conclusion
Adversarial Distillation provides a powerful framework for generating ordered Top-k attacks. By leveraging label semantics and distribution matching, it outperforms traditional logit-pushing methods in both success rate and efficiency. This research highlights a critical vulnerability in ranking-based systems and underscores the need for more robust defenses that consider the entire prediction distribution.
Summary updated