Exploring Adversarial Robustness of Deep Metric Learning

Thomas Kobber Panum, Zi Wang, Pengyu Kan, Earlence Fernandes, Somesh Jha
2/14/2021
cs.LGcs.AI

Official code: anonymous-koala-supporter/adversarial-deep-metric-learning (4 stars, Python, last commit 2022-10-04).

Abstract

Deep Metric Learning (DML), a widely-used technique, involves learning a distance metric between pairs of samples. DML uses deep neural architectures to learn semantic embeddings of the input, where the distance between similar examples is small while dissimilar ones are far apart.

Show full abstract

Although the underlying neural networks produce good accuracy on naturally occurring samples, they are vulnerable to adversarially-perturbed samples that reduce performance. We take a first step towards training robust DML models and tackle the primary challenge of the metric losses being dependent on the samples in a mini-batch, unlike standard losses that only depend on the specific input-output pair. We analyze this dependence effect and contribute a robust optimization formulation. Using experiments on three commonly-used DML datasets, we demonstrate 5-76 fold increases in adversarial accuracy, and outperform an existing DML model that sought out to be robust.

View on arXivView PDF

Code Implementations(1)

Code used for the work "Exploring Adversarial Robustness of Deep Metric Learning"

42PythonFeb 4, 20214 years ago

Similar Papers

Cite this paper

@article{panum2021exploring,
  title  = {Exploring Adversarial Robustness of Deep Metric Learning},
  author = {Thomas Kobber Panum and Zi Wang and Pengyu Kan and Earlence Fernandes and Somesh Jha},
  year   = {2021},
  eprint = {2102.07265},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.07265}
}

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

Discussion