[Paper Review] On Activation Function Coresets for Network Pruning
This paper proposes a data-independent coreset method for provable, heuristic-free model compression in fully-connected neural networks by leveraging activation function properties. It constructs coresets that enable up to 90% parameter reduction in LeNet-300-100 on MNIST while improving test accuracy, eliminating the need for costly training-dependent sampling.
Model compression provides a means to efficiently deploy deep neural networks (DNNs) on devices that limited computation resources and tight power budgets, such as mobile and IoT (Internet of Things) devices. Consequently, model compression is one of the most critical topics in modern deep learning. Typically, the state-of-the-art model compression methods suffer from a big limitation: they are only based on heuristics rather than theoretical foundation and thus offer no worst-case guarantees. To bridge this gap, Baykal et. al. [2018a] suggested using a coreset, a small weighted subset of the data that provably approximates the original data set, to sparsify the parameters of a trained fully-connected neural network by sampling a number of neural network parameters based on the importance of the data. However, the sampling procedure is data-dependent and can only be only be performed after an expensive training phase. We propose the use of data-independent coresets to perform provable model compression without the need for training. We first prove that there exists a coreset whose size is independent of the input size of the data for any neuron whose activation function is from a family of functions that includes variants of ReLU, sigmoid and others. We then provide a compression-based algorithm that constructs these coresets and explicitly applies neuron pruning for the underlying model. We demonstrate the effectiveness of our methods with experimental evaluations for both synthetic and real-world benchmark network compression. In particular, our framework provides up to 90% compression on the LeNet-300-100 architecture on MNIST and actually improves the accuracy.
Motivation & Objective
- To address the lack of theoretical guarantees in existing model compression methods, which rely on heuristic-based parameter sparsification.
- To eliminate the dependency on expensive training phases by introducing data-independent coresets for parameter pruning.
- To establish theoretical foundations for model compression by proving the existence of small, size-independent coresets for neurons with activation functions in a broad family including ReLU and sigmoid.
- To develop a practical algorithm that constructs these coresets and applies neuron pruning directly to compressed models.
- To demonstrate that the proposed method achieves high compression rates while improving or maintaining model accuracy on benchmark datasets.
Proposed method
- The method proves the existence of a coreset for each neuron whose size is independent of input data size, provided the activation function belongs to a specific family including ReLU, sigmoid, and their variants.
- It formulates a data-independent coreset construction procedure based on the functional properties of activation functions, avoiding reliance on training data statistics.
- The coreset is used to identify and prune less important neurons by approximating the contribution of input features to the neuron's output with minimal error.
- A compression-based algorithm is designed to iteratively build and apply the coreset to each layer, enabling structured pruning of entire neurons.
- The method ensures theoretical approximation guarantees by bounding the error introduced by coreset-based parameter sparsification using concentration inequalities.
Experimental results
Research questions
- RQ1Can a data-independent coreset be constructed for fully-connected layers such that the resulting model maintains high accuracy with provable guarantees?
- RQ2Does the size of the coreset depend on the input data size for activation functions in the ReLU and sigmoid family?
- RQ3Can the proposed coreset-based pruning method achieve high compression rates without requiring a full training phase?
- RQ4How does the accuracy of the compressed model compare to the original and to heuristic-based compression methods?
- RQ5Can the coreset-based pruning improve generalization, leading to better test accuracy than the original model?
Key findings
- The proposed method achieves up to 90% parameter compression on the LeNet-300-100 architecture for the MNIST dataset, significantly reducing model size.
- The compressed model achieves improved test accuracy compared to the original network, demonstrating that pruning can enhance generalization.
- The coreset construction is data-independent, eliminating the need for expensive training-dependent sampling procedures.
- Theoretical analysis proves that the coreset size is independent of the input data size for neurons with activation functions in the specified family.
- The method provides provable approximation guarantees, bridging the gap between heuristic-based compression and theoretically grounded model compression.
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.