TL;DR
This paper shifts the focus of Pruning at Initialization (PaI) from weight importance to subnetwork topology. By introducing the Node-Path Balancing (NPB) principle, the authors demonstrate that the best-performing sparse networks maintain a specific balance between the number of "effective nodes" and "effective paths," leading to a new pruning method that outperforms state-of-the-art techniques while significantly reducing inference costs.
What Problem Does This Paper Address?
Deep learning models are notoriously resource-hungry. While "pruning" (removing unnecessary weights) is a standard way to slim them down, most methods require a fully trained model to start with. Pruning at Initialization (PaI) aims to find a "winning ticket"—a sparse subnetwork—before training even begins. This saves both training time and inference memory.
However, existing PaI methods have a mysterious quirk: they are often "mask-shuffling resilient." You can take the sparse mask they found, shuffle the connections within a layer, and the model often performs just as well. This suggests that these methods aren't actually finding "important weights"; they are just finding good layer-wise sparsity ratios. Furthermore, these methods tend to fail at extreme sparsity levels (e.g., >99% weights removed). The authors set out to understand the underlying topology that actually makes a sparse mask "good."
Methods
The authors propose a framework based on two topological quantities:
- Effective Paths ($f_p$): The number of complete paths from an input node to an output node.
- Effective Nodes ($f_n$): The number of neurons or channels that are part of at least one effective path.
They observe that existing methods like SynFlow (which maximizes paths) often create very narrow, "stringy" networks with few active nodes. Conversely, Random Pruning keeps many nodes active but creates very few complete paths at high sparsity.
Based on this, they introduce the Node-Path Balancing (NPB) method. It treats pruning as a multi-objective optimization problem: $$\text{Maximize } \alpha f_n + (1 - \alpha)f_p + \beta R$$ Subject to a sparsity constraint. Here, $R$ is a regularizer that encourages activating as many kernels as possible. Because solving this globally is computationally hard, they solve it sequentially, layer-by-layer, using convex optimization libraries.
Datasets
The authors validated their approach across several standard benchmarks and architectures:
- CIFAR-10 using ResNet-20.
- CIFAR-100 using VGG-19.
- Tiny-ImageNet using ResNet-18.
- NAS-Bench-Macro: A benchmark of 6,561 dense models used to verify if their node/path metrics correlate with performance even in non-pruned settings.
Key Insights and Ideas
- The Balancing Principle: The "aha moment" is that neither maximizing nodes nor maximizing paths is enough. The top-performing subnetworks always sit in a "balancing region" between the two.
- The Shuffling Paradox Explained: Shuffling connections within a layer increases the number of effective nodes (making the network "wider") but often breaks effective paths. At low sparsity, the gain in nodes outweighs the loss in paths. At extreme sparsity, the loss of paths becomes catastrophic, which is why shuffling fails there.
- Topology > Weights: At the start of training, the specific values of the weights matter much less than the "plumbing" of the network—how information is allowed to flow through the graph.
- Data-Agnostic Power: Their NPB method doesn't need to see a single training image to decide which weights to cut, making it highly efficient and truly "data-agnostic."
Key Results
- Superior Accuracy: NPB outperformed the previous state-of-the-art (PHEW) in 11 out of 12 experimental settings. In some cases, it improved accuracy by up to 14% compared to the popular SNIP method.
- Efficiency Gains: NPB discovered subnetworks with significantly lower inference FLOPs—up to 3.4× reduction compared to other PaI methods.
- Speed: Despite using a convex solver, NPB is up to 14.5× faster at finding a mask than PHEW at lower sparsity levels.
- Extreme Sparsity: While other methods' performance falls off a cliff at 99% sparsity, NPB maintains much more robust performance by ensuring paths aren't accidentally severed.
Limitations and Future Work
- Greedy Optimization: The current method optimizes layer-by-layer. While effective, a global optimization approach might find even better topologies, though it remains a "non-trivial" computational challenge.
- Sparsity Ratios: The method currently relies on the Erdős-Rényi Kernel (ERK) method to decide how much to prune each specific layer. The authors noted that the choice of these initial ratios still has a significant impact on the final result.
- Future Directions: A promising next step would be integrating the node-path balancing objective directly into the search for layer-wise sparsity ratios, potentially automating the entire architectural design of sparse networks.
Summary updated