Query Attack via Opposite-Direction Feature:Towards Robust Image Retrieval

Zhedong Zheng, Liang Zheng, Yi Yang, Fei Wu
9/7/2018
cs.CV

Official code: layumi/U_turn (48 stars, MIT, last commit 2022-11-30). 1 more implementation below.

Abstract

Most existing works of adversarial samples focus on attacking image recognition models, while little attention is paid to the image retrieval task. In this paper, we identify two inherent challenges in applying prevailing image recognition attack methods to image retrieval. First, image retrieval demands discriminative visual features, which is significantly different from the one-hot class prediction in image recognition. Second, due to the disjoint and potentially unrelated classes between the training and test set in image retrieval, predicting the query category from predefined training classes is not accurate and leads to a sub-optimal adversarial gradient. To address these limitations, we propose a new white-box attack approach, Opposite-Direction Feature Attack (ODFA), to generate adversarial queries. Opposite-Direction Feature Attack (ODFA) effectively exploits feature-level adversarial gradients and takes advantage of feature distance in the representation space. To our knowledge, we are among the early attempts to design an attack method specifically for image retrieval. When we deploy an attacked image as the query, the true matches are prone to receive low ranks. We demonstrate through extensive experiments that (1) only crafting adversarial queries is sufficient to fool the state-of-the-art retrieval systems; (2) the proposed attack method, ODFA, leads to a higher attack success rate than classification attack methods, validating the necessity of leveraging characteristics of image retrieval; (3) the adversarial queries generated by our method have good transferability to other retrieval models without accessing their parameters, i.e.,the black-box setting.

View on arXivView PDF

Code Implementations(2)

layumi/U_turnOfficial100%
MIT

IJCV22 :see_no_evil: Attack your retrieval model via Query! They are not robust as you expected! :hear_no_evil:

482Shell, PythonMar 22, 20183 years agoMIT

:see_no_evil: We added our attacking method ODFA (https://arxiv.org/abs/1809.02681). The performance drops from 88.2% to 2.24% on Oxford. :hear_no_evil:

40PythonApr 17, 20194 years ago

Similar Papers

Cite this paper

@article{zheng2018query,
  title  = {Query Attack via Opposite-Direction Feature:Towards Robust Image Retrieval},
  author = {Zhedong Zheng and Liang Zheng and Yi Yang and Fei Wu},
  year   = {2018},
  eprint = {1809.02681},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.02681}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1809.02681.svg)](https://codeofpaper.com/paper/1809.02681)

Discussion