[Paper Review] A Winning Hand: Compressing Deep Networks Can Improve Out-Of-Distribution Robustness
This paper demonstrates that lottery ticket-style pruning and quantization can produce Compact, Accurate, and Robust (CARD) deep neural networks—surprisingly improving out-of-distribution (OOD) robustness over larger models. By training sparse, binary-weight CARDs and using a domain-adaptive CARD-Deck with spectral-similarity gating, the method achieves state-of-the-art performance on CIFAR-10-C (96.8% standard, 92.75% robust) and CIFAR-100-C (80.6% standard, 71.3% robust) with lower memory usage.
Successful adoption of deep learning (DL) in the wild requires models to be: (1) compact, (2) accurate, and (3) robust to distributional shifts. Unfortunately, efforts towards simultaneously meeting these requirements have mostly been unsuccessful. This raises an important question: Is the inability to create Compact, Accurate, and Robust Deep neural networks (CARDs) fundamental? To answer this question, we perform a large-scale analysis of popular model compression techniques which uncovers several intriguing patterns. Notably, in contrast to traditional pruning approaches (e.g., fine tuning and gradual magnitude pruning), we find that "lottery ticket-style" approaches can surprisingly be used to produce CARDs, including binary-weight CARDs. Specifically, we are able to create extremely compact CARDs that, compared to their larger counterparts, have similar test accuracy and matching (or better) robustness -- simply by pruning and (optionally) quantizing. Leveraging the compactness of CARDs, we develop a simple domain-adaptive test-time ensembling approach (CARD-Decks) that uses a gating module to dynamically select appropriate CARDs from the CARD-Deck based on their spectral-similarity with test samples. The proposed approach builds a "winning hand'' of CARDs that establishes a new state-of-the-art (on RobustBench) on CIFAR-10-C accuracies (i.e., 96.8% standard and 92.75% robust) and CIFAR-100-C accuracies (80.6% standard and 71.3% robust) with better memory usage than non-compressed baselines (pretrained CARDs and CARD-Decks available at https://github.com/RobustBench/robustbench). Finally, we provide theoretical support for our empirical findings.
Motivation & Objective
- To investigate whether Compact, Accurate, and Robust (CARD) deep neural networks can exist despite prior failures in combining these traits.
- To determine if model compression techniques—especially lottery ticket-style pruning—can enhance, rather than harm, OOD robustness.
- To develop a dynamic ensembling strategy leveraging CARD compactness for improved robustness under distributional shifts.
- To theoretically support the empirical findings on robustness improvement through compression.
Proposed method
- Applying lottery ticket-style pruning and quantization to train sparse, binary-weight neural networks that achieve high accuracy and robustness.
- Introducing the CARD-Deck framework: a dynamic ensemble of CARDs selected via a gating module based on spectral similarity to test inputs.
- Using spectral similarity between test samples and CARDs to guide adaptive model selection at test time.
- Leveraging data augmentation (e.g., AugMix, Gaussian) during training to improve generalization and robustness of individual CARDs.
- Theoretical analysis using conditional Wasserstein distance to bound OOD shift and generalization error in the ensemble setting.
- Deriving a robustness decomposition that separates empirical robustness, generalization gap, and distributional shift components.
Experimental results
Research questions
- RQ1Can compact, accurate, and robust deep neural networks (CARDs) be constructed through model compression?
- RQ2Does lottery ticket-style pruning and quantization improve, rather than degrade, out-of-distribution robustness?
- RQ3Can existing robustness techniques like data augmentation be effectively combined with CARDs to further improve performance?
- RQ4Can the compactness of CARDs enable efficient, adaptive ensembling strategies that outperform standard ensembles?
- RQ5Is there a theoretical foundation for the observed robustness gains from compression?
Key findings
- Lottery ticket-style pruning and quantization produce CARDs that match or exceed the OOD robustness of larger, full-precision models while maintaining high test accuracy.
- The proposed CARD-Deck framework achieves a new state-of-the-art on CIFAR-10-C with 96.8% standard accuracy and 92.75% robust accuracy, outperforming non-compressed baselines.
- On CIFAR-100-C, the CARD-Deck achieves 80.6% standard accuracy and 71.3% robust accuracy, again setting a new SoTA with lower memory usage.
- Spectral-similarity-based gating in the CARD-Deck consistently selects the best-performing CARD for each corruption type, improving robustness across diverse distributional shifts.
- Theoretical analysis confirms that robustness gains from compression are underpinned by bounded generalization and distributional shift errors, supporting the empirical findings.
- The study validates the CARD hypothesis: robust, compact networks exist early in training and can be identified via lottery ticket initialization, extending the lottery ticket principle to robustness.
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.