TL;DR
Most adversarial research focuses on "closed-world" scenarios where attacks are slight tweaks to data the model already knows. This paper exposes a critical vulnerability in "open-world" systems: Out-of-Distribution (OOD) adversarial examples, where an attacker perturbs completely foreign data (like random noise or unrelated images) to fool a model with high confidence. These attacks easily bypass state-of-the-art OOD detectors and are up to 4x more successful against robustly trained models than standard attacks.
What Problem Does This Paper Address?
Deep learning models are increasingly deployed in "open-world" environments, such as autonomous driving or automated content moderation. In these settings, models inevitably encounter inputs that don't belong to their training classes—referred to as Out-of-Distribution (OOD) data.
Standard practice involves using OOD detectors to reject these inputs. However, these detectors are typically designed and tested against "natural" OOD data. The authors identify a dangerous gap: what if an adversary intentionally modifies OOD data to look like a valid class?
While traditional adversarial attacks involve adding imperceptible noise to "in-distribution" (ID) images (e.g., turning a stop sign into a speed limit sign), this paper investigates the threat of taking anything—from Gaussian noise to a picture of a coffee machine—and perturbing it until a classifier (and its OOD detector) is convinced it is a specific target class, like a "cat" or an "airplane."
Methods
The authors conducted a rigorous analysis using 11 different neural network architectures across various complexity levels. They employed Projected Gradient Descent (PGD)—a standard iterative optimization technique—to generate OOD adversarial examples.
The attacks targeted two main defense categories:
- OOD Detectors: Mechanisms like ODIN and confidence-calibrated classifiers that are supposed to flag "weird" data based on low output confidence.
- Adversarial Defenses: Robust training methods (like Madry’s adversarial training and convex polytope relaxation) and input-processing detectors (like MagNet and Feature Squeezing).
Finally, they proposed a hybrid defense that combines iterative adversarial training with a "background class" to help models explicitly learn to reject both natural and adversarial OOD inputs.
Datasets
The study utilized a mix of standard benchmarks and custom-collected data to simulate an open-world environment:
- In-Distribution (ID): MNIST, CIFAR-10, and ImageNet.
- Out-of-Distribution (OOD):
- Semantically meaningful: VOC12, and a newly constructed "Internet Photographs" dataset (10,000 images from Picsum).
- Noise: A Gaussian Noise dataset.
- Cross-dataset: Using one ID dataset as OOD for another (e.g., using MNIST images as OOD inputs for a CIFAR-10 model).
Key Insights and Ideas
- The Confidence Illusion: OOD detectors rely on the assumption that models will be "uncertain" about unfamiliar data. Adversaries break this by finding tiny perturbations that push OOD data deep into a model's high-confidence regions.
- Defense Fragility: Defenses optimized to protect a model's "home turf" (in-distribution data) fail to generalize to the vast, empty spaces of the input domain where OOD data resides.
- Targeted Success: Achieving targeted misclassification (making the model say "this is specifically a cat") is much easier with OOD data because the starting point doesn't have any existing semantic features that conflict with the target class.
- Real-World Feasibility: The authors demonstrated that these aren't just theoretical threats; they successfully fooled the Clarifai content moderation API and created physical OOD adversarial traffic signs that remained effective under varying light and angles.
Key Results
- Detector Failure: State-of-the-art OOD detectors like ODIN, which catch 85% of natural OOD inputs, failed to detect up to 99.8% of OOD adversarial examples.
- Higher Attack Success: Against robustly trained models, OOD adversarial examples achieved up to 4x higher success rates compared to standard in-distribution attacks. For a WRN-28-10 model, the success rate jumped from ~23% (ID) to ~88% (OOD).
- Effective Hybrid Defense: The authors showed that including even a tiny amount of OOD data (as little as 0.5%) during adversarial training with a background class significantly improved robustness.
Limitations and Future Work
The primary limitation is that the proposed hybrid defense is semi-supervised; it requires the developer to have access to some OOD data during training. While the authors show that training on one OOD dataset provides some generalization to others, the "open-world" is infinitely large.
Future work is needed to develop unsupervised OOD detectors that are inherently robust to adversarial manipulation without needing to see specific OOD examples beforehand. The authors conclude that current "robust" models are only robust in a narrow sense, and the community must broaden its evaluation to include these open-world threats.
Summary updated