Metric Learning for Adversarial Robustness

Chengzhi Mao, Ziyuan Zhong, Junfeng Yang, Carl Vondrick, Baishakhi Ray
9/3/2019
cs.LGcs.CRcs.CV

Official code: columbia/Metric_Learning_Adversarial_Robustness (48 stars, Python, TensorFlow, last commit 2020-05-18).

Abstract

Deep networks are well-known to be fragile to adversarial attacks. We conduct an empirical analysis of deep representations under the state-of-the-art attack method called PGD, and find that the attack causes the internal representation to shift closer to the "false" class.

Show full abstract

Motivated by this observation, we propose to regularize the representation space under attack with metric learning to produce more robust classifiers. By carefully sampling examples for metric learning, our learned representation not only increases robustness, but also detects previously unseen adversarial samples. Quantitative experiments show improvement of robustness accuracy by up to 4% and detection efficiency by up to 6% according to Area Under Curve score over prior work. The code of our work is available at https://github.com/columbia/Metric_Learning_Adversarial_Robustness.

View on arXivView PDF

Code Implementations(1)

TensorFlow

Code for NeurIPS 2019 Paper

488PythonOct 23, 20196 years ago
classificationmetric-learningrobustnesstensorflow

Similar Papers

Cite this paper

@article{mao2019metric,
  title  = {Metric Learning for Adversarial Robustness},
  author = {Chengzhi Mao and Ziyuan Zhong and Junfeng Yang and Carl Vondrick and Baishakhi Ray},
  year   = {2019},
  eprint = {1909.00900},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.00900}
}

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

Discussion