Skip to main content
QUICK REVIEW

[Paper Review] Towards Compact and Robust Deep Neural Networks

Vikash Sehwag, Shiqi Wang|arXiv (Cornell University)|Jun 14, 2019
Adversarial Robustness in Machine LearningComputer Science57 references22 citations
TL;DR

This paper proposes a novel pruning framework that preserves both benign and robust accuracy in deep neural networks during compression. By aligning pre-training and fine-tuning objectives with adversarial robustness and using a robustness-agnostic pruning strategy, the method achieves 93% benign accuracy, 92.5% empirical robust accuracy, and 85% verifiable robust accuracy at 10× compression on CIFAR-10.

ABSTRACT

Deep neural networks have achieved impressive performance in many applications but their large number of parameters lead to significant computational and storage overheads. Several recent works attempt to mitigate these overheads by designing compact networks using pruning of connections. However, we observe that most of the existing strategies to design compact networks fail to preserve network robustness against adversarial examples. In this work, we rigorously study the extension of network pruning strategies to preserve both benign accuracy and robustness of a network. Starting with a formal definition of the pruning procedure, including pre-training, weights pruning, and fine-tuning, we propose a new pruning method that can create compact networks while preserving both benign accuracy and robustness. Our method is based on two main insights: (1) we ensure that the training objectives of the pre-training and fine-tuning steps match the training objective of the desired robust model (e.g., adversarial robustness/verifiable robustness), and (2) we keep the pruning strategy agnostic to pre-training and fine-tuning objectives. We evaluate our method on four different networks on the CIFAR-10 dataset and measure benign accuracy, empirical robust accuracy, and verifiable robust accuracy. We demonstrate that our pruning method can preserve on average 93\% benign accuracy, 92.5\% empirical robust accuracy, and 85.0\% verifiable robust accuracy while compressing the tested network by 10$ imes$.

Motivation & Objective

  • To address the gap in existing network pruning methods that fail to preserve adversarial robustness during model compression.
  • To investigate whether fine-tuning with natural training objectives can maintain robustness after pruning a robustly pre-trained network.
  • To evaluate whether pruning a pre-trained robust network offers advantages over training a compact network from scratch.
  • To analyze the impact of pruning on robustness without fine-tuning and identify failure modes in standard pruning pipelines.
  • To demonstrate that aligning training objectives across pre-training, pruning, and fine-tuning is essential for preserving robustness under compression.

Proposed method

  • Proposes a structured pruning pipeline involving pre-training, iterative pruning, and fine-tuning, with a focus on objective alignment.
  • Aligns the fine-tuning objective with the adversarial robustness or verifiable robustness objective used during pre-training.
  • Uses magnitude-based pruning but decouples the pruning strategy from the training objective, making it robustness-agnostic.
  • Employs both unstructured and structured pruning to evaluate generalization across different compression patterns.
  • Applies robust training techniques such as MixTrain during pre-training to ensure initial robustness before pruning.
  • Fine-tunes the pruned network using either natural or robust training objectives to assess robustness preservation.

Experimental results

Research questions

  • RQ1Does standard weight-magnitude pruning preserve adversarial robustness when applied to a pre-trained robust network?
  • RQ2Can fine-tuning with natural training preserve robustness after pruning a robustly pre-trained model?
  • RQ3What is the impact of aligning pre-training and fine-tuning objectives on robustness preservation during compression?
  • RQ4How does pruning-based compression compare to training a compact network from scratch in terms of robustness and accuracy?
  • RQ5To what extent can robustness be preserved at high compression ratios (e.g., 10×) using the proposed method?

Key findings

  • Without fine-tuning, adversarial robustness degrades similarly to benign accuracy under increasing pruning ratios, indicating robustness is not inherently more fragile.
  • Standard pruning with natural fine-tuning fails to preserve robustness due to objective mismatch between pre-training and fine-tuning.
  • When fine-tuning uses a robust objective matching the pre-training phase, the pruned network maintains 92.5% empirical robust accuracy and 85.0% verifiable robust accuracy at 10× compression.
  • The method preserves 93% benign accuracy on average at 10× compression, demonstrating high compactness with minimal accuracy drop.
  • Structured pruning achieves 84.3% benign accuracy, 90.4% empirical robust accuracy, and 73.8% verifiable robust accuracy at 10× compression.
  • The pruning-based approach improves benign accuracy by up to 10% and robust accuracy by 3.8% over training compact models from scratch, especially under high robustness constraints.

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.