Enhancing Adversarial Robustness for Deep Metric Learning

Mo Zhou, Vishal M. Patel
3/2/2022
21 citations
cs.LGcs.CRcs.CV

Official code: cdluminate/robdml (20 stars, Python, Apache-2.0, last commit 2022-12-02).

Abstract

Owing to security implications of adversarial vulnerability, adversarial robustness of deep metric learning models has to be improved. In order to avoid model collapse due to excessively hard examples, the existing defenses dismiss the min-max adversarial training, but instead learn from a weak adversary inefficiently.

Show full abstract

Conversely, we propose Hardness Manipulation to efficiently perturb the training triplet till a specified level of hardness for adversarial training, according to a harder benign triplet or a pseudo-hardness function. It is flexible since regular training and min-max adversarial training are its boundary cases. Besides, Gradual Adversary, a family of pseudo-hardness functions is proposed to gradually increase the specified hardness level during training for a better balance between performance and robustness. Additionally, an Intra-Class Structure loss term among benign and adversarial examples further improves model robustness and efficiency. Comprehensive experimental results suggest that the proposed method, although simple in its form, overwhelmingly outperforms the state-of-the-art defenses in terms of robustness, training efficiency, as well as performance on benign examples.

View on arXivView PDF

Code Implementations(1)

cdluminate/robdmlOfficial100%
Apache-2.0

Enhancing Adversarial Robustness for Deep Metric Learning, CVPR, 2022

201Python, TeXOct 28, 20214 years agoApache-2.0
adversarial-defensecvpr2022deep-metric-learning

Similar Papers

Cite this paper

@article{zhou2022enhancing,
  title  = {Enhancing Adversarial Robustness for Deep Metric Learning},
  author = {Mo Zhou and Vishal M. Patel},
  year   = {2022},
  eprint = {2203.01439},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.01439}
}

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

Discussion