NISP: Pruning Networks Using Neuron Importance Score Propagation

Ruichi Yu, Ang Li, Chun-Fu Chen, Jui-Hsin Lai, Vlad I. Morariu, Xintong Han, Mingfei Gao, Ching-Yung Lin, Larry S. Davis

Abstract

To reduce the significant redundancy in deep Convolutional Neural Networks (CNNs), most existing methods prune neurons by only considering the statistics of an individual layer or two consecutive layers, ignoring the effect of error propagation in deep networks. In contrast, we argue that for a pruned network to retain its predictive power, it is essential to prune neurons in the entire neuron network jointly based on a unified goal: minimizing the reconstruction error of important responses in the "final response layer" (FRL), which is the second-to-last layer before classification. Specifically, we apply feature ranking techniques to measure the importance of each neuron in the FRL, formulate network pruning as a binary integer optimization problem, and derive a closed-form solution to it for pruning neurons in earlier layers. Based on our theoretical analysis, we propose the Neuron Importance Score Propagation (NISP) algorithm to propagate the importance scores of final responses to every neuron in the network. The CNN is pruned by removing neurons with least importance, and it is then fine-tuned to recover its predictive power. NISP is evaluated on several datasets with multiple CNN models and demonstrated to achieve significant acceleration and compression with negligible accuracy loss.

Introduction

Deep Convolutional Neural Networks (CNNs) have revolutionized computer vision but come with high computational and memory costs, hindering deployment on edge devices. While redundancy in these networks is well-known, effective pruning—removing unnecessary neurons or filters—remains a challenge.

Most traditional pruning methods are "local" or "greedy," evaluating neurons within a single layer in isolation. However, a neuron that appears insignificant in an early layer might be critical for a high-level feature later in the network. Local pruning causes reconstruction errors to compound as they propagate through the architecture, leading to significant performance degradation. NISP addresses this by introducing a global importance measure that considers the network's final output.

The NISP Methodology

The core idea of NISP is to maintain the integrity of the Final Response Layer (FRL)—the layer immediately preceding classification. By ensuring the FRL's output remains as close as possible to the original, the model's overall accuracy is preserved.

Overview of the NISP pipeline, showing the flow from a pre-trained network to importance propagation and final pruning.

The NISP algorithm operates in three distinct phases:

  1. Feature Ranking in the FRL: Using Infinite Feature Selection (Inf-FS), the algorithm identifies which neurons in the FRL are most vital for correct classification.
  2. Importance Propagation: Pruning is formulated as a binary integer optimization problem. The authors derive a closed-form solution that allows importance scores to be propagated backward from the FRL to the input layer in a single pass, similar to backpropagation.
  3. Global Pruning and Fine-tuning: Neurons across the entire network are ranked by their global importance scores. Those with the lowest scores are removed according to target compression ratios, followed by a fine-tuning phase to recover predictive power.

This global approach prevents the "Weighted Average Reconstruction Error" (WARE) from exploding, a common failure mode in layer-by-layer pruning.

Experimental Results

NISP was evaluated on standard benchmarks including MNIST, CIFAR-10, and ImageNet using various architectures like AlexNet, GoogLeNet, and ResNets.

Accuracy loss vs. training iterations across MNIST, CIFAR10, AlexNet, and GoogLeNet, comparing NISP against random pruning and training from scratch.

Key performance highlights include:

  • AlexNet (ImageNet): Achieved a 67.85% reduction in FLOPs with only a 1.43% drop in accuracy, significantly outperforming previous methods that lost 2% accuracy for only 50% FLOP reduction.
  • ResNet-56 (CIFAR-10): Reduced FLOPs by 43.61% with virtually no loss in accuracy, nearly doubling the efficiency gains of magnitude-based pruning.
  • Convergence Efficiency: As shown in the iteration plots, NISP-pruned networks converge much faster during fine-tuning compared to random pruning or training a smaller architecture from scratch, indicating that the pruned model retains substantial "knowledge" from the original.

Conclusion and Future Work

NISP demonstrates that global importance propagation is a superior strategy for network compression compared to local heuristics. By focusing on the final response, it effectively manages error propagation in deep architectures.

Future research directions include automating the selection of pruning ratios for each layer, which currently requires manual guidance (e.g., via PCA energy analysis). Additionally, exploring the application of NISP to non-vision architectures like Transformers and optimizing for specific hardware-accelerated sparse computations remain promising areas for development.

Summary updated

BibTeX
@inproceedings{yu2018nisp,
  author = {Ruichi Yu and Ang Li and Chun-Fu Chen and Jui-Hsin Lai and Vlad I. Morariu and Xintong Han and Mingfei Gao and Ching-Yung Lin and Larry S. Davis},
  title = {{NISP: Pruning Networks Using Neuron Importance Score Propagation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=Fs5gBdi5TvY},
}
Figure