Adversarial Attack and Defense in Deep Ranking
arXiv:2106.03614
Abstract
Deep Neural Network classifiers are vulnerable to adversarial attack, where an imperceptible perturbation could result in misclassification. However, the vulnerability of DNN-based image ranking systems remains under-explored. In this paper, we propose two attacks against deep ranking systems, i.e., Candidate Attack and Query Attack, that can raise or lower the rank of chosen candidates by adversarial perturbations. Specifically, the expected ranking order is first represented as a set of inequalities, and then a triplet-like objective function is designed to obtain the optimal perturbation. Conversely, an anti-collapse triplet defense is proposed to improve the ranking model robustness against all proposed attacks, where the model learns to prevent the positive and negative samples being pulled close to each other by adversarial attack. To comprehensively measure the empirical adversarial robustness of a ranking model with our defense, we propose an empirical robustness score, which involves a set of representative attacks against ranking models. Our adversarial ranking attacks and defenses are evaluated on MNIST, Fashion-MNIST, CUB200-2011, CARS196 and Stanford Online Products datasets. Experimental results demonstrate that a typical deep ranking system can be effectively compromised by our attacks. Nevertheless, our defense can significantly improve the ranking system robustness, and simultaneously mitigate a wide range of attacks.
References in corpus (17)
- Adam: A Method for Stochastic Optimization
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- Explaining and Harnessing Adversarial Examples
- Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
- Intriguing properties of neural networks
- Towards Deep Learning Models Resistant to Adversarial Attacks
- Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examples
- Synthesizing Robust Adversarial Examples
- Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- Adversarial Personalized Ranking for Recommendation
- Adversarial Examples Are Not Bugs, They Are Features
- Adversarial Machine Learning at Scale
- Adv-BNN: Improved Adversarial Defense through Robust Bayesian Neural Network
- Revisiting Training Strategies and Generalization Performance in Deep Metric Learning
- Adversarial Manipulation of Deep Representations
- Practical Relative Order Attack in Deep Ranking
- LAFEAT: Piercing Through Adversarial Defenses with Latent Features