Skip to main content
QUICK REVIEW

[Paper Review] A Simple Fine-tuning Is All You Need: Towards Robust Deep Learning Via Adversarial Fine-tuning

Ahmadreza Jeddi, Mohammad Javad Shafiee|arXiv (Cornell University)|Dec 25, 2020
Adversarial Robustness in Machine LearningComputer Science41 references19 citations
TL;DR

This paper proposes a simple adversarial fine-tuning method using a 'slow start, fast decay' learning rate schedule that significantly reduces training time by 8–10× while improving robustness and generalization on CIFAR-10, CIFAR-100, and ImageNet. Unlike standard PGD adversarial training, it enables robustness enhancement by fine-tuning pre-trained models without retraining from scratch.

ABSTRACT

Adversarial Training (AT) with Projected Gradient Descent (PGD) is an effective approach for improving the robustness of the deep neural networks. However, PGD AT has been shown to suffer from two main limitations: i) high computational cost, and ii) extreme overfitting during training that leads to reduction in model generalization. While the effect of factors such as model capacity and scale of training data on adversarial robustness have been extensively studied, little attention has been paid to the effect of a very important parameter in every network optimization on adversarial robustness: the learning rate. In particular, we hypothesize that effective learning rate scheduling during adversarial training can significantly reduce the overfitting issue, to a degree where one does not even need to adversarially train a model from scratch but can instead simply adversarially fine-tune a pre-trained model. Motivated by this hypothesis, we propose a simple yet very effective adversarial fine-tuning approach based on a $ extit{slow start, fast decay}$ learning rate scheduling strategy which not only significantly decreases computational cost required, but also greatly improves the accuracy and robustness of a deep neural network. Experimental results show that the proposed adversarial fine-tuning approach outperforms the state-of-the-art methods on CIFAR-10, CIFAR-100 and ImageNet datasets in both test accuracy and the robustness, while reducing the computational cost by 8-10$ imes$. Furthermore, a very important benefit of the proposed adversarial fine-tuning approach is that it enables the ability to improve the robustness of any pre-trained deep neural network without needing to train the model from scratch, which to the best of the authors' knowledge has not been previously demonstrated in research literature.

Motivation & Objective

  • To address the high computational cost and severe overfitting in PGD adversarial training (AT), which limits scalability and generalization.
  • To investigate whether effective learning rate scheduling during AT can mitigate overfitting and improve robust generalization.
  • To develop a method that enhances adversarial robustness without retraining models from scratch, enabling post-hoc robustness improvement for any pre-trained network.
  • To achieve state-of-the-art robustness and accuracy with significantly reduced training time compared to existing AT methods.

Proposed method

  • Proposes a 'slow start, fast decay' learning rate scheduling strategy during adversarial fine-tuning to reduce overfitting and improve generalization.
  • Applies adversarial training via PGD attack with 20 iterations and ε = 8/255 or 10/255 to generate adversarial examples during fine-tuning.
  • Fine-tunes a pre-trained model using the PGD-generated adversarial examples with the proposed learning rate schedule, avoiding full retraining.
  • Uses a warm-up phase with low initial learning rate followed by rapid decay to stabilize training and prevent overfitting.
  • Employs standard cross-entropy loss with adversarial examples to update model weights during fine-tuning.
  • Applies the method to ResNet, WideResNet, and ResNet50 architectures on CIFAR-10, CIFAR-100, and ImageNet datasets.

Experimental results

Research questions

  • RQ1Can effective learning rate scheduling during adversarial training reduce overfitting and improve generalization?
  • RQ2Can adversarial fine-tuning of a pre-trained model achieve robustness comparable to or better than full adversarial training from scratch?
  • RQ3Does the proposed method reduce training time while maintaining or improving robustness and clean accuracy?
  • RQ4Can the method be universally applied to any pre-trained model without requiring retraining from scratch?

Key findings

  • The proposed adversarial fine-tuning (AFT) method reduces training time by 8–10× compared to standard PGD adversarial training on CIFAR-10 and CIFAR-100.
  • On CIFAR-10, AFT achieves 68.15% natural accuracy and 23.29% PGD robust accuracy with ε = 8/255, outperforming PGD AT and Free AT.
  • On ImageNet, AFT achieves 74.5% natural accuracy and 50.5% PGD robust accuracy with ε = 2/255 using the ResNet50-SWSL pre-trained model, showing a 7% robustness gain over baseline.
  • The method improves robustness without sacrificing clean accuracy, demonstrating better generalization than PGD AT and Free AT.
  • The AFT method achieves state-of-the-art performance on all evaluated datasets while being applicable to any pre-trained model.
  • The 'slow start, fast decay' learning rate schedule effectively mitigates overfitting, enabling high robustness even with limited training epochs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.