Blacklight: Scalable Defense for Neural Networks against Query-Based Black-Box Attacks

Huiying Li, Shawn Shan, Emily Wenger, Jiayun Zhang, Haitao Zheng +1 more
6/24/2020
cs.CRcs.CVcs.LG

Official code: Huiying-Li/blacklight (21 stars, Jupyter Notebook, MPL-2.0, last commit 2022-06-24).

Abstract

Deep learning systems are known to be vulnerable to adversarial examples. In particular, query-based black-box attacks do not require knowledge of the deep learning model, but can compute adversarial examples over the network by submitting queries and inspecting returns.

Show full abstract

Recent work largely improves the efficiency of those attacks, demonstrating their practicality on today's ML-as-a-service platforms. We propose Blacklight, a new defense against query-based black-box adversarial attacks. The fundamental insight driving our design is that, to compute adversarial examples, these attacks perform iterative optimization over the network, producing image queries highly similar in the input space. Blacklight detects query-based black-box attacks by detecting highly similar queries, using an efficient similarity engine operating on probabilistic content fingerprints. We evaluate Blacklight against eight state-of-the-art attacks, across a variety of models and image classification tasks. Blacklight identifies them all, often after only a handful of queries. By rejecting all detected queries, Blacklight prevents any attack to complete, even when attackers persist to submit queries after account ban or query rejection. Blacklight is also robust against several powerful countermeasures, including an optimal black-box attack that approximates white-box attacks in efficiency. Finally, we illustrate how Blacklight generalizes to other domains like text classification.

View on arXivView PDF

Code Implementations(1)

MPL-2.0
211Jupyter Notebook, PythonMay 30, 20224 years agoMPL-2.0

Similar Papers

Cite this paper

@article{li2020blacklight,
  title  = {Blacklight: Scalable Defense for Neural Networks against Query-Based Black-Box Attacks},
  author = {Huiying Li and Shawn Shan and Emily Wenger and Jiayun Zhang and Haitao Zheng and Ben Y. Zhao},
  year   = {2020},
  eprint = {2006.14042},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.14042}
}

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

Discussion