Introduction
In the field of AI security, adversarial attacks involve introducing imperceptible perturbations to images to deceive neural networks. While untargeted attacks aim simply to cause misclassification, targeted attacks are significantly more challenging as they attempt to force a model to output a specific, pre-defined incorrect label.
A major hurdle in deploying these attacks is transferability: an adversarial example generated on a known "white-box" model often fails to deceive an inaccessible "black-box" victim model. Existing ensemble-based methods frequently rely on random dropout, which can inadvertently destroy the semantic features necessary to represent the target class. To address this, researchers have introduced Diversified Weight Pruning (DWP), a model augmentation technique that strategically preserves essential network connections while diversifying the ensemble.
The Diversified Weight Pruning (DWP) Framework
DWP leverages network pruning—traditionally used for model compression—to create a high-quality, diverse ensemble of substitute models during the attack process. The framework operates on three core principles:
- Core Connection Protection: DWP identifies "necessary" connections by sorting weights by their L1 norm. It assumes that high-magnitude weights are critical for maintaining the model's semantic understanding of the target class.
- Strategic Redundancy Pruning: Instead of random dropping, DWP only prunes from the "redundant" set (the lowest $r\%$ of weights). This ensures that every model in the ensemble remains a high-quality representative of the original task.
- Longitudinal Ensemble Generation: The pruning occurs "on the fly" during the iterative gradient descent process. By pruning a different random subset of redundant weights at each iteration, the attack benefits from a massive, diverse set of model variations without the memory overhead of storing multiple full models.
Key Insights
The success of DWP stems from prioritizing model quality over quantity. By protecting significant weight connections, the attack more accurately "imprints" the target class's semantics onto the adversarial noise. Analysis of the perturbations generated by different pruned models shows they are nearly orthogonal, meaning DWP effectively explores a vast range of "directions" to bypass the victim model's defenses.
Experimental Results
Evaluated on the NIPS 2017 adversarial attack competition dataset, DWP consistently outperformed state-of-the-art methods like Ghost Networks (GN) and Dual-Stage Network Erosion (DSNE):
- CNN Transferability: Achieved a targeted success rate of 81.30% across various CNN architectures (e.g., ResNet, VGG).
- Cross-Architecture Success: Improved success rates by 6.6% when transferring from CNNs to Vision Transformers (ViTs) and MLPs.
- Robustness: Boosted success by 10.1% against adversarially trained (defended) models.
- Real-World Application: In black-box tests against Google Cloud Vision, DWP improved targeted attack success rates by 7.0% over previous benchmarks.
Conclusion
Diversified Weight Pruning represents a significant advancement in targeted adversarial transferability. By treating pruning as a source of controlled diversity rather than just compression, DWP allows attackers to generate more robust perturbations that carry the semantic weight of the target class across different model architectures and real-world APIs.
Summary updated