Sparsity-Adaptive Sharpness-Aware Minimization
Organizations: Faculty of Engineering Gifu University Gifu, Japan
Abstract
Deploying deep neural networks in real-world settings requires models that are both compact and robust to common corruptions. However, at deployment-relevant high sparsity, standard pruning pipelines often degrade corruption robustness, and existing sharpness-aware training/pruning approaches provide limited robustness gains. We address this issue by introducing Sparsity-Adaptive Sharpness-Aware Minimization (SA-SAM), which derives a sparsity-dependent SAM/ASAM perturbation radius by keeping the mean absolute perturbation (an -based proxy) approximately invariant as sparsity increases. As a simple complementary option, we evaluate Magnitude-Weighted Hessian (MWH), derived from a second-order removal-path analysis, yielding an importance proportional to , where is the diagonal empirical Fisher used as a curvature proxy in our implementation. Across CIFAR-10-C, CIFAR-100-C, and ImageNet-100-C, our approach achieved stronger corruption robustness than the considered pruning baselines at 80--90% sparsity, while preserving clean accuracy. We additionally quantify the robustness--throughput trade-off by reporting measured inference throughput under sparse execution at deployment-relevant sparsity levels.
Figures & tables
| Method@ | CIFAR-10 | CIFAR-10-C | CIFAR-100 | CIFAR-100-C | Throughput |
|---|---|---|---|---|---|
| [email protected] | 96.12 0.03 | 78.19 0.46 | 79.93 0.05 | 53.37 0.44 | 200 0 |
| [email protected] | 93.86 0.10 | 75.82 0.54 | 76.50 0.30 | 48.61 0.41 | 446 11 |
| [email protected] | 95.29 0.12 | 75.08 0.80 | 78.46 0.21 | 48.97 0.66 | 316 6 |
| [email protected] | 93.59 0.16 | 72.38 0.96 | 72.72 0.13 | 45.64 0.71 | 689 12 |
| [email protected] | 96.00 0.07 | 77.81 0.53 | 79.49 0.05 | 52.63 0.53 | 535 7 |
| [email protected] | 93.64 0.03 | 75.50 0.53 | 75.19 0.37 | 46.32 0.57 | 1310 90 |
| Method@ | ImageNet-100 | ImageNet-100-C | Throughput |
|---|---|---|---|
| [email protected] | 82.91 0.30 | 44.58 0.69 | 173 3 |
| [email protected] | 81.81 0.42 | 40.86 1.18 | 365 3 |
| [email protected] | 81.27 0.53 | 42.13 0.53 | 381 14 |
| [email protected] | 77.51 0.57 | 35.74 0.82 | 426 17 |
| [email protected] | 83.14 0.06 | 44.45 0.50 | 387 15 |
| [email protected] | 80.93 0.56 | 39.59 1.47 | 420 17 |
| Method | Low↓ | High↓ | Average↓ |
|---|---|---|---|
| OBD | 9.45 | 3.80 | 5.02 |
| HAP | 10.45 | 3.52 | 5.01 |
| AdaSAP | 12.46 | 15.29 | 14.68 |
| Ours | 1.94 | 0.13 | 0.52 |
| ImageNet-100 | ImageNet-100-C | ||||
|---|---|---|---|---|---|
| Sparsity | Method | ASAM | SA-SAM | ASAM | SA-SAM |
| 0.00 | Dense | 82.91 0.30 | 82.91 0.30 | 44.58 0.69 | 44.58 0.69 |
| 0.80 | OBD | ( ) | ( ) | ||
| HAP | ( ) | ( ) | |||
| AdaSAP | ( ) | ( ) | |||
| MWH (Ours) | 83.14 0.06 ( ) | 44.45 0.50 ( ) | |||
Sparse Neural Networks
Sparse neural networks use a subset of weights, connections, activations, or experts to reduce model complexity and computation.
See all 63 papers