Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Adversarial Examples: Attacks and Defenses for Deep Learning

Survey reviews how adversarial examples fool deep networks and how to defend them

  • Problem Deep networks can be fooled by inputs changed too little for people to notice. This matters most in safety-critical systems, where a fooled model can make costly errors.
  • Method The authors group attacks by threat model, perturbation size and attack frequency. They first fix what the attacker may do: tamper only with test-time inputs, without changing the model or its training data.
  • Results JSMA reached a 97% adversarial success rate while modifying 4.02% of the input features per sample.

Why test-time perturbations matter

Deep networks can reach high accuracy on clean data and still be fooled by inputs that differ only slightly from the originals. The risk is sharpest where such models sit in safety-critical systems, such as face authentication in ATMs or traffic sign recognition. Before comparing attack methods, the authors fix what the attacker is allowed to do.

Under this threat model the attacker tampers only with test-time inputs, after the victim model has been trained. The attacker may know the architecture and parameters but cannot modify the model or its training data. Training-stage poisoning is excluded from the scope. The attacker aims at integrity, meaning more false positives and false negatives, rather than confidentiality or privacy.

Gradient-sign attacks: FGSM and its iterative extension

FGSM takes one step along the sign of the loss gradient at each input entry, scaled by a size \(\epsilon\). The perturbation is \[\eta=\epsilon\,\mathrm{sign}(\nabla_x J_\theta(x,l))\] and the adversarial input is \(x'=x+\eta\). Because only the sign is kept, every entry moves by the same amount, and back-propagation supplies the gradient.

BIM repeats smaller gradient-sign steps instead of one large step, which the authors describe as a finer optimization. After each step the result is clipped so that no pixel strays too far from its original value, giving the update \(x^{n+1}=\mathrm{Clip}_{x,\xi}\{x^n+\epsilon\,\mathrm{sign}(\nabla_x J(x^n,y))\}\). ILLC changes the target: it picks the least-likely class of the prediction and maximizes the cross-entropy loss for that class.

In the authors' phototransformation test, FGSM stayed effective while the iterative methods did not resist the transformation.

Attacks that search for the smallest change

JSMA starts from the Jacobian of the model output with respect to the input, which shows how each input feature moves the output. Carlini and Wagner later changed the Jacobian to use the softmax output instead of the logits, which the authors argue locates the features with the largest effect. In the authors' experiment JSMA reached a 97% adversarial success rate while modifying 4.02% of the input features per sample.

The method runs very slowly because each iteration carries a large computational cost.

DeepFool approaches the problem from geometry: it looks for the closest decision boundary to the input. It linearizes the model at each iterate and solves \[\arg\min_{\eta_i}\|\eta_i\|_2\ \text{s.t.}\ f(x_i)+\nabla f(x_i)^T\eta_i=0\], so each step moves the input to the linearized boundary. In the authors' comparison, DeepFool produced less perturbation than FGSM and JSMA.

Compared to JSMA, DeepFool reduces the size of the perturbation rather than the number of features it changes.

Black-box and single-pixel attacks

ZOO avoids gradients by estimating them from the model's outputs with symmetric difference quotients, so it can run as a black-box attack. The estimates use \[\frac{\partial f(x)}{\partial x_i}\approx\frac{f(x+he_i)-f(x-he_i)}{2h}\], where \(h\) is a small constant. The price is many queries to the model, which makes the attack computationally expensive.

The authors report that ZOO performed comparably to C&W's Attack.

The One Pixel Attack limits the perturbation to a single changed pixel, so \(\|\eta\|_0\le 1\). Because the constraint is not differentiable in a useful way, the authors use differential evolution, which needs no gradients. On CIFAR-10 with AllConv, NiN and VGG16, 70.97% of images were fooled with at least one target class. Those fooled predictions had an average confidence of 97.47%.

These numbers hold only for that dataset and those three networks, so they don't show the same effect on ImageNet.

Universal Perturbation seeks one vector that fools the model on most inputs, instead of a new perturbation per input. It builds that vector by repeatedly applying DeepFool to each input and adding the result to the total perturbation. The authors report that the perturbation generalizes across VGG, CaffeNet, GoogLeNet and ResNet.

Why the defenses hold only in part

Adversarial training puts generated adversarial examples into the training set at each step. On ImageNet it made the model more robust to one-step attacks such as FGSM, but it did not help against iterative attacks such as BIM and ILLC. The authors of that study suggest adversarial training is mainly useful as a regularizer against overfitting.

Network Distillation reduced the success rate of JSMA by 0.5% on MNIST and by 5% on CIFAR-10. These are drops in success rate, so the attack still succeeds on most inputs in those experiments.

Detection methods look for adversarial inputs at test time, but Carlini and Wagner showed that most of them fail against C&W's Attack after slight changes to its loss function. Reluplex can verify a ReLU network against small perturbations, yet it runs very slowly and, according to the cited work, handles only networks with several hundred nodes.

MagNet combines detectors with a reconstructor, but a later study found that ensembling several such defenses doesn't make networks strong.

Limitations

The reported results come from different datasets and victim models, so comparisons across the surveyed papers aren't controlled. The authors argue that ImageNet is the best benchmark because MNIST and CIFAR-10 are easy to attack and defend. They also note that a well-designed dataset is still required to evaluate attacks.

Why adversarial examples transfer between models, and whether they are an inherent property of deep networks, remain open questions. No existing paper explains how the different application areas relate or offers one method that covers all of them.

Paper info

Authors
Xiaoyong Yuan, Pan He, Qile Zhu, Xiaolin Li
Venue
arXiv · Preprint
First published
2017-12-19
Added
2026-11-12
Updated
2018-7-7
Version
v3
arXiv
1712.07107
Category
cs.LG · cs.CR · cs.CV · stat.ML
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Xiaoyong Yuan, Pan He, Qile Zhu, Xiaolin Li (2017). Adversarial Examples: Attacks and Defenses for Deep Learning. arXiv:1712.07107v3. https://arxiv.org/abs/1712.07107v3

BibTeX
@misc{yuan2017adversarial,
  title = {{Adversarial Examples: Attacks and Defenses for Deep Learning}},
  author = {Xiaoyong Yuan and Pan He and Qile Zhu and Xiaolin Li},
  year = {2017},
  eprint = {1712.07107},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.07107v3}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up