English

Metric Learning for Adversarial Robustness

Machine Learning 2019-10-29 v2 Cryptography and Security Computer Vision and Pattern Recognition Information Retrieval Machine Learning

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. 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.

Keywords

Cite

@article{arxiv.1909.00900,
  title  = {Metric Learning for Adversarial Robustness},
  author = {Chengzhi Mao and Ziyuan Zhong and Junfeng Yang and Carl Vondrick and Baishakhi Ray},
  journal= {arXiv preprint arXiv:1909.00900},
  year   = {2019}
}
R2 v1 2026-06-23T11:03:32.970Z