[Paper Review] Adversarial Robustness: From Self-Supervised Pre-Training to Fine-Tuning
The paper introduces adversarial self-supervised pretraining followed by adversarial fine-tuning to boost robustness, showing significant gains on CIFAR-10 and enabling ensemble strategies over multiple self-supervised tasks.
Pretrained models from self-supervision are prevalently used in fine-tuning downstream tasks faster or for better accuracy. However, gaining robustness from pretraining is left unexplored. We introduce adversarial training into self-supervision, to provide general-purpose robust pre-trained models for the first time. We find these robust pre-trained models can benefit the subsequent fine-tuning in two ways: i) boosting final model robustness; ii) saving the computation cost, if proceeding towards adversarial fine-tuning. We conduct extensive experiments to demonstrate that the proposed framework achieves large performance margins (eg, 3.83% on robust accuracy and 1.3% on standard accuracy, on the CIFAR-10 dataset), compared with the conventional end-to-end adversarial training baseline. Moreover, we find that different self-supervised pre-trained models have a diverse adversarial vulnerability. It inspires us to ensemble several pretraining tasks, which boosts robustness more. Our ensemble strategy contributes to a further improvement of 3.59% on robust accuracy, while maintaining a slightly higher standard accuracy on CIFAR-10. Our codes are available at https://github.com/TAMU-VITA/Adv-SS-Pretraining.
Motivation & Objective
- Investigate whether adversarial pretraining improves downstream robustness during fine-tuning.
- Compare robustness and efficiency of adversarial pretraining versus adversarial fine-tuning.
- Assess how different self-supervised pretraining tasks affect final model robustness.
- Explore ensemble strategies across pretraining tasks to enhance robustness.
Proposed method
- Embed adversarial training into multiple self-supervised pretraining tasks (Selfie, Rotation, Jigsaw).
- Fine-tune classifiers on downstream tasks using partial or full parameter re-use from robust pretrained models.
- Propose an ensemble objective with a diversity-promoting regularizer to combine multiple pretraining tasks.
- Evaluate standard vs robust accuracy on CIFAR-10 and CIFAR-10-C under PGD attacks and unseen attacks.
- Compare against one-shot adversarial training regularized by a single self-supervised task.
- Perform ablations on dataset size, input resolution, and defense options.
Experimental results
Research questions
- RQ1Q1. Can adversarial pretraining improve robustness of downstream fine-tuning?
- RQ2Q2. Which is more effective for robustness and efficiency: adversarial pretraining or adversarial fine-tuning?
- RQ3Q3. How does the choice of self-supervised pretraining task affect final robustness?
- RQ4Q4. Can ensemble of self-supervised pretraining tasks further boost robustness?
Key findings
- Robust pretrained models used for adversarial fine-tuning yield large gains, e.g., 3.83% improvement in robust accuracy and 1.3% in standard accuracy on CIFAR-10.
- Adversarial fine-tuning contributes most to robustness, while robust pretraining mainly speeds up fine-tuning.
- Different self-supervised tasks have diverse adversarial vulnerabilities, motivating ensemble pretraining for robustness gains.
- Ensembling three pretraining tasks with adversarial fine-tuning achieves 54.64% robust accuracy and 86.04% standard accuracy on CIFAR-10 (AT setting).
- Adversarial pretraining plus full adversarial fine-tuning requires fewer epochs than end-to-end AT, indicating improved efficiency.
- Compared to one-shot AT with rotation regularization, the proposed approach improves robustness against unforeseen attacks across multiple trials.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.