SoK: Analyzing Adversarial Examples: A Framework to Study Adversary Knowledge

Lucas Fenaux, Florian KerschbaumarXiv 2024 · DOI · arXiv

Introduction

The field of adversarial machine learning has spent nearly a decade investigating adversarial examples—inputs specifically designed to deceive models. However, the lack of a rigorous definition for "adversary knowledge" has led to a "Wild West" of incomparable results. Terms like "white-box" and "black-box" are often used loosely, making it difficult to evaluate the true robustness of defenses. This paper provides a systematization of knowledge (SoK), offering a mathematical framework to categorize attacker capabilities and a standardized method for measuring success.

A Formal Framework for Adversary Knowledge

The authors introduce a multi-faceted approach to bring order to the evaluation of adversarial attacks.

Information Extraction Oracles (IEOs)

Instead of qualitative descriptions, knowledge is defined through access to specific "oracles." These oracles formalize the interaction between an attacker and the target system, providing outputs such as model parameters, predicted labels, or training data information.

Table 1: This table formalizes different types of adversary knowledge as oracles with specific outputs and states.

Information Hasse Diagrams

Drawing from order theory, the framework uses Hasse diagrams to represent the hierarchy of knowledge. If one knowledge state "dominates" another, an attacker in that state can simulate any attack possible in the dominated state. This allows for precise, mathematical comparisons between different threat models.

Figure 1: The Model Oracle Hasse Diagram shows the hierarchy of information related to the target model, from full parameters down to simple labels.

Adversarial Example Game and Relative Performance

The framework includes a standardized "Adversarial Example Game" to ensure consistent rules of engagement across studies. Additionally, the authors propose the Relative Performance Score ($\Upsilon_{G,G_b}$). This metric improves upon the standard Attack Success Rate (ASR) by accounting for the model's baseline error rate, ensuring that attackers are not rewarded for simply fooling already inaccurate models.

Key Insights and Empirical Results

By re-evaluating 20 high-quality papers on ImageNet and CIFAR-10, the authors uncovered several significant findings:

  • The "Transferability" Myth: "Transferable" attacks, where an attacker uses a surrogate model, are not inherently weak. When supplemented with auxiliary information about the target's training data or function, these attacks can perform nearly as well as full "white-box" attacks. For instance, the BIA attack achieved a 93.48% success rate on ImageNet by leveraging additional training data.
  • Knowledge Hierarchies in Practice: Many attacks labeled as "black-box" actually rely on significant "gray-box" information, such as the exact training loss function. The Hasse diagram mapping makes these dependencies explicit.
  • Defensive Fragility: Even state-of-the-art defenses remain vulnerable. On ImageNet, simple query-based access can reduce an undefended model's accuracy to near zero, while advanced attacks like ACG and $A^3$ can still significantly degrade robustly trained models.

Conclusion and Future Work

This framework provides the necessary rigor to move toward provable security in machine learning. However, limitations remain. The current system is tailored to image classification; extending it to Large Language Models (LLMs) or other data types will require new oracle definitions. Furthermore, quantifying "human-like" perception to define what constitutes an adversarial image remains a challenge. Future research will focus on modeling adaptive adversaries who can learn and adjust their strategies in real-time.

Summary updated

Abstract

Adversarial examples are malicious inputs to machine learning models that trigger a misclassification. This type of attack has been studied for close to a decade, and we find that there is a lack of study and formalization of adversary knowledge when mounting attacks. This has yielded a complex space of attack research with hard-to-compare threat models and attacks. We focus on the image classification domain and provide a theoretical framework to study adversary knowledge inspired by work in order theory. We present an adversarial example game, inspired by cryptographic games, to standardize attacks. We survey recent attacks in the image classification domain and classify their adversary's knowledge in our framework. From this systematization, we compile results that both confirm existing beliefs about adversary knowledge, such as the potency of information about the attacked model as well as allow us to derive new conclusions on the difficulty associated with the white-box and transferable threat models, for example, that transferable attacks might not be as difficult as previously thought.
BibTeX
@misc{fenaux2024sok,
  author = {Lucas Fenaux and Florian Kerschbaum},
  title = {{SoK: Analyzing Adversarial Examples: A Framework to Study Adversary Knowledge}},
  year = {2024},
  eprint = {2402.14937},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.14937},
}
Figure