MMA Training: Direct Input Space Margin Maximization through Adversarial Training

Gavin Weiguang Ding, Yash Sharma, Kry Yik Chau Lui, Ruitong Huang
12/6/2018
cs.LGcs.NEstat.ML

Official code: BorealisAI/mma_training (34 stars, Python, last commit 2020-04-01).

Abstract

We study adversarial robustness of neural networks from a margin maximization perspective, where margins are defined as the distances from inputs to a classifier's decision boundary. Our study shows that maximizing margins can be achieved by minimizing the adversarial loss on the decision boundary at the "shortest successful perturbation", demonstrating a close connection between adversarial losses and the margins.

Show full abstract

We propose Max-Margin Adversarial (MMA) training to directly maximize the margins to achieve adversarial robustness. Instead of adversarial training with a fixed $ε$, MMA offers an improvement by enabling adaptive selection of the "correct" $ε$ as the margin individually for each datapoint. In addition, we rigorously analyze adversarial training with the perspective of margin maximization, and provide an alternative interpretation for adversarial training, maximizing either a lower or an upper bound of the margins. Our experiments empirically confirm our theory and demonstrate MMA training's efficacy on the MNIST and CIFAR10 datasets w.r.t. $\ell_\infty$ and $\ell_2$ robustness. Code and models are available at https://github.com/BorealisAI/mma_training.

View on arXivView PDF

Code Implementations(1)

Code for the paper "MMA Training: Direct Input Space Margin Maximization through Adversarial Training"

3411Python, ShellApr 17, 20196 years agoNOASSERTION
adversarial-trainingrobustness

Similar Papers

Cite this paper

@article{ding2018training,
  title  = {MMA Training: Direct Input Space Margin Maximization through Adversarial Training},
  author = {Gavin Weiguang Ding and Yash Sharma and Kry Yik Chau Lui and Ruitong Huang},
  year   = {2018},
  eprint = {1812.02637},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1812.02637}
}

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

Discussion