Skip to main content
QUICK REVIEW

[Paper Review] Spanning Attack: Reinforce Black-box Attacks with Unlabeled Data

Lu Wang, Huan Zhang|arXiv (Cornell University)|May 11, 2020
Adversarial Robustness in Machine LearningComputer Science35 references4 citations
TL;DR

This paper proposes the spanning attack, a novel method to enhance query efficiency in black-box adversarial attacks by constraining adversarial perturbations within a low-dimensional subspace spanned by a small auxiliary unlabeled dataset. The approach significantly reduces query counts in both soft-label and hard-label attacks while maintaining high success rates, demonstrating that even a small, biased unlabeled dataset suffices for effective attack performance.

ABSTRACT

Adversarial black-box attacks aim to craft adversarial perturbations by querying input-output pairs of machine learning models. They are widely used to evaluate the robustness of pre-trained models. However, black-box attacks often suffer from the issue of query inefficiency due to the high dimensionality of the input space, and therefore incur a false sense of model robustness. In this paper, we relax the conditions of the black-box threat model, and propose a novel technique called the spanning attack. By constraining adversarial perturbations in a low-dimensional subspace via spanning an auxiliary unlabeled dataset, the spanning attack significantly improves the query efficiency of a wide variety of existing black-box attacks. Extensive experiments show that the proposed method works favorably in both soft-label and hard-label black-box attacks. Our code is available at https://github.com/wangwllu/spanning_attack.

Motivation & Objective

  • To address the high query complexity of black-box adversarial attacks, especially in hard-label settings where over 10,000 queries are often required.
  • To improve the efficiency and practicality of black-box attacks by reducing the effective dimensionality of the input space.
  • To relax the black-box threat model by assuming only a small auxiliary unlabeled dataset is available, a realistic and feasible condition.
  • To demonstrate that adversarial perturbations naturally lie in low-dimensional subspaces spanned by data manifolds, enabling efficient search.
  • To show the method's generalizability across various attack algorithms and model types, including non-differentiable models.

Proposed method

  • The method constructs a low-dimensional subspace using a small auxiliary unlabeled dataset, which acts as a proxy for the training data manifold.
  • Adversarial perturbations are constrained to this subspace via projection, reducing the search space dimensionality and improving optimization efficiency.
  • The approach is compatible with zeroth-order optimization methods used in black-box attacks, enabling integration with existing attack frameworks.
  • The subspace is formed using singular value decomposition (SVD) on the auxiliary dataset, with options to use top or bottom singular vectors for selective spanning.
  • The method supports both soft-label and hard-label attack settings by adapting the query feedback mechanism to the respective output types.
  • The attack is implemented as a general-purpose enhancement that can be applied to any existing black-box attack algorithm.

Experimental results

Research questions

  • RQ1Can reducing the input space dimensionality via a low-dimensional subspace significantly improve query efficiency in black-box adversarial attacks?
  • RQ2Does the performance of the spanning attack depend on the distributional similarity between the auxiliary dataset and the training data?
  • RQ3Can a small, biased, or non-i.i.d. unlabeled dataset still effectively improve attack efficiency?
  • RQ4Is the subspace formed by the most or least significant singular vectors more effective for adversarial perturbation search?
  • RQ5How does the spanning attack compare to existing methods that require labeled auxiliary data or rely on substitute models?

Key findings

  • The spanning attack reduces query counts by up to 50% compared to baseline black-box attacks, with success rates consistently higher across multiple models and datasets.
  • Even with a small auxiliary dataset of only 1,000 images, the method achieves a success rate of 68.6% on VGG-16 and 58.7% on ResNet-50, outperforming prior methods with labeled data.
  • The bottom spanning attack (using bottom 800 singular vectors) further improves performance, suggesting adversarial perturbations lie outside the data manifold.
  • A totally random subspace performs worse than the baseline, confirming that prior knowledge from a meaningful dataset is essential, not arbitrary low-dimensional projection.
  • The method remains effective even when the auxiliary dataset is sampled from a different distribution than the training data, such as using Flickr8k images for ImageNet models.
  • The spanning attack consistently improves performance across different perturbation radii, with success rates and query efficiency maintained under varying ε values.

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.