GREAT Score: Global Robustness Evaluation of Adversarial Perturbation using Generative Models

Zaitang Li, Pin-Yu Chen, Tsung-Yi Ho · DOI

Introduction

Evaluating the robustness of machine learning models against adversarial attacks—small, intentional perturbations designed to flip a model's prediction—is a critical yet computationally demanding task. Traditional methods often rely on "local" robustness, evaluating a model's performance on a fixed test set using iterative, gradient-based attacks like Auto-Attack. However, these methods suffer from sampling bias, high computational costs, and the requirement for white-box access to model gradients, which limits their utility for auditing private, remote APIs.

The GREAT Score (Global Robustness Evaluation of Adversarial Perturbation using Generative Models) addresses these challenges by providing an ultra-efficient framework for global robustness evaluation. By leveraging generative models (GMs) as proxies for the data distribution, the GREAT Score offers a mathematically certified lower bound on robustness and achieves speedups of up to 2,000x compared to traditional attack-based methods.

The GREAT Score Framework

The core innovation of the GREAT Score lies in its shift from attacking individual real images to using a Generative Model to represent the entire data distribution. This approach offers several distinct advantages:

  • Certified Lower Bound: Instead of searching for the actual smallest perturbation to break a model—an NP-hard problem—the GREAT Score derives a certified lower bound. If a model's GREAT Score is $r$, it is guaranteed to be "attack-proof" for any perturbation smaller than $r$.
  • Stein’s Lemma and Efficiency: By assuming the latent space of the generative model follows a Gaussian distribution, the authors utilize Stein’s Lemma to derive a closed-form solution for the global Lipschitz constant. This allows the score to be calculated using only forward passes, eliminating the need for backpropagation or iterative optimization.
  • Black-Box Compatibility: Since only model output confidence scores are required, the GREAT Score can audit private, remote APIs where internal gradients are inaccessible.
Figure 1: Robust Accuracy vs. Perturbation Level, illustrating the GREAT Score as a conservative lower bound compared to Auto-Attack.

Experimental Evaluation

The researchers validated the GREAT Score across multiple standard benchmarks and real-world scenarios:

  • CIFAR-10: Evaluation of 17 robust models from the RobustBench leaderboard.
  • ImageNet-1K: Testing on 5 large-scale models.
  • CelebA / CelebA-HQ: Used for ablation studies on generative model quality and auditing real-world facial recognition APIs.
  • Online APIs: Auditing commercial gender classification services from providers like Baidu, BetaFace, and Luxand.

Key Results and Insights

The GREAT Score demonstrates exceptional performance in both speed and accuracy. On CIFAR-10, it reduces computation time by 800x to 2,000x compared to Auto-Attack. Despite being a conservative lower bound, it maintains a high Spearman’s rank correlation (approximately 0.9) with "gold standard" RobustBench rankings, especially after calibration.

Table 1: Comparison of GREAT Score with RobustBench and AutoAttack accuracies across various models on the CIFAR-10 dataset.

The quality of the underlying generative model impacts the score's alignment with standard benchmarks; however, even imperfect GANs can serve as effective proxies for ranking model robustness. Furthermore, the use of synthetic data from GMs enables privacy-preserving auditing, allowing third-party evaluation without exposing sensitive training data or internal model weights.

Limitations and Future Directions

While promising, the current GREAT Score framework primarily focuses on $L_2$-norm perturbations. Extending the mathematical derivation to other norms, such as $L_\infty$ or $L_0$, is a primary direction for future work. Additionally, the score's effectiveness is tied to the generative model's ability to cover the class distribution; issues like "mode collapse" in GMs could lead to incomplete evaluations. Finally, while a default setup is provided, optimal ranking results often require a small amount of calibration using known adversarial examples.

Summary updated

BibTeX
@inproceedings{li2024great,
  author = {Zaitang Li and Pin-Yu Chen and Tsung-Yi Ho},
  title = {{GREAT Score: Global Robustness Evaluation of Adversarial Perturbation using Generative Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=vunJCq9PwU},
}
Figure