Hard-label Manifolds: Unexpected advantages of query efficiency for finding on-manifold adversarial examples

Washington Garcia, Pin-Yu Chen, Somesh Jha, Hamilton Scott Clouse, Kevin Butler

Introduction

Adversarial machine learning typically focuses on finding small, intentional perturbations that cause a model to misclassify an input. However, most standard attacks produce "off-manifold" samples—noisy versions of images that do not resemble any real-world category. These are often brittle and easily detected by specialized defenses.

The "holy grail" for an attacker is the on-manifold adversarial example. These samples exploit a model's fundamental generalization errors by staying close to the distribution of real data, making them significantly harder to defend against. In a "hard-label" setting, where an attacker only observes the final predicted class without access to confidence scores or gradients, finding these examples is notoriously difficult. This paper explores a counterintuitive "win-win": techniques designed to improve query efficiency in hard-label attacks actually facilitate the discovery of these elusive on-manifold examples.

The Geometry of On-Manifold Attacks

To understand why some attacks leave the manifold while others stay near it, we must consider the geometry of the decision boundary relative to the data manifold.

Conceptual diagram of the data manifold and decision boundaries. "True Boundary" represents the ideal separation, while "Tilted Boundary" shows how a model might misclassify regions. Points a, b, and c illustrate different types of adversarial perturbations relative to the sampled manifold.

As shown in the figure above, standard attacks often move directly away from the manifold to cross a decision boundary. On-manifold attacks, however, seek to move along or near the manifold to find regions where the model's "Tilted Boundary" deviates from the "True Boundary."

The Dimensionality Paradox

The core contribution of this work is the discovery of the Dimensionality Paradox. Intuitively, one might assume that restricting an attacker's search space through dimension reduction would weaken the attack. However, using an information-theoretic framework, the authors demonstrate the opposite.

They propose a Noisy Manifold Distance (NMD) Oracle, where a model's gradient acts as a source of information about the data manifold. By calculating the Mutual Information (MI) between the gradient estimate and the manifold, they found that reducing the effective dimensionality of the search space actually increases the information leaked by the model.

Mutual Information $I(\mathcal{G}, \mathcal{M})$ vs. dimensionality $d$ for various noise levels $\epsilon$ and manifold curvatures $c_2$. The plots show that as dimensionality $d$ decreases, the mutual information often increases or remains high, supporting the "Dimensionality Paradox."

As seen in the plots, lower search dimensionality ($d$) often correlates with higher mutual information, especially in the presence of noise. This means that query-efficient strategies, which naturally use lower-dimensional representations, are inherently better at "sensing" the manifold.

Methods and Evaluation

The researchers tested this theory by modifying state-of-the-art hard-label attacks, such as Sign-OPT and HSJA, using two primary dimension-reduction techniques:

  1. Bilinear Down-scaling (BiLN): A deterministic method that groups pixels into "super-pixels."
  2. Autoencoders (AE): Searching within the compressed latent space of a generative model.

To measure "on-manifoldness," they employed the Fréchet Inception Distance (FID-64) as a surrogate metric. A lower FID score indicates that the adversarial samples are semantically closer to the original data distribution.

Key Results

The experiments on CIFAR-10 and ImageNet yielded several significant insights:

  • Efficiency and Quality: Dimension-reduced attacks achieved massive query efficiency gains—up to 76% for Sign-OPT—while simultaneously halving the manifold distance (FID score).
  • Robustness Leakage: Surprisingly, adversarially robust models (e.g., those trained with Madry’s method) provide a "cleaner" landscape that leaks more manifold information, making them even more susceptible to these on-manifold attacks.
  • Visual Realism: BiLN-based attacks on ImageNet produced spatially correlated, smoother noise that is less perceptible to humans than standard pixel-level perturbations.

Conclusion

This research highlights a critical vulnerability in current machine learning models. The very techniques used to make attacks more practical (dimension reduction for query efficiency) also make them more dangerous by aligning perturbations with the data manifold. Future defense strategies must move beyond $L_p$-norm robustness and focus on preventing the leakage of sensitive manifold information that attackers can now systematically exploit.

Summary updated

BibTeX
@misc{garcia2021hard,
  author = {Washington Garcia and Pin-Yu Chen and Somesh Jha and Hamilton Scott Clouse and Kevin Butler},
  title = {{Hard-label Manifolds: Unexpected advantages of query efficiency for finding on-manifold adversarial examples}},
  year = {2021},
  eprint = {2103.03325},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.03325},
}
Figure