HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Theoretically Principled Trade-off between Robustness and Accuracy

Hongyang Zhang; Yaodong Yu; Jiantao Jiao; Eric P. Xing; Laurent El Ghaoui; Michael I. Jordan

Theoretically Principled Trade-off between Robustness and Accuracy

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.

Code Repositories

zjfheart/Friendly-Adversarial-Training
pytorch
Mentioned in GitHub
nutellamok/advrush
pytorch
Mentioned in GitHub
yaodongyu/TRADES
Official
pytorch
Mentioned in GitHub
TonyYaoMSU/TRADES
pytorch
Mentioned in GitHub
val-iisc/flss
pytorch
Mentioned in GitHub
arobey1/advbench
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
adversarial-attack-on-cifar-10TRADES [zhang2019b]
Attack: PGD20: 45.900

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Theoretically Principled Trade-off between Robustness and Accuracy | Papers | HyperAI