[Paper Review] Pruning Deep Neural Networks from a Sparsity Perspective
This paper introduces the PQ Index (PQI), a novel sparsity measure satisfying six ideal sparsity properties, to quantify neural network compressibility. Using PQI, the authors develop the Sparsity-informed Adaptive Pruning (SAP) algorithm, which dynamically adjusts pruning ratios during iterative pruning. Experiments show SAP achieves superior compression efficiency and robustness compared to state-of-the-art methods like lottery ticket pruning, especially in maintaining performance during aggressive pruning.
In recent years, deep network pruning has attracted significant attention in order to enable the rapid deployment of AI into small devices with computation and memory constraints. Pruning is often achieved by dropping redundant weights, neurons, or layers of a deep network while attempting to retain a comparable test performance. Many deep pruning algorithms have been proposed with impressive empirical success. However, existing approaches lack a quantifiable measure to estimate the compressibility of a sub-network during each pruning iteration and thus may under-prune or over-prune the model. In this work, we propose PQ Index (PQI) to measure the potential compressibility of deep neural networks and use this to develop a Sparsity-informed Adaptive Pruning (SAP) algorithm. Our extensive experiments corroborate the hypothesis that for a generic pruning procedure, PQI decreases first when a large model is being effectively regularized and then increases when its compressibility reaches a limit that appears to correspond to the beginning of underfitting. Subsequently, PQI decreases again when the model collapse and significant deterioration in the performance of the model start to occur. Additionally, our experiments demonstrate that the proposed adaptive pruning algorithm with proper choice of hyper-parameters is superior to the iterative pruning algorithms such as the lottery ticket-based pruning methods, in terms of both compression efficiency and robustness.
Motivation & Objective
- To address the lack of a quantifiable measure for estimating sub-network compressibility during pruning iterations.
- To develop a sparsity measure that satisfies all six ideal properties of sparsity, enabling reliable compressibility estimation.
- To propose a new pruning algorithm that adaptively adjusts pruning ratios based on compressibility, improving efficiency and robustness.
- To empirically validate the hypothesis that PQI dynamics reflect model performance trends during pruning.
- To demonstrate that adaptive pruning using PQI outperforms fixed-ratio pruning methods in compression and accuracy.
Proposed method
- Proposes the PQ Index (PQI), a new vector sparsity measure that satisfies all six ideal sparsity properties (Robin Hood, Scaling, Rising Tide, Cloning, Bill Gates, Babies).
- Uses PQI to estimate the compressibility of pruned sub-networks at each pruning iteration, guiding adaptive pruning decisions.
- Develops the Sparsity-informed Adaptive Pruning (SAP) algorithm that adjusts pruning ratios based on PQI trends to avoid under- or over-pruning.
- Employs a dynamic pruning strategy where the pruning ratio is determined by the current PQI value and its change over iterations.
- Applies SAP across different pruning scopes (global, neuron-wise, layer-wise) and evaluates performance on CIFAR-10 with CNNs.
- Conducts ablation studies on hyperparameters p, q, ηr, and γ to tune SAP's adaptive behavior and validate robustness.
Experimental results
Research questions
- RQ1Can a sparsity measure satisfying all six ideal properties reliably estimate the compressibility of a pruned neural network?
- RQ2Does the dynamics of the PQI reflect meaningful changes in model performance during iterative pruning?
- RQ3Can an adaptive pruning algorithm guided by PQI achieve better compression efficiency and robustness than fixed-ratio methods?
- RQ4How do different pruning scopes (global, neuron-wise, layer-wise) affect the performance and stability of the SAP algorithm?
- RQ5What is the optimal configuration of hyperparameters (p, q, ηr, γ) for the SAP algorithm across different datasets and architectures?
Key findings
- The PQ Index (PQI) is the first sparsity measure to satisfy all six ideal properties, making it a theoretically sound indicator of vector sparsity.
- PQI dynamics follow a hypothesized pattern: it first decreases during effective regularization, increases at the onset of underfitting, and decreases again during model collapse.
- SAP with neuron-wise pruning outperforms 'One Shot' and 'Lottery Ticket' methods in compression efficiency and robustness, especially at low remaining weight ratios.
- The sparsity of pruned models decreases during iterative pruning, and PQI differences provide a sanity check that pruning is progressing as expected.
- Ablation studies confirm that hyperparameters p and q control pruning aggressiveness, with optimal performance when p ≈ q and q is distant from p.
- The performance of SAP follows a logistic decay pattern, with the inflection point of the curve aligning with the peak of the PQI measure, validating the hypothesis on compressibility dynamics.
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.