Adversarial Attack and Defense in Deep Ranking
- 13 February 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Pattern Analysis and Machine Intelligence
- Vol. 46 (8) , 5306-5324
Abstract
Deep Neural Network classifiers are vulnerable to adversarial attacks, 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. 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 adversarial attack from pulling the positive and negative samples close to each other. 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 our attacks can effectively compromise a typical deep ranking system. Nevertheless, our defense can significantly improve the ranking system's robustness and simultaneously mitigate a wide range of attacks.Keywords
All Related Versions
Funding Information
- National Key R&D Program of China (2021YFB1714700)
- National Natural Science Foundation of China (62088102, 62106192)
- Natural Science Foundation of Shaanxi Province (2022JC-41)
- Fundamental Research Funds for the Central Universities (XTR042021005)
This publication has 53 references indexed in Scilit:
- A Metric Learning Reality Check2020
- Adversarial Ranking Attack and Defense2020
- Towards Robust Neural Networks via Random Self-ensemble2018
- Deep Residual Learning for Image Recognition2016
- Deep Metric Learning via Lifted Structured Feature Embedding2016
- Rethinking the Inception Architecture for Computer Vision2016
- FaceNet: A unified embedding for face recognition and clustering2015
- Learning Fine-Grained Image Similarity with Deep Ranking2014
- Large Scale Online Learning of Image Similarity through Ranking2009
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998