The Emergence of Essential Sparsity in Large Pre-trained Models: The Weights that Matter

Ajay Jaiswal, Shiwei Liu, Tianlong Chen, Zhangyang Wang · DOI

Introduction

As Large Language Models (LLMs) and vision transformers scale to billions of parameters, they have increasingly become "computational black holes," demanding immense resources for both training and inference. Model pruning—the process of removing redundant weights—has long been the standard solution for improving efficiency. However, the prevailing gold standard for pruning, the Lottery Ticket Hypothesis (LTH), relies on Iterative Magnitude Pruning (IMP). This process requires a repetitive, computationally expensive cycle of training, pruning, and retraining that is often prohibitively costly for modern scale models like GPT-3 or Vicuna.

Researchers at UT Austin’s VITA Group have challenged this paradigm by identifying a phenomenon they call Essential Sparsity. Their findings suggest that massive models contain high-quality sparse patterns "out of the box," rendering the expensive cycles of traditional pruning algorithms largely unnecessary for a significant range of compression.

Defining Essential Sparsity

Essential Sparsity is defined as the "sharp dropping point" on a model's performance-vs-sparsity curve. It represents a specific threshold—typically between 30% and 60% of total weights—within which a model can be pruned in a single step without any retraining and suffer zero performance loss. Before this tipping point, pruning is essentially "free"; beyond it, performance collapses abruptly.

To investigate this, the researchers utilized One-shot Magnitude Pruning (OMP), a method that simply removes weights with the smallest absolute values once. By comparing the masks (the maps of retained weights) generated by OMP against those generated by the expensive LTH method using cosine similarity, they discovered a startling overlap.

Key Insights: The "Free Lunch" at Scale

1. The Redundancy of Iterative Pruning

The study found that within the essential sparsity range, the simple OMP mask and the expensive LTH mask are over 98% identical. This implies that for practical levels of compression, the model is already "handing us" the winning ticket. The intensive search for optimal sparse structures required by LTH is largely redundant for large-scale transformers.

2. Abrupt Sparsification Dynamics

Sparsity does not emerge linearly. By tracking the pre-training dynamics of models like BERT, the authors observed that models suddenly become heavily sparse after a specific number of iterations. This "tipping point" suggests a phase in training where the model begins to abstract knowledge into a more condensed set of parameters.

3. The Data Paradox and SSL

Counter-intuitively, the research indicates that models trained on larger datasets are actually more compressible. It appears that more data helps the model learn more efficient, condensed representations rather than spreading information across more weights. Furthermore, Self-Supervised Learning (SSL) objectives (such as those used in DINO) produce models that are naturally more "pruning-friendly" than those trained via standard supervised learning.

Empirical Results

The study validated the existence of essential sparsity across a diverse array of benchmarks and architectures:

  • Large Language Models: For Vicuna-7B, a significant fraction of weights could be removed one-shot without degrading its MMLU score. In the case of OPT-1.3B, the researchers removed approximately 40% of weights—over 500 million parameters—at zero cost to performance.
  • Natural Language Processing: BERT-base demonstrated a sharp turning point at roughly 60% sparsity across GLUE and SQuAD benchmarks.
  • Computer Vision: The findings held true for Vision Transformers (ViT) across CIFAR and Tiny-ImageNet datasets.
  • Hardware Compatibility: The research also confirmed that these findings apply to N:M structured sparsity, which is critical for achieving actual hardware speedups on modern GPUs like the NVIDIA A100.

Conclusion and Future Directions

The discovery of essential sparsity shifts the focus of model compression from "how to find sparse patterns" to "how to exploit the patterns already present." While this research proves that 30-50% of a model can be pruned for free, a performance gap remains when attempting extreme sparsity (90% or more). At these levels, simple one-shot methods still fall short of specialized pruners like SparseGPT.

Future work will likely explore how to push the boundaries of the essential sparsity range even further and investigate the emergence of these patterns in the next generation of "foundational" models. For now, the message is clear: modern large models are inherently sparse, and we can realize significant efficiency gains without the traditional overhead of iterative retraining.

Summary updated

BibTeX
@inproceedings{jaiswal2023emergence,
  author = {Ajay Jaiswal and Shiwei Liu and Tianlong Chen and Zhangyang Wang},
  title = {{The Emergence of Essential Sparsity in Large Pre-trained Models: The Weights that Matter}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=EUuV733JF8},
}
Figure