Theoretically Principled Trade-off between Robustness and Accuracy

Hongyang Zhang, Yaodong Yu, Jiantao Jiao, Eric P. Xing, Laurent El Ghaoui +1 more
1/24/2019
cs.LGstat.ML

Official code: yaodongyu/TRADES (560 stars, MIT, last commit 2023-03-30).

Abstract

We identify a trade-off between robustness and accuracy that serves as a guiding principle in the design of defenses against adversarial examples. Although this problem has been widely studied empirically, much remains unknown concerning the theory underlying this trade-off. In this work, we decompose the prediction error for adversarial examples (robust error) as the sum of the natural (classification) error and boundary error, and provide a differentiable upper bound using the theory of classification-calibrated loss, which is shown to be the tightest possible upper bound uniform over all probability distributions and measurable predictors. Inspired by our theoretical analysis, we also design a new defense method, TRADES, to trade adversarial robustness off against accuracy. Our proposed algorithm performs well experimentally in real-world datasets. The methodology is the foundation of our entry to the NeurIPS 2018 Adversarial Vision Challenge in which we won the 1st place out of ~2,000 submissions, surpassing the runner-up approach by $11.41\%$ in terms of mean $\ell_2$ perturbation distance.

View on arXivView PDF

Code Implementations(1)

yaodongyu/TRADESOfficial100%
MIT

TRADES (TRadeoff-inspired Adversarial DEfense via Surrogate-loss minimization)

560124PythonJan 21, 20193 years agoMIT

Similar Papers

Cite this paper

@article{zhang2019theoretically,
  title  = {Theoretically Principled Trade-off between Robustness and Accuracy},
  author = {Hongyang Zhang and Yaodong Yu and Jiantao Jiao and Eric P. Xing and Laurent El Ghaoui and Michael I. Jordan},
  year   = {2019},
  eprint = {1901.08573},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1901.08573}
}

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

Discussion