This paper challenges the conventional wisdom that training data is required to determine which parts of a neural network are important. The authors introduce SynFlow, an algorithm capable of pruning a network down to 0.01% of its original size at initialization—without ever looking at a single image or label.
The Challenge of Pruning at Initialization
Neural network pruning—removing unnecessary parameters—is traditionally performed after a model is fully trained. While effective, this process is computationally expensive. Recently, researchers have attempted to prune networks at initialization (before training) to save time, memory, and energy.
However, existing "at-initialization" methods like SNIP and GraSP often suffer from a fatal flaw: layer-collapse. This occurs when an algorithm accidentally prunes every single connection in a specific layer. If even one layer is completely deleted, the network becomes a "broken pipe"—no information can flow from input to output, rendering the entire network untrainable. Furthermore, these existing methods still require a batch of training data to calculate which weights to keep.
This raises a foundational question: Can we identify highly sparse, trainable subnetworks at initialization without ever looking at the data?
The SynFlow Solution
The authors approach this problem through the lens of Synaptic Flow.
- The Conservation Law: They mathematically prove that "synaptic saliency" (a measure of weight importance) is conserved across neurons and layers. They show that in a single pruning pass, parameters in larger layers naturally receive lower importance scores. This mathematical reality is exactly why previous single-shot methods suffered from layer-collapse.
- Data-Agnostic Objective: To fix this, they define a "Synaptic Flow" loss ($R_{SF}$), which is simply the product of the absolute values of all weights in the network. Because the objective only depends on the weights themselves (effectively passing a vector of ones through the network), absolutely no training data is needed.
- Iterative Pruning: Instead of pruning all weights at once, SynFlow prunes a small percentage of weights, re-calculates the "flow" scores, and repeats. This iterative process allows the remaining weights to "re-balance" their importance scores, preventing any single layer from being emptied.
Key Results and Extreme Compression
The authors evaluated SynFlow across several standard computer vision benchmarks, including CIFAR-10, CIFAR-100, and Tiny ImageNet, using architectures like VGG and ResNet.
Despite being completely data-agnostic, SynFlow consistently matched or outperformed data-dependent methods. Most notably, SynFlow remains stable at extreme compression ratios.
While other methods see their accuracy drop to zero (due to layer-collapse) at around 95-99% sparsity, SynFlow-pruned networks remain trainable and accurate even when compressed to $10^4$ (99.99% sparse). The algorithm consistently reaches the theoretical limit of maximal critical compression. The subnetworks found by SynFlow function as "winning tickets"—highly sparse initializations that can be trained to high accuracy from scratch.
Limitations and Future Directions
- Iterative Overhead: While SynFlow saves on training costs, the algorithm itself requires multiple iterations (e.g., 100) of forward and backward passes. Although these passes are computationally cheap because they don't require data loading, the process is still more complex than a single-shot prune.
- Low-Compression Regime: At very low levels of pruning (e.g., only removing 10% of weights), data-driven methods like SNIP can sometimes slightly outperform SynFlow. At these low sparsities, the specific data distribution can matter more than the global structural flow.
Ultimately, SynFlow proves that at initialization, the structural "flow" of the network is a remarkably strong proxy for importance. Looking forward, the authors suggest this data-agnostic approach could be used to design better neural network architectures from scratch or be integrated into Neural Architecture Search (NAS) to find efficient models without massive compute overhead.
Summary updated