[Paper Review] Robustness and Transferability of Universal Attacks on Compressed Models
This paper investigates how pruning and quantization—common model compression techniques—affect the robustness and transferability of Universal Adversarial Perturbations (UAPs) in deep neural networks. It finds that Soft Filter Pruning enhances robustness against UAP transfer attacks by altering the model's feature space, while quantization may induce gradient masking, creating a false sense of security. Transferability between compressed and full models is limited, especially across different pruning methods, suggesting compression can be leveraged as a defense strategy in edge deployments.
Neural network compression methods like pruning and quantization are very effective at efficiently deploying Deep Neural Networks (DNNs) on edge devices. However, DNNs remain vulnerable to adversarial examples-inconspicuous inputs that are specifically designed to fool these models. In particular, Universal Adversarial Perturbations (UAPs), are a powerful class of adversarial attacks which create adversarial perturbations that can generalize across a large set of inputs. In this work, we analyze the effect of various compression techniques to UAP attacks, including different forms of pruning and quantization. We test the robustness of compressed models to white-box and transfer attacks, comparing them with their uncompressed counterparts on CIFAR-10 and SVHN datasets. Our evaluations reveal clear differences between pruning methods, including Soft Filter and Post-training Pruning. We observe that UAP transfer attacks between pruned and full models are limited, suggesting that the systemic vulnerabilities across these models are different. This finding has practical implications as using different compression techniques can blunt the effectiveness of black-box transfer attacks. We show that, in some scenarios, quantization can produce gradient-masking, giving a false sense of security. Finally, our results suggest that conclusions about the robustness of compressed models to UAP attacks is application dependent, observing different phenomena in the two datasets used in our experiments.
Motivation & Objective
- To evaluate how pruning and quantization affect the robustness of compressed DNNs against Universal Adversarial Perturbations (UAPs).
- To investigate the transferability of UAPs between compressed models and their full-precision counterparts.
- To assess whether compression techniques can serve as a defense mechanism against black-box UAP attacks in edge AI systems.
- To compare the performance and robustness of different compression methods (e.g., Soft Filter Pruning, Post-Training Pruning, quantization) across datasets like CIFAR-10 and SVHN.
- To determine whether robustness to UAPs is consistent across datasets or application-dependent.
Proposed method
- Empirically evaluate UAP robustness using white-box and transfer attack settings on compressed models trained on CIFAR-10 and SVHN.
- Apply multiple compression techniques: Soft Filter Pruning (SFP), Post-Training Pruning (PP), and quantization (Q), comparing them to full-precision models.
- Generate UAPs using iterative optimization methods such as PGD, tailored for both untargeted and targeted attacks.
- Assess transferability by crafting UAPs on one model and testing them on others, including across compressed and uncompressed variants.
- Use regularization techniques like mixup and cutout during training to evaluate their impact on UAP robustness in pruned models.
- Analyze feature space differences between SFP and full models to explain observed variations in transferability.
Experimental results
Research questions
- RQ1How does model compression via pruning and quantization affect the robustness of DNNs to universal adversarial perturbations?
- RQ2To what extent do UAPs transfer between compressed models and their full-precision counterparts?
- RQ3Can different pruning strategies, such as Soft Filter Pruning, reduce the transferability of UAPs and thus improve security?
- RQ4Does quantization provide genuine robustness or merely induce gradient masking, leading to a false sense of security?
- RQ5How does dataset-specific data distribution influence the robustness of compressed models to UAP attacks?
Key findings
- Soft Filter Pruning (SFP) significantly reduces UAP transferability between models, indicating a structural shift in learned features that hinders cross-model attack success.
- UAP transfer between Post-Training Pruning (PP) and full models is limited, suggesting that PP does not preserve the same systemic vulnerabilities as the original model.
- Quantization can produce gradient masking, giving a false impression of robustness, as evidenced by high accuracy on adversarial examples despite poor generalization to new attacks.
- On CIFAR-10, SFP combined with mixup and cutout regularization enhances robustness against targeted UAPs, while on SVHN, the same technique degrades robustness, highlighting dataset dependency.
- The effectiveness of compression techniques in improving UAP robustness is not consistent across datasets, indicating that robustness outcomes are highly application- and data-dependent.
- Transferability of UAPs is significantly reduced when models are compressed using SFP, suggesting that deploying multiple compressed variants with different techniques can mitigate black-box UAP threats.
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.