Semantic-Aware Adversarial Training for Reliable Deep Hashing Retrieval

Xu Yuan, Zheng Zhang, Xunguang Wang, Lin Wu
10/23/2023
43 citations
cs.CVcs.LGcs.MM

Official code: xandery-geek/SAAT (10 stars, Python, last commit 2023-09-03).

Abstract

Deep hashing has been intensively studied and successfully applied in large-scale image retrieval systems due to its efficiency and effectiveness. Recent studies have recognized that the existence of adversarial examples poses a security threat to deep hashing models, that is, adversarial vulnerability.

Show full abstract

Notably, it is challenging to efficiently distill reliable semantic representatives for deep hashing to guide adversarial learning, and thereby it hinders the enhancement of adversarial robustness of deep hashing-based retrieval models. Moreover, current researches on adversarial training for deep hashing are hard to be formalized into a unified minimax structure. In this paper, we explore Semantic-Aware Adversarial Training (SAAT) for improving the adversarial robustness of deep hashing models. Specifically, we conceive a discriminative mainstay features learning (DMFL) scheme to construct semantic representatives for guiding adversarial learning in deep hashing. Particularly, our DMFL with the strict theoretical guarantee is adaptively optimized in a discriminative learning manner, where both discriminative and semantic properties are jointly considered. Moreover, adversarial examples are fabricated by maximizing the Hamming distance between the hash codes of adversarial samples and mainstay features, the efficacy of which is validated in the adversarial attack trials. Further, we, for the first time, formulate the formalized adversarial training of deep hashing into a unified minimax optimization under the guidance of the generated mainstay codes. Extensive experiments on benchmark datasets show superb attack performance against the state-of-the-art algorithms, meanwhile, the proposed adversarial training can effectively eliminate adversarial perturbations for trustworthy deep hashing-based retrieval. Our code is available at https://github.com/xandery-geek/SAAT.

View on arXivView PDF

Code Implementations(1)

xandery-geek/SAATOfficial100%

[IEEE TIFS] Official PyTorch code for SAAT: Semantic-Aware Adversarial Training for Reliable Deep Hashing Retrieval.

103PythonMar 15, 20223 years ago

Similar Papers

Cite this paper

@article{yuan2023semanticaware,
  title  = {Semantic-Aware Adversarial Training for Reliable Deep Hashing Retrieval},
  author = {Xu Yuan and Zheng Zhang and Xunguang Wang and Lin Wu},
  year   = {2023},
  eprint = {2310.14637},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.14637v2}
}

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/2310.14637.svg)](https://codeofpaper.com/paper/2310.14637)

Discussion