Query-Efficient and Scalable Black-Box Adversarial Attacks on Discrete Sequential Data via Bayesian Optimization

Deokjae Lee, Seungyong Moon, Junhyeok Lee, Hyun Oh Song
6/17/2022
cs.LGcs.CR
bayesian

Official code: snu-mllab/DiscreteBlockBayesAttack (26 stars, Python, MIT, last commit 2023-09-26).

Abstract

We focus on the problem of adversarial attacks against models on discrete sequential data in the black-box setting where the attacker aims to craft adversarial examples with limited query access to the victim model. Existing black-box attacks, mostly based on greedy algorithms, find adversarial examples using pre-computed key positions to perturb, which severely limits the search space and might result in suboptimal solutions.

Show full abstract

To this end, we propose a query-efficient black-box attack using Bayesian optimization, which dynamically computes important positions using an automatic relevance determination (ARD) categorical kernel. We introduce block decomposition and history subsampling techniques to improve the scalability of Bayesian optimization when an input sequence becomes long. Moreover, we develop a post-optimization algorithm that finds adversarial examples with smaller perturbation size. Experiments on natural language and protein classification tasks demonstrate that our method consistently achieves higher attack success rate with significant reduction in query count and modification rate compared to the previous state-of-the-art methods.

View on arXivView PDF

Code Implementations(1)

MIT

Official PyTorch implementation of "Query-Efficient and Scalable Black-Box Adversarial Attacks on Discrete Sequential Data via Bayesian Optimization" (ICML'22)

265PythonJun 2, 20223 years agoMIT
adversarial-attacks

Similar Papers

Cite this paper

@article{lee2022queryefficient,
  title  = {Query-Efficient and Scalable Black-Box Adversarial Attacks on Discrete Sequential Data via Bayesian Optimization},
  author = {Deokjae Lee and Seungyong Moon and Junhyeok Lee and Hyun Oh Song},
  year   = {2022},
  eprint = {2206.08575},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.08575}
}

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

Discussion