Holistic Adversarially Robust Pruning

Qi Zhao, Christian Wressnegger
12/19/2024
cs.LG

No official code found. Best implementation: intellisec/harp (10 stars, last commit 2023-03-01).

Abstract

Neural networks can be drastically shrunk in size by removing redundant parameters. While crucial for the deployment on resource-constraint hardware, oftentimes, compression comes with a severe drop in accuracy and lack of adversarial robustness. Despite recent advances, counteracting both aspects has only succeeded for moderate compression rates so far. We propose a novel method, HARP, that copes with aggressive pruning significantly better than prior work. For this, we consider the network holistically. We learn a global compression strategy that optimizes how many parameters (compression rate) and which parameters (scoring connections) to prune specific to each layer individually. Our method fine-tunes an existing model with dynamic regularization, that follows a step-wise incremental function balancing the different objectives. It starts by favoring robustness before shifting focus on reaching the target compression rate and only then handles the objectives equally. The learned compression strategies allow us to maintain the pre-trained model natural accuracy and its adversarial robustness for a reduction by 99% of the network original size. Moreover, we observe a crucial influence of non-uniform compression across layers.

View on arXivView PDF

Code Implementations(1)

intellisec/harpCommunity75%

Holistic Adversarially Robust Pruning

101Shell, PythonFeb 27, 20233 years ago

Similar Papers

Cite this paper

@article{zhao2024holistic,
  title  = {Holistic Adversarially Robust Pruning},
  author = {Qi Zhao and Christian Wressnegger},
  year   = {2024},
  eprint = {2412.14714},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.14714v1},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.14714.svg)](https://codeofpaper.com/paper/2412.14714)

Discussion