Provably Robust Metric Learning

Lu Wang, Xuanqing Liu, Jinfeng Yi, Yuan Jiang, Cho-Jui Hsieh
6/12/2020
7 citations
cs.LGstat.ML

Official code: wangwllu/provably_robust_metric_learning (9 stars, Python, last commit 2022-01-29).

Abstract

Metric learning is an important family of algorithms for classification and similarity search, but the robustness of learned metrics against small adversarial perturbations is less studied. In this paper, we show that existing metric learning algorithms, which focus on boosting the clean accuracy, can result in metrics that are less robust than the Euclidean distance.

Show full abstract

To overcome this problem, we propose a novel metric learning algorithm to find a Mahalanobis distance that is robust against adversarial perturbations, and the robustness of the resulting model is certifiable. Experimental results show that the proposed metric learning algorithm improves both certified robust errors and empirical robust errors (errors under adversarial attacks). Furthermore, unlike neural network defenses which usually encounter a trade-off between clean and robust errors, our method does not sacrifice clean errors compared with previous metric learning methods. Our code is available at https://github.com/wangwllu/provably_robust_metric_learning.

View on arXivView PDF

Code Implementations(1)

A metric learning method to learn a provably robust Mahalanobis distance

91PythonJun 12, 20204 years ago

Similar Papers

Cite this paper

@article{wang2020provably,
  title  = {Provably Robust Metric Learning},
  author = {Lu Wang and Xuanqing Liu and Jinfeng Yi and Yuan Jiang and Cho-Jui Hsieh},
  year   = {2020},
  eprint = {2006.07024},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.07024}
}

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

Discussion