White-to-Black: Efficient Distillation of Black-Box Adversarial Attacks

Yotam Gil, Yoav Chai, Or Gorodissky, Jonathan Berant
4/4/2019
cs.LGcs.CRstat.ML
distillation

Official code: orgoro/white-2-black (12 stars, Python, last commit 2019-06-04).

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).

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

The official code to reproduce results from the NACCL2019 paper: White-to-Black: Efficient Distillation of Black-Box Adversarial Attacks

121PythonJun 18, 20187 years ago
adversarial-attacksadversarial-networksnlptoxic-comment-classificationtoxicity

Similar Papers

Cite this paper

@article{gil2019whitetoblack,
  title  = {White-to-Black: Efficient Distillation of Black-Box Adversarial Attacks},
  author = {Yotam Gil and Yoav Chai and Or Gorodissky and Jonathan Berant},
  year   = {2019},
  eprint = {1904.02405},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.02405}
}

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

Discussion