Sanity-Checking Pruning Methods: Random Tickets can Win the Jackpot

Jingtong Su, Yihang Chen, Tianle Cai, Tianhao Wu, Ruiqi Gao, Liwei Wang, Jason D. Lee

TL;DR

This paper performs a "sanity check" on popular neural network pruning methods and discovers a surprising truth: many state-of-the-art techniques don't actually rely on training data or specific connection architectures to succeed. By simply choosing the right number of weights to keep per layer and pruning randomly, the authors' "Random Tickets" can match or even outperform complex algorithms, challenging the core assumptions of the famous "Lottery Ticket Hypothesis."

What Problem Does This Paper Address?

Deep neural networks are notoriously overparameterized, leading to massive computational costs. Network pruning aims to solve this by removing unnecessary weights while maintaining performance.

The prevailing "conventional wisdom" in the field rests on two pillars:

  1. Pruning algorithms must use training data to identify which weights are important.
  2. The specific "architecture" (the exact pattern of remaining connections) is the secret sauce for high performance.

The authors set out to test if these beliefs actually hold water for "unstructured pruning" (pruning individual weights). They specifically look at "initial tickets"—subnetworks found at the very start of training—and "partially-trained tickets"—subnetworks found after some training has occurred.

Methods

The authors developed a "Sanity Check" toolbox to stress-test pruning methods by disrupting the information these algorithms supposedly rely on.

Sanity Check Pipeline
  • Data Corruption: They forced pruning algorithms to find subnetworks using "garbage" data (random labels or random pixels). If the method still worked, it proved the algorithm wasn't actually "learning" from the data during the pruning step.
  • Layerwise Rearrange: They took the "mask" (the map of which weights to keep) found by an algorithm and randomly shuffled it within each layer. This kept the number of weights per layer the same but totally destroyed the specific connectivity pattern the algorithm worked so hard to find.

Based on these checks, they proposed:

  • Random Tickets: A zero-shot method that ignores data entirely. It uses "Smart Ratios" (a simple mathematical formula to decide how many weights to keep in each layer) and then prunes the rest randomly.
  • Hybrid Tickets: A method that combines their "Smart Ratios" with magnitude-based pruning on partially trained models.

Datasets

The researchers evaluated their findings on standard computer vision benchmarks:

  • CIFAR-10 and CIFAR-100: Small-to-medium scale image classification.
  • Tiny-ImageNet: A more challenging, higher-resolution dataset.
  • Architectures: They tested these on ResNet32 and VGG19, two workhorse architectures in deep learning research.

Key Insights and Ideas

  • Initial Tickets are "Data-Blind": Popular methods like SNIP, GraSP, and the original Lottery Ticket (LT) at initialization failed the sanity checks.
Sanity Check Results on Initial Tickets

As the overlapping performance curves demonstrate, these methods performed just as well when pruned with corrupted data or rearranged layers as they did under normal conditions.

  • Connectivity is Overrated (at the start): Because shuffling the connections within a layer didn't hurt performance, the authors concluded that for "initial tickets," the pattern of connections doesn't matter—only the count of connections per layer does.
  • The "Smart Ratio" Discovery: The authors found that successful pruning follows a specific trend: keep more weights in early layers and fewer in deeper layers. They formalized this into a simple decreasing function.
  • Training Changes the Game: Unlike initial tickets, "partially-trained tickets" (pruned after some training) actually passed the sanity checks. For these models, the specific weights and data do matter, indicating that the network has begun to encode meaningful information.

Key Results

  • Random Beats "Smarter" Methods: On VGG19 (CIFAR-10) at 98% sparsity, Random Tickets achieved 92.45% accuracy. In comparison, the original Lottery Ticket method collapsed to 10% (random guess), and SNIP reached only 81.37%.
  • Zero-Shot Efficiency: Random Tickets require zero training or data-dependent optimization to find the subnetwork, making them significantly faster than methods like GraSP or SNIP.
  • Hybrid Superiority: By applying their "Smart Ratios" to partially trained models, the authors' Hybrid Tickets consistently outperformed the previous state-of-the-art (Learning Rate Rewinding), especially at very high levels of sparsity.

Limitations and Future Work

  • Heuristic Ratios: While the "Smart Ratios" work well, they are based on simple decreasing functions. The authors suggest that finding the optimal ratios could be a promising new direction for Neural Architecture Search (NAS).
  • Scope: The study focuses on unstructured pruning. It remains to be seen if "structured pruning" (removing entire neurons or channels) is equally susceptible to these sanity checks.
  • Scale: While Tiny-ImageNet is used, testing on full-scale ImageNet would further validate the robustness of Random Tickets for massive production models.

The paper serves as a wake-up call for the pruning community, suggesting that we might be over-engineering algorithms to find "winning tickets" when a simple, random approach with the right layer-wise balance is often all you need.

Summary updated

BibTeX
@inproceedings{su2020sanity,
  author = {Jingtong Su and Yihang Chen and Tianle Cai and Tianhao Wu and Ruiqi Gao and Liwei Wang and Jason D. Lee},
  title = {{Sanity-Checking Pruning Methods: Random Tickets can Win the Jackpot}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=m4NT_3-0FK9},
}
Figure