[Paper Review] Data-Independent Neural Pruning via Coresets
This paper proposes the first data-independent neural pruning method using coresets to provably guarantee compression-rate vs. approximation-error trade-offs for any test input, including adversarial ones. By treating neurons as points in a coreset framework and pruning layer-by-layer, it achieves 90% compression on LeNet-300-100 with improved MNIST accuracy, outperforming sampling-based baselines and enabling faster fine-tuning.
Previous work showed empirically that large neural networks can be significantly reduced in size while preserving their accuracy. Model compression became a central research topic, as it is crucial for deployment of neural networks on devices with limited computational and memory resources. The majority of the compression methods are based on heuristics and offer no worst-case guarantees on the trade-off between the compression rate and the approximation error for an arbitrarily new sample. We propose the first efficient, data-independent neural pruning algorithm with a provable trade-off between its compression rate and the approximation error for any future test sample. Our method is based on the coreset framework, which finds a small weighted subset of points that provably approximates the original inputs. Specifically, we approximate the output of a layer of neurons by a coreset of neurons in the previous layer and discard the rest. We apply this framework in a layer-by-layer fashion from the top to the bottom. Unlike previous works, our coreset is data independent, meaning that it provably guarantees the accuracy of the function for any input $x\in \mathbb{R}^d$, including an adversarial one. We demonstrate the effectiveness of our method on popular network architectures. In particular, our coresets yield 90\% compression of the LeNet-300-100 architecture on MNIST while improving the accuracy.
Motivation & Objective
- To address the lack of provable worst-case guarantees in existing model compression methods, especially under adversarial inputs.
- To develop a data-independent pruning framework that ensures accuracy bounds for any future test sample, not just training data statistics.
- To achieve high compression rates without sacrificing model accuracy, particularly in resource-constrained deployment scenarios.
- To provide a computationally efficient method that avoids the complexity of sparse weight implementations.
Proposed method
- The method treats neurons in a neural network layer as points in a coreset, using coreset theory to select a small, weighted subset that provably approximates the full layer's output.
- It applies a coreset construction algorithm layer-by-layer from the top to the bottom of the network, selecting neurons and updating their weights to the next layer.
- The coreset size is theoretically linked to the desired approximation error, enabling a provable trade-off between compression and accuracy.
- The framework uses known coreset constructions for common activation functions (e.g., ReLU, sigmoid) to ensure theoretical guarantees.
- It leverages existing coreset algorithms (e.g., from Braverman et al., 2016) adapted to neuron outputs, ensuring robustness to any input distribution.
- After pruning, the model is fine-tuned to further improve accuracy, with significantly reduced training time compared to uniform sampling baselines.
Experimental results
Research questions
- RQ1Can a neural pruning method be designed with provable guarantees on approximation error for any input, including adversarial examples?
- RQ2Can such a method be data-independent, avoiding reliance on training data statistics?
- RQ3How does coreset-based neuron selection compare to uniform sampling or percentile-based selection in terms of compression-accuracy trade-off?
- RQ4What is the computational efficiency of the proposed pruning framework in practice?
- RQ5Can the method achieve high compression rates without accuracy degradation, especially in deep networks like VGG-16?
Key findings
- The proposed coreset-based pruning achieved 90% compression on the LeNet-300-100 architecture for MNIST while improving classification accuracy.
- The method outperformed uniform sampling and percentile-based coreset selection across all compression levels, with significantly lower average approximation error.
- Fine-tuning of the coreset-pruned model required only about half the time of uniformly sampled baselines, reducing training duration.
- The coreset method maintained high accuracy even at high compression rates, whereas uniform sampling degraded sharply under the same conditions.
- The framework demonstrated fast computation, compressing each dense layer in VGG-16 in approximately 56 seconds on the specified hardware.
- Theoretical analysis confirmed that the coreset approximation holds for any input $ x \in \mathbb{R}^d $, including adversarial inputs, ensuring robustness.
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.