Skip to main content
QUICK REVIEW

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

Deok‐Sun Lee, Seungyong Moon|arXiv (Cornell University)|Jun 17, 2022
Adversarial Robustness in Machine LearningComputer Science11 citations
TL;DR

This paper proposes Blockwise Bayesian Attack (BBA), a query-efficient black-box adversarial attack for discrete sequential data using Bayesian optimization with an automatic relevance determination (ARD) categorical kernel to dynamically identify important positions. BBA achieves state-of-the-art attack success rates with significantly fewer queries and lower modification rates across NLP and protein classification tasks by leveraging block decomposition, history subsampling, and post-optimization.

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

Motivation & Objective

  • To address the limitations of greedy black-box attacks on discrete sequential data, which restrict search space and yield suboptimal results.
  • To improve query efficiency and scalability in black-box adversarial attacks on long sequences, especially in discrete, high-dimensional spaces.
  • To develop a method that dynamically identifies important positions for perturbation using query history and semantic similarity.
  • To reduce perturbation size through a post-optimization algorithm without sacrificing attack success.
  • To demonstrate generalizability across diverse domains, including text and protein sequences.

Proposed method

  • Introduces an ARD categorical kernel in Bayesian optimization to automatically learn the importance of each categorical variable (e.g., word or amino acid) in the input sequence based on query feedback.
  • Applies block decomposition to partition long sequences into manageable blocks, enabling scalable optimization over high-dimensional input spaces.
  • Employs history subsampling to reduce computational cost of Gaussian process inference while preserving optimization accuracy.
  • Uses a DPP-based batch update strategy to select diverse, informative sequences for parallel evaluation, improving query efficiency.
  • Implements a post-optimization algorithm that refines adversarial examples to minimize perturbation size while maintaining misclassification.
  • Defines attack spaces using semantic similarity—WordNet for text and experimental exchangeability (ExEx) for proteins—to construct meaningful synonym sets.

Experimental results

Research questions

  • RQ1Can Bayesian optimization with an ARD categorical kernel outperform greedy methods in query efficiency and attack success on discrete sequential data?
  • RQ2How does block decomposition and history subsampling affect scalability and performance in long-sequence adversarial attacks?
  • RQ3To what extent does the DPP-based batch update improve query efficiency compared to greedy batch selection?
  • RQ4Can post-optimization reduce perturbation size without lowering attack success rate?
  • RQ5How generalizable is the proposed method across different domains, such as NLP and protein sequence classification?

Key findings

  • BBA achieves 99.8% attack success rate on EC50 protein classification with only 2.0% modification rate and 231 average queries, outperforming baseline methods.
  • On BERT-base for Yelp sentiment, BBA reaches 77.4% attack success with 14.0% modification rate and 154 average queries, significantly reducing both MR and Qrs compared to PWWS.
  • In ablation studies, DPP-based batch update improves attack success rate and reduces queries by up to 15% compared to greedy batch selection.
  • On AG’s News, BBA fools 363 out of 500 texts with 14.0% MR and 154 queries, while PWWS fools only 267 with 18.3% MR and 367 queries.
  • For BERT-large and XLNet-large models, BBA maintains superior performance across all metrics, confirming robustness across model architectures.
  • Post-optimization reduces perturbation size on successfully attacked examples, with BBA achieving 14.0% MR on BERT-base (AG’s News) compared to 18.3% for PWWS on the same subset.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.