Exploiting the Local Parabolic Landscapes of Adversarial Losses to Accelerate Black-Box Adversarial Attack

Hoang Tran, Dan Lu, Guannan ZhangECCV 2022

Introduction

Black-box adversarial attacks, which aim to fool machine learning models without access to their internal parameters, are typically "query-hungry." Finding an effective perturbation often requires thousands of queries, making such attacks impractical against real-world systems with rate limits. The primary challenge lies in the "jagged" nature of the loss landscape in the pixel domain, caused by non-linearities like ReLU activations and max-pooling. This paper introduces BABIES (Black-box Attack Based on IntErpolation Scheme), an algorithm that exploits a key discovery: adversarial loss landscapes are remarkably smooth and parabolic when viewed in the frequency (Fourier) domain.

The Smoothness of the Fourier Domain

The core innovation of BABIES is the shift from pixel-wise perturbations to frequency-component perturbations using the Discrete Cosine Transform (DCT). While changing individual pixels leads to sharp discontinuities in a neural network's internal logic, perturbing a frequency component distributes the change across the entire image. This global distribution "averages out" local jaggedness, resulting in a predictable, smooth loss landscape.

Comparison of loss landscapes under DCT vs. pixel perturbations. The DCT domain exhibits a smooth, parabolic structure that is easily approximated.

As shown in the figure above, the true loss in the DCT domain closely follows a quadratic curve, whereas the pixel domain remains highly non-smooth. This parabolic property allows for efficient optimization via quadratic interpolation.

The BABIES Algorithm

The BABIES algorithm introduces a more efficient search strategy by building a local model of the loss landscape. Instead of treating each query as an isolated data point, it leverages the following components:

  • Fourier Domain Search: Perturbations are applied to DCT coefficients rather than raw pixels to maintain landscape smoothness.
  • Quadratic Interpolation: By querying the model at a few points and fitting a quadratic parabola to the results, the algorithm can analytically determine the optimal step size to minimize the loss, effectively "jumping" to the bottom of the local parabolic well.
  • Geodesic Sampling: To ensure perturbations remain imperceptible and maintain a low $\ell_2$ distortion, the search is constrained to a hypersphere, using geodesic sampling to navigate the high-dimensional space efficiently.

Experimental Results

The researchers validated the parabolic assumption across diverse architectures, including VGG, Inception, and ResNet models.

Correlation between true loss and approximated loss across various models and datasets. High $R^2$ scores in the DCT domain validate the parabolic assumption.

Empirical results demonstrate that BABIES significantly outperforms existing state-of-the-art methods:

  • Query Efficiency: On ImageNet, BABIES reduced the required queries by up to 39% compared to Bandits-TD for Inception_v3 and 13% for ResNet50.
  • Robustness to Defenses: Surprisingly, models trained with adversarial defenses (robust models) exhibit even smoother landscapes in the DCT domain. BABIES achieved success rates 14% to 27% higher than baseline attacks on robustly trained CIFAR-10 models.
  • Real-World Viability: In a test against the Google Cloud Vision API, BABIES achieved an 82% success rate with an average of only 205 queries per image—a remarkably low number for a commercial-grade system.

Conclusion

By exploiting the local parabolic nature of the loss landscape in the frequency domain, BABIES provides a highly efficient framework for black-box adversarial attacks. This work highlights that the very "smoothness" often sought in robust model training can be a double-edged sword, facilitating faster and more effective adversarial discovery. Future work may explore other domains, such as Wavelets, to further refine the balance between query efficiency and visual imperceptibility.

Summary updated

BibTeX
@inproceedings{tran2022exploiting,
  author = {Hoang Tran and Dan Lu and Guannan Zhang},
  title = {{Exploiting the Local Parabolic Landscapes of Adversarial Losses to Accelerate Black-Box Adversarial Attack}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20065-6\_19},
}
Figure