Skip to main content
QUICK REVIEW

[Paper Review] Drawing Robust Scratch Tickets: Subnetworks with Inborn Robustness Are Found within Randomly Initialized Networks

Yonggan Fu, Qixuan Yu|arXiv (Cornell University)|Oct 26, 2021
Adversarial Robustness in Machine LearningComputer Science7 citations
TL;DR

This paper discovers that subnetworks with inborn robustness—termed Robust Scratch Tickets (RSTs)—exist within randomly initialized deep neural networks without any training. These RSTs achieve robust accuracy matching or exceeding that of adversarially trained models, and a novel Random RST Switch (R2S) technique further boosts robustness by dynamically switching between RSTs, offering a parameter-efficient defense strategy.

ABSTRACT

Deep Neural Networks (DNNs) are known to be vulnerable to adversarial attacks, i.e., an imperceptible perturbation to the input can mislead DNNs trained on clean images into making erroneous predictions. To tackle this, adversarial training is currently the most effective defense method, by augmenting the training set with adversarial samples generated on the fly. Interestingly, we discover for the first time that there exist subnetworks with inborn robustness, matching or surpassing the robust accuracy of the adversarially trained networks with comparable model sizes, within randomly initialized networks without any model training, indicating that adversarial training on model weights is not indispensable towards adversarial robustness. We name such subnetworks Robust Scratch Tickets (RSTs), which are also by nature efficient. Distinct from the popular lottery ticket hypothesis, neither the original dense networks nor the identified RSTs need to be trained. To validate and understand this fascinating finding, we further conduct extensive experiments to study the existence and properties of RSTs under different models, datasets, sparsity patterns, and attacks, drawing insights regarding the relationship between DNNs' robustness and their initialization/overparameterization. Furthermore, we identify the poor adversarial transferability between RSTs of different sparsity ratios drawn from the same randomly initialized dense network, and propose a Random RST Switch (R2S) technique, which randomly switches between different RSTs, as a novel defense method built on top of RSTs. We believe our findings about RSTs have opened up a new perspective to study model robustness and extend the lottery ticket hypothesis.

Motivation & Objective

  • To investigate whether robust subnetworks exist within randomly initialized deep neural networks without any training.
  • To understand the relationship between model initialization, overparameterization, and inherent robustness in DNNs.
  • To develop a practical defense mechanism leveraging the inborn robustness of subnetworks found in untrained models.
  • To explore the transferability and efficiency of robust subnetworks across different datasets and sparsity levels.
  • To propose a novel defense technique, Random RST Switch (R2S), that enhances robustness through dynamic switching between RSTs.

Proposed method

  • Identify subnetworks (RSTs) via magnitude-based pruning from randomly initialized dense networks, without any model training.
  • Evaluate the robustness of RSTs using standard adversarial attacks (e.g., PGD, Auto-Attack) on multiple datasets and architectures.
  • Propose the Random RST Switch (R2S) technique, which randomly switches between multiple RSTs during inference to improve robustness.
  • Use Expectation over Transformation (EOT) and ensemble-based attacks to evaluate the robustness of R2S against adaptive adversaries.
  • Compare RSTs with adversarially trained subnetworks (adversarial RTTs) to assess transferability and parameter efficiency.
  • Conduct extensive ablation studies across models, datasets, sparsity patterns, and attack types to validate the consistency and properties of RSTs.

Experimental results

Research questions

  • RQ1Do subnetworks with inherent robustness exist within randomly initialized deep neural networks before any training?
  • RQ2How does the robustness of RSTs compare to that of adversarially trained models with similar model sizes?
  • RQ3What is the relationship between network initialization, overparameterization, and the emergence of robust subnetworks?
  • RQ4How transferable are RSTs across different sparsity ratios and datasets, and does this affect robustness?
  • RQ5Can dynamic switching between RSTs significantly improve adversarial robustness compared to static models?

Key findings

  • RSTs identified from randomly initialized ResNet101 achieve 3.56% and 4.31% higher robust accuracy than adversarially trained ResNet18 under ε=2 and ε=4, respectively.
  • R2S achieves 13.74% to 15.28% higher robust accuracy than adversarially trained models on CIFAR-10 under PGD-20 attacks.
  • R2S maintains 7.40% to 9.83% higher robust accuracy than adversarially trained models even under adaptive attacks (EOT and ensemble-based).
  • RSTs exhibit poor adversarial transferability across different sparsity ratios, which enables the design of effective R2S defense.
  • RSTs outperform transferred adversarial RTTs by 1.68% in robust accuracy on CIFAR-100, demonstrating superior parameter efficiency and robustness.
  • The same randomly initialized dense network can serve as a shared backbone for multiple tasks, with task-specific RSTs stored compactly via binary masks, enabling efficient deployment.

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.