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

Transferability in Machine Learning: from Phenomena to Black-Box Attacks using Adversarial Samples

Substitute models trained on oracle labels can fool commercial classifiers

  • Problem Attacks that need a model's internals fail when a service exposes only its labels. Earlier work left open whether the transfer route works for classifiers other than DNNs.
  • Method The authors train a substitute on labels from the victim model, using reservoir sampling to cap queries. They craft samples on the substitute and transfer them to the victim.
  • Results With 800 queries, an LR substitute's samples were misclassified 96.19% of the time by Amazon's classifier.

Why a remote classifier is hard to attack directly

Adversarial samples are inputs slightly altered so that a trained model returns a wrong output. Attacks that rely on a model's internals don't work when the service exposes only its outputs. The authors therefore assume an oracle: the adversary sees only the label predicted for inputs it chooses. Earlier work showed that a local DNN trained on the victim's outputs could craft samples that fooled the victim DNN.

That earlier work left open whether the same route works for other kinds of classifier. The route depends on adversarial sample transferability, where samples crafted against one model also mislead a different model. So the study asks two things: whether transfer holds within and across learning techniques, and whether a substitute can be learned from oracle labels alone.

Transfer inside and across learning techniques

The authors separate intra-technique transfer, between models of one technique, from cross-technique transfer, between models of two techniques. For each technique they trained five models on disjoint 10,000-sample subsets of MNIST and crafted samples on each. Logistic regression was the most exposed, with transfer rates above 94%. DNN transfer rates were at least 49%, and the diagonals for SVM, DT and kNN stood out more, which the authors read as some robustness.

Across techniques the picture is more uneven, and decision trees were the most vulnerable target. The DT attack couldn't be tuned to the L1 norm of the other attacks, so its perturbations were much smaller, with an average L1 norm of 1.05% versus 11.5% for the rest.

Growing the substitute's training set with Jacobian-based augmentation

The attacker starts from 100 MNIST test inputs, trains a rough substitute, and moves each input one step in a direction given by the substitute's Jacobian. The oracle labels each new input, and a fresh substitute is trained on the enlarged set. The update is \( S_{\rho+1} = \{\vec{x} + \lambda_\rho \cdot \mathrm{sgn}(J_f[\tilde{O}(\vec{x})]) : \vec{x} \in S_\rho\} \cup S_\rho \), where \(\lambda_\rho\) is the step size and \(\tilde{O}\) is the oracle's label.

The authors' first change is a step size that changes sign every \(\tau\) iterations, where the original work kept it fixed.

The second change limits the cost, because the set would otherwise double with each iteration. After the first \(\sigma\) iterations, Reservoir Sampling picks only \(\kappa\) inputs per iteration to augment. Each input has an equal chance of being picked, so the queries fall from \(n \cdot 2^{\rho}\) to \(n \cdot 2^{\sigma} + \kappa \cdot (\rho - \sigma)\).

The authors say the smaller training set doesn't significantly degrade the substitute.

How much the two refinements help

Adding Periodical Step Size raised that to 89.28%, so the sign flip improved the match rate. Reservoir Sampling then lowered the count from 8,928 matched labels to 8,290, which is still above the vanilla 7,801. So the refinements trade a little fidelity for a much smaller query budget.

Ten iterations with Reservoir Sampling need 3,600 oracle queries, while the vanilla technique needs 102,400. The decision tree oracle was the hard case, and DNN substitutes matched only 48% of its labels after ten iterations. For the other oracles the match fell between 77% and 83%. The authors attribute the gap for decision trees to their non-differentiability.

DNN, LR and SVM substitutes compared

The same augmentation carries over to logistic regression, because its softmax form resembles the DNN's output layer. LR substitutes were usually a little weaker than DNN ones, but they reached their asymptotic match after four iterations. For the LR oracle, the LR substitute with Periodical Step Size matched 84.01% of labels, versus 72.00% for the vanilla version.

That speed means fewer queries, since four iterations correspond to 1,600 oracle queries.

The authors then tried SVM substitutes with a new augmentation that moves points along the oracle class's weight vector. The refinements didn't change these numbers, and the authors suspect the SVM training and its decision boundaries. So the commercial attacks use only DNN and LR substitutes.

Attacks on Amazon and Google classifiers

The authors trained a classifier with Amazon Machine Learning on the MNIST training set, and it reached 92.17% accuracy on the MNIST test set. The service offered little tuning, so the authors kept the default settings. Using 800 queries, an LR substitute trained at rho 3 produced adversarial samples that the Amazon oracle misclassified at 96.19%, with epsilon 0.3.

The DNN substitute at the same point scored 87.44%, and more iterations didn't raise LR's rate further.

The Google Prediction API oracle had 92% accuracy on the same MNIST test set, and the authors used the same 100-sample start.

Crafting samples for SVMs and decision trees

The fast gradient sign method shifts each input by epsilon times the sign of the gradient of the cost. For a linear SVM, the authors move a sample in the direction orthogonal to the weight vector of its binary classifier, which needs no optimization. The update is \(\vec{x}^* = \vec{x} - \varepsilon \cdot \vec{w}[k] / \|\vec{w}_k\|\), where the norm is the Frobenius norm and epsilon sets the amount of distortion.

For decision trees, the method searches nearby leaves for one that belongs to a different class. It then changes the features along the path to that leaf, so the tree routes the sample there. The authors say this is the first crafting algorithm proposed for decision trees.

Limitations

Every transfer and substitute experiment uses MNIST. The SVM substitutes failed to approximate non-SVM oracles, and the authors didn't test other augmentation techniques for them. The attack assumes the adversary sees only the predicted label, not the probabilities.

The authors infer that Amazon uses logistic regression from their results. The defense test added only the adversarial samples and retrained with the same procedure. Poisoning attacks at training time remain for future work.

Paper info

Authors
Nicolas Papernot, Patrick McDaniel, Ian Goodfellow
Venue
arXiv · Preprint
First published
2016-5-24
Added
2026-11-12
Updated
2016-5-24
Version
v1
arXiv
1605.07277
Category
cs.CR · cs.LG
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

Nicolas Papernot, Patrick McDaniel, Ian Goodfellow (2016). Transferability in Machine Learning: from Phenomena to Black-Box Attacks using Adversarial Samples. arXiv:1605.07277v1. https://arxiv.org/abs/1605.07277v1

BibTeX
@misc{papernot2016transferability,
  title = {{Transferability in Machine Learning: from Phenomena to Black-Box Attacks using Adversarial Samples}},
  author = {Nicolas Papernot and Patrick McDaniel and Ian Goodfellow},
  year = {2016},
  eprint = {1605.07277},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1605.07277v1}
}

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