Sparsity May Cry: Let Us Fail (Current) Sparse Neural Networks Together!

Shiwei Liu, Tianlong Chen, Zhenyu Zhang, Xuxi Chen, Tianjin Huang, Ajay Kumar Jaiswal, Zhangyang Wang

TL;DR

Current Sparse Neural Networks (SNNs) appear highly effective primarily because they are evaluated on "easy," saturated benchmarks like CIFAR-10 or ImageNet. This paper introduces SMC-Bench, a rigorous suite of 10 datasets across four complex domains, revealing that state-of-the-art pruning methods fail catastrophically on difficult tasks—sometimes at sparsity levels as low as 5%.

The Problem with Current Evaluations

For years, the narrative around Sparse Neural Networks has been one of triumph: researchers can prune 90% or even 95% of a model's weights with negligible loss in accuracy. However, the authors argue this success is largely an artifact of "narrow evaluation."

By surveying 100 recent SNN papers, they found that the vast majority focus on image classification or simple language tasks where models have already reached human-level performance. In these "saturated" regimes, over-parameterization is so extreme that pruning is easy. The authors ask a critical question: Can sparse models actually handle complex reasoning, multilingual translation, or scientific discovery? To find out, they move beyond the "low-hanging fruit" of standard benchmarks to see where current algorithms finally break.

Methods & The SMC-Bench

The authors evaluate a wide array of representative sparsification techniques, including Post-Training Pruning (Lottery Ticket Hypothesis, One-Shot Magnitude Pruning), During-Training Pruning (Gradual Magnitude Pruning, RigL), and Prior-Training Pruning (SNIP).

To test these methods, they introduce the SMC-Bench (Sparsity May Cry Benchmark). Unlike standard benchmarks, SMC-Bench targets tasks requiring deep domain knowledge and multi-step reasoning across 4 diverse domains:

  1. Commonsense Reasoning: RACE, WinoGrande, and CSQA.
  2. Arithmetic Reasoning: MAWPS, ASDiv-A, and the challenging SVAMP dataset.
  3. Protein Thermostability Prediction: HotProtein variants and Meltome Atlas.
  4. Multilingual Translation: 10 English-centric language pairs from the OPUS corpus.

Key Insights and Results

Catastrophic Drops on Complex Tasks

On difficult tasks like CSQA, state-of-the-art sparse algorithms fail at "trivial" sparsities. While methods like the Lottery Ticket Hypothesis (LTH) can maintain accuracy at 95% sparsity on CIFAR, they collapse on CSQA at just 36% sparsity. By 59% sparsity, all SNNs dropped to near-random accuracy (approx. 20%), while the dense model maintained ~77%.

Performance of various pruning methods on Commonsense Reasoning datasets.

Difficulty vs. Prunability

There is a clear correlation between task complexity and model prunability: the harder the task, the less "prunable" the model becomes. For instance, in arithmetic reasoning, SNNs sacrifice performance on harder datasets (like SVAMP) much faster than on easier ones (like MAWPS).

Accuracy of sparse models on Arithmetic Reasoning tasks (MAWPS vs. SVAMP).

The Magnitude Trap and Layer Collapse

When fine-tuning large pre-trained models, weights often don't move much from their starting points—a phenomenon known as the "lazy regime." Consequently, magnitude-based pruning often results in nearly identical, sub-optimal sparse structures regardless of when the pruning occurs. Furthermore, gradient-based methods like SNIP are prone to "layer collapse," accidentally pruning nearly 100% of critical layers (like embeddings) and leading to immediate model failure.

Domain-Specific Bottlenecks

  • Protein Prediction: For the ESM-1B protein model, even a tiny 5% sparsity level damaged performance across all tested modules.
  • Multilingual Translation: The "prunability" of mBART increases as more languages are added, suggesting that multilingualism acts as a regularizer making the model more robust to pruning, though it still falls short of dense performance.

The Hessian Advantage

To combat the noisy signals of the "lazy regime," the authors applied oBERT, a second-order pruning method that uses Hessian (curvature) information. oBERT significantly outperformed magnitude-based methods, recovering competitive accuracy at high sparsity. This confirms that the "signal" for what to prune exists, but current popular methods are too blunt to find it.

Limitations and Future Work

The primary limitation of overcoming these failures is computational cost. While second-order methods like oBERT solve the accuracy problem, they are extremely resource-intensive, requiring up to 9x more fine-tuning time and complex Hessian approximations.

The authors suggest that the community needs to move away from simple magnitude-based heuristics and develop next-generation sparse algorithms that are both computationally efficient and capable of preserving the sophisticated reasoning capabilities found in dense models. SMC-Bench serves as the new "north star" for this necessary evolution.

Summary updated

BibTeX
@inproceedings{liu2023sparsity,
  author = {Shiwei Liu and Tianlong Chen and Zhenyu Zhang and Xuxi Chen and Tianjin Huang and AJAY KUMAR JAISWAL and Zhangyang Wang},
  title = {{Sparsity May Cry: Let Us Fail (Current) Sparse Neural Networks Together!}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=J6F3lLg4Kdp},
}
Figure