White-to-Black: Efficient Distillation of Black-Box Adversarial Attacks
arXiv:1904.02405
Abstract
Adversarial examples are important for understanding the behavior of neural models, and can improve their robustness through adversarial training. Recent work in natural language processing generated adversarial examples by assuming white-box access to the attacked model, and optimizing the input directly against it (Ebrahimi et al., 2018). In this work, we show that the knowledge implicit in the optimization procedure can be distilled into another more efficient neural network. We train a model to emulate the behavior of a white-box attack and show that it generalizes well across examples. Moreover, it reduces adversarial example generation time by 19x-39x. We also show that our approach transfers to a black-box setting, by attacking The Google Perspective API and exposing its vulnerability. Our attack flips the API-predicted label in 42\% of the generated examples, while humans maintain high-accuracy in predicting the gold label.
arXiv commentAccepted to NAACL-HLT 2019 as conference paper
References in corpus (5)
- Transferability in Machine Learning: from Phenomena to Black-Box Attacks using Adversarial Samples
- Delving into Transferable Adversarial Examples and Black-box Attacks
- Synthetic and Natural Noise Both Break Neural Machine Translation
- Deceiving Google's Perspective API Built for Detecting Toxic Comments
- Shielding Google's language toxicity model against adversarial attacks