[Paper Review] Data-Dependent Coresets for Compressing Neural Networks with Applications to Generalization Bounds
The paper introduces CoreNet, a coresets-based method to sparsify trained fully-connected neural networks via importance sampling of weights, with guarantees on output approximation and new generalization bounds.
We present an efficient coresets-based neural network compression algorithm that sparsifies the parameters of a trained fully-connected neural network in a manner that provably approximates the network's output. Our approach is based on an importance sampling scheme that judiciously defines a sampling distribution over the neural network parameters, and as a result, retains parameters of high importance while discarding redundant ones. We leverage a novel, empirical notion of sensitivity and extend traditional coreset constructions to the application of compressing parameters. Our theoretical analysis establishes guarantees on the size and accuracy of the resulting compressed network and gives rise to generalization bounds that may provide new insights into the generalization properties of neural networks. We demonstrate the practical effectiveness of our algorithm on a variety of neural network configurations and real-world data sets.
Motivation & Objective
- Motivate practical compression of trained fully-connected networks to reduce storage and inference costs.
- Develop a principled, coreset-based sparsification method that preserves network outputs up to a user-specified error.
- Provide theoretical guarantees on compressed network size, approximation accuracy, and related generalization bounds.
- Extend traditional coresets to parameter reduction rather than data-point reduction.
Proposed method
- Define an $(\,psilon,\delta)$-coreset for network parameters to ensure $(1\pm\u001epsilon)$-approximation of outputs with high probability.
- Introduce an importance-sampling scheme over network edges using a novel empirical sensitivity measure.
- Compute neuron-wise edge sensitivities using activations cached from a data subset, and perform edge sparsification with unbiased reweighting.
- Apply separate sparsification for positive and negative weights to handle signed connections, then consolidate results.
- Extend CoreNet with CoreNet+ (neuron pruning) and CoreNet++ (amplification via multiple coresets) for improved compression rates.
- Provide theoretical analysis linking core sampling to approximation guarantees across layers.
Experimental results
Research questions
- RQ1Can a coresets-based approach sparsify neural network parameters while preserving outputs within a specified error bound?
- RQ2What are the theoretical guarantees on compressed network size and generalization when using data-dependent coresets for parameter reduction?
- RQ3How does edge-wise importance sampling compare to uniform or norm-based sparsification in preserving accuracy?
- RQ4Do extensions like neuron pruning and amplification meaningfully improve compression without sacrificing guarantees?
- RQ5How does the method perform across datasets and architectures in terms of accuracy and compression ratio?
Key findings
- CoreNet sparsifies trained fully-connected networks to roughly 15% of their original size on MNIST and FashionMNIST with minimal accuracy loss, and about 50% on CIFAR-10.
- Empirical sensitivity-based sampling yields better compression performance than uniform sampling and norm-based matrix sparsification across tested architectures and datasets.
- The method provides probabilistic guarantees that the compressed network output remains within a chosen relative error of the original output.
- CoreNet+, which adds neuron pruning, and CoreNet++, which includes amplification, further improve compression without violating the theoretical guarantees.
- Corollaries establish generalization bounds for networks compressed via the proposed approach, linking empirical sensitivity to generalization performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.