[Paper Review] Pruning artificial neural networks: a way to find well-generalizing, high-entropy sharp minima
This paper compares one-shot and gradual neural network pruning, demonstrating that gradual pruning accesses well-generalizing, high-entropy sharp minima—previously unreachable via one-shot methods. It introduces PSP-entropy, a metric revealing that gradually pruned models learn more general, class-agnostic features, making them superior for transfer learning despite higher computational cost.
Recently, a race towards the simplification of deep networks has begun, showing that it is effectively possible to reduce the size of these models with minimal or no performance loss. However, there is a general lack in understanding why these pruning strategies are effective. In this work, we are going to compare and analyze pruned solutions with two different pruning approaches, one-shot and gradual, showing the higher effectiveness of the latter. In particular, we find that gradual pruning allows access to narrow, well-generalizing minima, which are typically ignored when using one-shot approaches. In this work we also propose PSP-entropy, a measure to understand how a given neuron correlates to some specific learned classes. Interestingly, we observe that the features extracted by iteratively-pruned models are less correlated to specific classes, potentially making these models a better fit in transfer learning approaches.
Motivation & Objective
- To investigate why pruning strategies achieve high generalization with minimal performance loss.
- To compare one-shot and gradual pruning in terms of model sparsity, generalization, and minima properties.
- To understand whether sharp minima can generalize well, challenging the conventional belief that flat minima are better.
- To develop a metric (PSP-entropy) to quantify neuron specialization and feature generalization in pruned models.
- To evaluate the suitability of pruned models for transfer learning based on feature abstraction quality.
Proposed method
- Compares one-shot pruning (e.g., Frankle & Carbin) and gradual pruning (e.g., LOBSTER) on LeNet-5 and other architectures across MNIST, CIFAR-10, and ImageNet.
- Uses Hessian eigenvalue analysis to assess minima sharpness, computing top-5 eigenvalues via efficient approximation methods.
- Introduces PSP-entropy, a measure based on post-synaptic potential (PSP) L2 norms and their class-wise distribution to quantify neuron specialization.
- Employs 2D loss maps between one-shot and gradual solutions to visualize loss landscapes and minima width.
- Analyzes PSP L2-norm magnitudes to assess activation strength and network sparsity effects.
- Applies first- and second-order PSP-entropy to evaluate feature specificity: lower entropy indicates class-specific neurons, higher entropy indicates generalization.
Experimental results
Research questions
- RQ1Can gradual pruning access well-generalizing, sharp minima that one-shot pruning cannot?
- RQ2Do high-entropy, sharp minima generalize better than flat minima, contradicting conventional wisdom?
- RQ3Is there a measurable difference in feature abstraction between one-shot and gradually pruned models?
- RQ4Can PSP-entropy serve as a reliable indicator of feature generalization in pruned networks?
- RQ5Do gradually pruned models outperform one-shot models in transfer learning due to more general features?
Key findings
- Gradual pruning achieves higher sparsity (up to 99.57% pruned parameters) with better generalization than one-shot pruning, especially at high compression rates.
- The solution found via gradual pruning lies in a narrower, yet lower-loss minimum compared to one-shot, indicating access to a distinct, well-generalizing sharp minimum.
- Despite being sharper, the gradually pruned model generalizes better, challenging the assumption that only flat minima generalize well.
- PSP-entropy analysis shows that gradually pruned models exhibit significantly higher second-order entropy than one-shot models, indicating more general, less class-specific features.
- The lower PSP L2-norm values in gradually pruned models suggest reduced activation magnitudes, contributing to more stable and generalizable representations.
- The results imply that gradually pruned models are better suited for transfer learning due to their ability to extract non-specific, general-purpose features.
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.