TL;DR
This paper introduces a non-iterative, teacher-guided curriculum learning approach to train adversarially robust neural networks. By forcing a student model's saliency map to align with a robust teacher's and gradually restricting the perturbable pixels to the core object, the method achieves state-of-the-art adversarial and natural accuracy. Crucially, it does this in just 10-20% of the training time required by standard iterative Adversarial Training (AT).
What Problem Does This Paper Address?
Deep neural networks are notoriously vulnerable to adversarial attacks—imperceptible perturbations to an image that cause the model to make wildly incorrect predictions. The standard defense against this is Adversarial Training (AT), which involves a min-max optimization game: iteratively generating adversarial examples and training the model on them.
However, AT has two massive drawbacks. First, the iterative inner maximization step makes it incredibly slow and computationally expensive. Second, there is a well-documented trade-off where increasing a model's adversarial robustness typically degrades its accuracy on clean, unperturbed images. The authors tackle these issues by proposing a non-iterative training method that matches or beats the robustness of AT while maintaining high clean accuracy and drastically cutting down training time.
Methods
The authors propose a two-phase training strategy that avoids the costly iterative generation of adversarial examples:
- Phase 1: Enforcing Alignment: The authors leverage the insight that robust models have saliency (attribution) maps that tightly align with the actual object in the image, whereas standard models often rely on background pixels. They train a student network to mimic the saliency map of a pre-trained, adversarially robust teacher network. To do this, they use a GAN-style discriminator and an $L_2$ loss to force the student's input gradients to match the teacher's, ensuring the student "looks" at the right features.
- Phase 2: Model Refinement via Curriculum Learning: This is where the paper gets its title, "Get Fooled for the Right Reason." The goal is to ensure that an attacker can only change the model's decision by perturbing the actual object, not the background. They use a curriculum learning approach: they gradually restrict the set of pixels allowed to be perturbed. Starting at 100%, they step down to only the top 50% most salient pixels (as defined by the teacher). Another discriminator is used to match the student's cross-entropy loss gradients to this masked teacher saliency.
By restricting the "attackable" pixels to just the core object, the attacker's search space shrinks, severely limiting the strength of potential adversarial attacks.
Key Insights and Ideas
- Robustness is linked to saliency alignment: You can bypass the need to explicitly train on adversarial examples if you force a model to "see" the image the exact same way a robust model does. Matching input gradients (Jacobians) transfers robustness.
- Constraining the attack space is a powerful defense: If a model is trained such that its decision can only be flipped by altering the core object pixels, an attacker has far fewer options. Background noise perturbations simply won't work anymore.
- Curriculum learning prevents destabilization: You can't just force a model to look at a tiny, 50% patch of object pixels immediately. Gradually pruning the allowed perturbation pixels allows the model to learn the object's features robustly without disrupting the training process.
Key Results
- Massive Speedup: Because the method is non-iterative, it operates at just 10-20% of the training cost of traditional adversarial training methods.
- CIFAR-10: The proposed method achieved 90.63% clean accuracy (much closer to standard training than typical AT models) and 59.59% against PGD-20 attacks. It also scored 54.71% against AutoAttack (AA), outperforming SOTA iterative methods like TRADES, MART, and AWP-AT.
- CIFAR-100: Achieved 69.88% clean accuracy and 28.32% against PGD-20, again beating both iterative and non-iterative baselines.
- Ablation Success: Removing the curriculum learning step or the alignment losses significantly drops performance, proving that both the saliency matching and the gradual pixel restriction are critical to the SOTA results.
Limitations and Future Work
The authors acknowledge a specific computational limitation: while the method is vastly faster in terms of time, calculating and matching different Jacobians (gradients of the loss with respect to the inputs) during training can be highly memory-intensive. Future work will likely need to address this memory consumption to scale the approach to massive, high-resolution datasets like full ImageNet.
Summary updated