TL;DR
This paper introduces Out-of-distribution data Augmented Training (OAT), a method that uses "irrelevant" data from entirely different classes to improve a model's performance on its target task. By assigning uniform labels to out-of-distribution (OOD) data, the authors force neural networks to ignore "undesirable" features—like high-frequency noise or spurious background correlations—that are shared across different datasets. This approach leads to better standard generalization and significantly higher adversarial robustness.
The Problem: Why Deep Neural Networks "Cheat"
Deep Neural Networks (DNNs) are notorious for taking shortcuts. Instead of learning the core essence of an object (e.g., the physical shape of a dog), they often latch onto "non-robust" features. These are subtle statistical patterns or high-frequency components that happen to correlate with labels in the training set but don't hold up in the real world.
This reliance on non-robust features leads to two major issues:
- Poor Generalization: The model fails when the background, lighting, or domain changes.
- Adversarial Vulnerability: Tiny, human-imperceptible perturbations can exploit these non-robust features to trick the model into making confident, incorrect predictions.
Existing solutions often use Unlabeled In-Distribution (UID) data to bridge this gap. However, UID data is hard to collect for specific classes, and relying on "pseudo-labels" (the model's best guess for unlabeled data) can reinforce the model's existing biases. The authors ask a counterintuitive question: Can we use data that has nothing to do with our target classes to teach the model what features to ignore?
Methods: Out-of-distribution data Augmented Training (OAT)
The core idea behind OAT is simple: take a batch of target data (with real labels) and mix it with a batch of OOD data (data from entirely different categories).
The "secret sauce" is the labeling strategy:
- Uniform Labeling: Every OOD sample is assigned a uniform distribution label. For example, in a 10-class problem, each class gets a probability of 0.1. This effectively tells the model: "This image contains none of the features that define my target classes."
- OAT-S (Standard): Used to improve normal classification. It regularizes the model to ensure it doesn't use shared "undesirable" features to make decisions.
- OAT-A (Adversarial): Used to improve robustness. Both the target and OOD data are subjected to adversarial attacks during training. This forces the model to "zero out" the weights of non-robust features that an attacker might exploit.
Theoretically, the authors prove using a Gaussian model that if OOD data shares the same "bad" features as the target data, training with uniform labels pushes the model's weights for those bad features toward zero while preserving the "good" robust features.
Datasets and Versatility
The researchers evaluated OAT across several popular benchmarks, including CIFAR-10, CIFAR-100, and subsets of ImageNet.
To prove the method's versatility, they pulled OOD data from a massive variety of sources, including:
- 80 Million Tiny Images (80M-TI): A massive, diverse pool.
- SVHN: Street View House Numbers (digits).
- Simpson Characters: Cartoon images.
- Fashion Product Images: Clothing items.
- Places365 & VisDA-17: Scene recognition and domain adaptation datasets.
Key Insights
- The Shared "Bad" Space: One of the most surprising findings is that "undesirable" features are shared even among datasets that look nothing alike to humans. For example, using SVHN (digits) as OOD data actually helps a model learn CIFAR-10 (objects) better. This suggests that the "noise" or "non-robust" patterns DNNs pick up are universal across different types of natural images.
- Breaking the Pseudo-label Dependency: Unlike semi-supervised methods that require a high-accuracy teacher model to label new data, OAT requires zero knowledge of the OOD data's actual content. This makes it much easier to implement in the wild.
- Regularization via "Decision Boundary" Training: By giving OOD data uniform labels, you are essentially placing those images directly on the model's decision boundary. This forces the model to be "uncertain" about noise, which in turn makes it more "certain" about the truly defining features of the target classes.
Key Results
The results show consistent improvements in both safety and accuracy:
- Adversarial Robustness: On CIFAR-10, OAT improved robustness against the PGD100 attack from 49.92% to 56.77% compared to standard adversarial training. When combined with the state-of-the-art TRADES method, it reached 59.66%.
- Standard Generalization: OAT is particularly effective when training data is scarce. For CIFAR-100 with only 2,500 samples, OAT improved accuracy from 24.41% to 27.04%.
- Compatibility: OAT plays well with others. The authors demonstrated that it could be combined with Mixup and Robust Self-Training (RST) to achieve even higher performance than either method alone.
Limitations and Future Work
While highly effective, OAT does have limitations. First, OOD Selection remains somewhat empirical; while many OOD sets work, it is still difficult to predict which OOD dataset will be most effective for a specific target task without trial and error. Second, OAT is significantly more effective against untargeted attacks (making the model predict any wrong class) than targeted attacks (forcing a specific wrong class).
Future work will aim to mathematically quantify exactly how much "undesirable feature space" is shared between two specific datasets, which could fully optimize the OOD selection process.
Summary updated