Overview
This paper introduces CoreNet, a principled algorithm that uses "coresets"—small, weighted subsets of parameters—to drastically prune the weights of trained neural networks. Unlike many empirical pruning methods, CoreNet provides rigorous theoretical guarantees that the compressed network's output will closely match the original, while also offering new insights into why compressed networks generalize so well to unseen data.
The Overparameterization Problem
Deep neural networks are notoriously "overparameterized," often containing millions of weights that make them too bulky for resource-constrained environments like mobile phones or embedded robots. While the machine learning community has developed many ways to shrink these models—such as weight pruning, quantization, and low-rank approximations—most of these methods are heuristic. They work well in practice but lack formal guarantees: we don't always know how much the output will change or why the pruned model still works.
The authors bridge this gap by applying the concept of coresets—a tool traditionally used in computational geometry to summarize large datasets—to the internal parameters of a neural network. Their goal is to find a sparse set of weights that provably approximates the network’s original function without requiring expensive retraining.
The CoreNet Algorithm
The core of the paper is the CoreNet algorithm, which treats the weights of a fully-connected layer as a set to be sampled.
- Empirical Sensitivity: Instead of just pruning small weights (magnitude pruning), the authors calculate the "sensitivity" of each edge. This measures how much a specific weight contributes to a neuron’s output relative to all other incoming weights, averaged over a small validation set.
- Importance Sampling: Weights are sampled based on this sensitivity. High-importance weights are kept with high probability, while redundant ones are discarded. To keep the expected output the same, the remaining weights are "reweighted" (scaled up).
- CoreNet+ and CoreNet++: The authors offer two extensions. CoreNet+ adds neuron pruning (removing entire neurons that have low activation), and CoreNet++ uses "amplification," running multiple sampling trials and picking the best one to further tighten the error bounds.
- Provable Guarantees: The authors prove that for any error margin $\epsilon$ and failure probability $\delta$, CoreNet produces an $(\epsilon, \delta)$-coreset. This means the compressed network's output is within a $1 \pm \epsilon$ factor of the original with very high probability.
Key Insights and Theoretical Contributions
- Data-Dependent Pruning: Most pruning is "data-oblivious" (looking only at weight values). CoreNet is "data-dependent"—it uses a small validation set to see which weights actually fire and contribute to the output in practice.
- Entry-wise vs. Norm-based: Many theoretical works provide guarantees based on the "norm" (overall average) of the error. CoreNet provides a stronger entry-wise guarantee, ensuring that every single output neuron remains accurate.
- The Generalization Link: The paper establishes a formal link between compressibility and generalization. By showing that a network can be represented by a very small coreset, the authors provide a bound on the "expected margin loss," suggesting that highly compressible networks are less likely to overfit.
- No Retraining Required: Unlike many pruning pipelines that require cycles of "prune-retrain-prune," CoreNet provides a high-quality approximation immediately after sampling.
Experimental Results
The researchers evaluated CoreNet on three standard image classification benchmarks (MNIST, FashionMNIST, and CIFAR-10) using various fully-connected (MLP) architectures ranging from 2 to 5 layers.
CoreNet consistently outperformed uniform sampling, SVD (Singular Value Decomposition), and standard $\ell_1/\ell_2$ norm-based sampling across all datasets.
- MNIST & FashionMNIST: The algorithm compressed networks to just 15% of their original size with virtually no loss in classification accuracy.
- CIFAR-10: On this more complex dataset, the networks could be compressed to 50% of their size while maintaining comparable performance to the uncompressed models.
- Depth Matters: Interestingly, the relative performance of CoreNet improved as the networks got deeper, suggesting it is particularly effective at identifying the massive redundancies found in large-scale architectures.
Limitations and Future Work
The primary limitation is that this work focuses exclusively on fully-connected (linear) layers. While these are common, modern computer vision relies heavily on Convolutional Neural Networks (CNNs). The authors acknowledge this and state that extending these coreset guarantees to convolutional and recurrent architectures is a key direction for future research. Additionally, while the method avoids retraining, the "sensitivity" calculation does require a pass over a validation dataset, which adds a small amount of pre-processing overhead.
Summary updated