Online Adversarial Attacks

Andjela Mladenovic, Avishek Joey Bose, Hugo Berard, William L. Hamilton, Simon Lacoste-Julien +2 more
3/2/2021
cs.LGcs.CRcs.DS

Official code: facebookresearch/OnlineAttacks (14 stars, Python, MIT, last commit 2021-08-31).

Abstract

Adversarial attacks expose important vulnerabilities of deep learning models, yet little attention has been paid to settings where data arrives as a stream. In this paper, we formalize the online adversarial attack problem, emphasizing two key elements found in real-world use-cases: attackers must operate under partial knowledge of the target model, and the decisions made by the attacker are irrevocable since they operate on a transient data stream.

Show full abstract

We first rigorously analyze a deterministic variant of the online threat model by drawing parallels to the well-studied $k$-secretary problem in theoretical computer science and propose Virtual+, a simple yet practical online algorithm. Our main theoretical result shows Virtual+ yields provably the best competitive ratio over all single-threshold algorithms for $k<5$ -- extending the previous analysis of the $k$-secretary problem. We also introduce the \textit{stochastic $k$-secretary} -- effectively reducing online blackbox transfer attacks to a $k$-secretary problem under noise -- and prove theoretical bounds on the performance of Virtual+ adapted to this setting. Finally, we complement our theoretical results by conducting experiments on MNIST, CIFAR-10, and Imagenet classifiers, revealing the necessity of online algorithms in achieving near-optimal performance and also the rich interplay between attack strategies and online attack selection, enabling simple strategies like FGSM to outperform stronger adversaries.

View on arXivView PDF

Code Implementations(1)

MIT

Study of a hypothetical attack scenario where an attacker corrupts images that are fed into an AI system, and has only a few chances before risking being detected.

147Python, ShellFeb 25, 20215 years agoMIT

Similar Papers

Cite this paper

@article{mladenovic2021online,
  title  = {Online Adversarial Attacks},
  author = {Andjela Mladenovic and Avishek Joey Bose and Hugo Berard and William L. Hamilton and Simon Lacoste-Julien and Pascal Vincent and Gauthier Gidel},
  year   = {2021},
  eprint = {2103.02014},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.02014}
}

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

Discussion