Efficient Lottery Ticket Finding: Less Data is More

Zhenyu Zhang, Xuxi Chen, Tianlong Chen, Zhangyang Wang

Introduction

The Lottery Ticket Hypothesis (LTH) reveals a fascinating property of deep learning: within massive, dense neural networks exist sparse, critical subnetworks—"winning tickets"—that can be trained in isolation from random initialization to match the performance of the full model. However, finding these winning tickets is notoriously expensive, often requiring multiple full training cycles. To address this computational bottleneck, researchers introduce the Pruning-Aware Critical (PrAC) set, a small, intelligently selected subset of data that allows for the identification of winning tickets with up to 92% fewer training iterations, while maintaining or even improving final accuracy.

The Challenge of Iterative Magnitude Pruning

The standard method for discovering winning tickets is Iterative Magnitude Pruning (IMP). This approach involves a repetitive "train-prune-retrain" cycle: a model is trained to completion, the smallest weights are pruned, the remaining weights are reset to their initial values, and the process repeats.

While IMP is highly effective, it is a computational nightmare. It requires executing the full training cycle on the entire dataset multiple times. For massive datasets like ImageNet, the computational cost of finding a winning ticket often outweighs the eventual inference benefits of deploying a sparse model. This raises a pivotal question: Can we find these tickets using only a fraction of the data?

Methodology: Co-designing Data and Model Sparsity

To bypass the inefficiencies of standard IMP, the authors propose a co-design of model sparsity and data sparsity. The core of their approach is the construction of the PrAC set, which identifies samples that are "critical" for both the training and pruning phases.

Identifying Critical Samples

The PrAC set is built on two primary criteria:

  1. Training-Critical Samples: Inspired by "forgetting dynamics," the authors track how often a model correctly classifies a sample but later misclassifies it during the training process. Samples that are frequently "forgotten" are deemed harder and more informative for the network.
  2. Pruning-Critical Samples: Pruning reduces a model's capacity, which disproportionately hurts performance on atypical or ambiguous images. The authors identify samples where the predictions of the full dense model and the pruned sparse model disagree, marking them as critical for preserving performance post-pruning.

The PrAC Algorithm and Efficiency Boosters

The process begins with the full dataset. During each IMP iteration, the algorithm updates the PrAC set by combining the hard-to-memorize and easy-to-forget-during-pruning samples. To maximize training speed, the authors implement two additional strategies:

  • Dynamic Training Iterations: The number of training iterations is linearly scaled down based on the reduced size of the PrAC set.
  • Early Stopping: The algorithm monitors the "Hamming distance" between sparsity masks across epochs. Once the mask stabilizes—indicating that the structure of the winning ticket has emerged—training for that iteration is halted early.

Experimental Setup

The researchers evaluated the PrAC method across several standard computer vision benchmarks, including CIFAR-10, CIFAR-100, and Tiny ImageNet (a challenging, downsized version of the full ImageNet dataset). The methodology was rigorously tested on widely used architectures, including ResNet-18, ResNet-20, ResNet-56, and VGG-16.

Key Insights and Results

Massive Speedups and Compact Data

The PrAC method achieved remarkable efficiency gains. Compared to vanilla IMP, the approach yielded training iteration savings of 82.85% to 92.77% on CIFAR-10 and 76.14% to 86.56% on Tiny ImageNet. These speedups were driven by the compact nature of the PrAC sets, which ranged from roughly 35% to 78% of the original dataset size depending on the benchmark. Furthermore, early stopping based on mask convergence cut training resources by an additional ~40% with negligible accuracy loss (<0.5%).

Data-Model Synergy and Regularization

A striking insight from the study is that the "hardness" of a data point is intrinsically linked to the model's architecture and sparsity. Efficiently finding a sparse subnetwork requires a subset that specifically highlights the features the sparse model struggles to capture; a random subset will not suffice.

Surprisingly, PrAC tickets sometimes outperform vanilla tickets found on the full dataset at very high sparsity levels. Focusing on the PrAC set acts as a form of data-driven regularization, preventing the model from wasting capacity on "easy" samples that do not contribute to generalization. On CIFAR-10, PrAC tickets at 93.13% sparsity outperformed other efficient pruning methods like SynFlow, SNIP, and GraSP by margins of 1.51% to 18.73% in test accuracy.

Cross-Architecture Transferability

The authors also demonstrated that a PrAC set found using a smaller model (e.g., ResNet-20) can be used to find winning tickets in a larger model (e.g., VGG-19) on the same dataset. This cross-architecture transferability is a significant practical advantage, as it allows the initial cost of finding the PrAC set to be amortized across multiple experiments.

Limitations and Future Work

Despite its impressive results, the PrAC method has a few limitations. First, there is an initial computational overhead required to identify the "forgetting" and "disagreement" samples. While transferability mitigates this, the first run remains a hurdle. Second, the method introduces new hyperparameters, such as the forgetting threshold and Hamming distance limits, which may require tuning for novel datasets or architectures. Finally, while the results on Tiny ImageNet are promising, the ultimate test for this method will be scaling it to the full ImageNet-1K dataset, where computational stakes are at their highest.

Summary updated

BibTeX
@inproceedings{zhang2021efficient,
  author = {Zhenyu Zhang and Xuxi Chen and Tianlong Chen and Zhangyang Wang},
  title = {{Efficient Lottery Ticket Finding: Less Data is More}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
}
Figure