NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Motivating the Rules of the Game for Adversarial Example Research

Justin Gilmer, Ryan P. Adams, Ian J. Goodfellow, David G. Andersen, George E. DahlarXiv 2018

In 2018, a team of researchers from Google Brain and Princeton University, including adversarial machine learning pioneer Ian Goodfellow, published a critical "reality check" for the field. Their paper, "Motivating the Rules of the Game for Adversarial Example Research," argued that the academic community was increasingly trapped in a "toy game"—solving mathematical abstractions rather than addressing the actual security risks posed by deep learning vulnerabilities.

The Problem: The $l_p$ Norm Obsession

Since the discovery that neural networks could be easily fooled by small perturbations, thousands of papers have proposed various defenses. However, the vast majority of these works followed a rigid, artificial ruleset: an attacker takes a correctly classified image and adds a tiny amount of noise—constrained by a mathematical $l_p$ norm—to flip the model's prediction. The goal was usually to make the change "invisible" to the human eye.

The authors identify a massive gap between this academic exercise and real-world security. In a practical setting, an attacker trying to fool a self-driving car or a facial recognition system does not care if their perturbation is mathematically small or invisible. They only care if the attack works. By focusing exclusively on $l_p$ constraints, researchers were creating defenses that were easily bypassed by slightly different, yet still realistic, attacks.

A New Taxonomy for Adversarial Games

Rather than continuing the cycle of proposing and breaking $l_p$-bounded defenses, the paper proposes a comprehensive taxonomy to help researchers define clear, realistic threat models. They categorize adversarial research based on three primary axes:

  1. Attacker Goals: Is the attack Targeted (forcing the model to see a specific incorrect class) or Untargeted (simply forcing any error)?
  2. Attacker Knowledge: Does the attacker have Whitebox access (full access to model weights and gradients) or Blackbox access (limited to observing inputs and outputs)?
  3. Action Space: This is the core contribution, expanding the definition of an attack beyond simple noise:
  4. Indistinguishable: The change is mathematically and visually imperceptible.
  5. Content-preserving: The object remains clearly the same to a human (e.g., a cat with a different background), even if the pixels change significantly.
  6. Non-suspicious: The input looks like a normal, valid input to a human observer, even if it has been modified.
  7. Content-constrained: The input must contain a specific payload, such as a piece of malware that must remain functional while evading detection.

Empirical Evidence: The Fragility of Current Defenses

To prove that $l_p$ robustness does not equal security, the authors conducted a series of experiments on the MNIST dataset. They targeted the "Madry defense," which was considered the state-of-the-art for $l_\infty$ robustness at the time.

The authors designed a simple "background attack" that modified only the unimportant background pixels of the MNIST digits. Because this attack changed many pixels, it fell outside the narrow $l_\infty$ ball the model was trained to defend. The result was a total collapse: the supposedly robust model showed 0% robustness against this simple, content-preserving attack.

Further supporting their point, the authors analyzed real-world data from the "Not Hotdog" image recognition app. They found that real users trying to fool the app didn't use sophisticated mathematical noise; they used obvious physical tricks, like putting a hotdog-shaped costume on a dog. These "attacks" are trivial for humans to spot but highly effective against models trained only on narrow academic constraints.

Key Insights for the Research Community

The paper highlights several critical pitfalls in adversarial research:

  • $l_p$ is a Poor Proxy: Mathematical closeness does not equal semantic similarity. A one-pixel shift of an image results in a massive $l_p$ distance but is invisible to humans. Conversely, a tiny $l_p$ change can completely alter the functionality of malware.
  • Hardness Inversion: The authors note that a defense should never be more robust against a whitebox attacker than a blackbox one. If it is, the evaluation is likely flawed due to "gradient masking," where the defense merely hides the gradients rather than actually removing the vulnerability.
  • The Test Set Attack: If a model has a 1% error rate on its test set, an attacker can simply feed it random samples until it fails. Many defenses actually increase test error to gain adversarial robustness, which might inadvertently make the system less secure against a patient attacker.
  • Security vs. Generalization: Many adversarial examples are simply edge cases where a model fails to generalize. Solving these may be a fundamental machine learning problem rather than a specific security threat.

Conclusion: Toward Threat Modeling

The paper concludes with a call to action: the community must move away from arbitrary mathematical norms and toward Threat Modeling. Researchers should define who the attacker is, what they know, and what they can actually do in a specific application—whether it be spam filtering, malware detection, or autonomous driving. By defining the "rules of the game" based on the application rather than the math, the field can move toward creating truly robust and secure AI systems.

Summary updated

BibTeX
@misc{gilmer2018motivating,
  author = {Justin Gilmer and Ryan P. Adams and Ian J. Goodfellow and David G. Andersen and George E. Dahl},
  title = {{Motivating the Rules of the Game for Adversarial Example Research}},
  year = {2018},
  eprint = {1807.06732},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.06732},
}
Figure