Introduction
In deep learning, models often face two distinct challenges: outliers (mislabeled or anomalous training data) and adversarial attacks (maliciously perturbed test-time inputs). Traditionally, these issues have been addressed in isolation. However, standard Adversarial Training (AT), while effective against attacks, is notoriously sensitive to training-time noise. This paper introduces Outlier Robust Adversarial Training (ORAT), a framework presented at ACML 2023 that simultaneously mitigates the impact of outliers and ensures robustness against adversarial perturbations.
The Challenge: Adversarial Training as a Noise Amplifier
Standard AT works by incorporating "hard" adversarial examples into the training loop. While this strengthens the model against test-time attacks, it creates a vulnerability when the training data is "dirty." Because outliers typically result in high loss values, the AT algorithm misidentifies them as critical adversarial examples and prioritizes fitting them. This leads to a distorted decision boundary and a significant drop in both clean and robust accuracy. There is a clear need for a mechanism that can distinguish between "true" hard examples (adversarial samples) and "false" hard examples (outliers).
Methodology: Rank-Based Filtering and Bi-Level Optimization
ORAT addresses this by integrating the Average of Ranked Range (AoRR) loss into a bi-level optimization framework.
1. Rank-Based Filtering
Rather than minimizing the average loss across all samples, ORAT sorts the losses within each batch. It discards the $m$ highest losses (potential outliers) and the $n-k$ lowest losses (trivial samples), focusing optimization solely on the "middle" range of informative samples. This "bouncer" effect prevents outliers from warping the decision boundary.
2. Efficient Optimization
To avoid the computational overhead of explicit sorting, the authors utilize a theorem that replaces the ranking operation with two auxiliary variables ($\lambda$ and $\hat{\lambda}$). This allows ORAT to be optimized via standard stochastic gradient descent with a time complexity comparable to standard AT.
3. Theoretical Soundness
The framework is supported by proofs of $\mathcal{H}$-consistency, ensuring that minimizing the ORAT surrogate loss effectively minimizes the target adversarial 0/1 loss.
Experimental Results
The authors evaluated ORAT on MNIST, CIFAR-10, and CIFAR-100, simulating various noise conditions (symmetric and asymmetric label flips).
Key Findings:
- Superior Resilience: On CIFAR-100 with 40% label noise, ORAT significantly outperformed standard AT and other reweighted methods (e.g., GAIRAT, MAIL) under the rigorous AutoAttack benchmark.
- Visual Evidence: As shown in the synthetic 2D examples, standard AT produces jagged decision boundaries as it attempts to fit outliers. In contrast, ORAT maintains a robust, clean boundary by ignoring the noise.
- Stability: ORAT demonstrated lower variance across multiple runs, indicating higher reliability in noisy environments.
Conclusion and Future Directions
ORAT represents a significant step toward practical robust machine learning. By treating outlier rejection and adversarial defense as a unified problem, it enables the training of secure models on real-world, imperfect datasets. Future work will focus on automating the selection of hyperparameters ($k$ and $m$) and relaxing the i.i.d. assumptions in the theoretical framework.
The implementation is available at https://github.com/discovershu/ORAT.
Summary updated