Skip to main content
QUICK REVIEW

[Paper Review] Trainability Preserving Neural Pruning

Huan Wang, Yun Fu|arXiv (Cornell University)|Jul 25, 2022
Advanced Neural Network ApplicationsComputer Science6 citations
TL;DR

This paper proposes Trainability Preserving Pruning (TPP), a structured pruning method that maintains neural network trainability by regularizing the Gram matrix of pruned filters to decorrelate them from retained filters, while also regularizing batch normalization parameters. TPP achieves state-of-the-art performance on CIFAR-10/100 and ImageNet-1K, outperforming existing methods, especially under high sparsity, and matches oracle trainability recovery in linear networks.

ABSTRACT

Many recent works have shown trainability plays a central role in neural network pruning -- unattended broken trainability can lead to severe under-performance and unintentionally amplify the effect of retraining learning rate, resulting in biased (or even misinterpreted) benchmark results. This paper introduces trainability preserving pruning (TPP), a scalable method to preserve network trainability against pruning, aiming for improved pruning performance and being more robust to retraining hyper-parameters (e.g., learning rate). Specifically, we propose to penalize the gram matrix of convolutional filters to decorrelate the pruned filters from the retained filters. In addition to the convolutional layers, per the spirit of preserving the trainability of the whole network, we also propose to regularize the batch normalization parameters (scale and bias). Empirical studies on linear MLP networks show that TPP can perform on par with the oracle trainability recovery scheme. On nonlinear ConvNets (ResNet56/VGG19) on CIFAR10/100, TPP outperforms the other counterpart approaches by an obvious margin. Moreover, results on ImageNet-1K with ResNets suggest that TPP consistently performs more favorably against other top-performing structured pruning approaches. Code: https://github.com/MingSun-Tse/TPP.

Motivation & Objective

  • Address the critical issue of trainability degradation in structured neural network pruning, which undermines performance and hyperparameter robustness.
  • Overcome the limitations of existing pruning methods that fail to preserve trainability in deep convolutional networks like ResNets and VGGs.
  • Develop a scalable, regularization-based approach that maintains trainability during filter pruning without relying on post-pruning retraining heuristics.
  • Explicitly account for batch normalization parameters in pruning, as their unattended removal severely harms trainability.
  • Achieve performance on par with oracle trainability recovery in linear networks and surpass SOTA methods in nonlinear ConvNets.

Proposed method

  • Propose a novel regularization on the Gram matrix of convolutional filters, specifically targeting cross-correlations between pruned and retained filters to reduce dependency and preserve trainability.
  • Avoid over-penalizing the self-correlations of retained (important) filters, unlike traditional orthogonality constraints, to prevent optimization degradation and avoid suboptimal local minima.
  • Introduce a regularization term on batch normalization (BN) scale and shift parameters to mitigate performance drops when BN layers are removed during pruning.
  • Apply the regularization during the pre-pruning phase, ensuring that the pruned model remains trainable from the start, even before retraining.
  • Use a two-stage training process: first apply TPP regularization to the pruned model, then fine-tune with standard retraining.
  • Formulate the Gram matrix regularization as a differentiable loss term that encourages zero cross-correlation between pruned and retained filters.

Experimental results

Research questions

  • RQ1Can a regularization-based pruning method preserve network trainability in deep convolutional networks like ResNet and VGG, where previous methods fail?
  • RQ2How does decorrelating pruned filters from retained filters impact final accuracy and robustness to retraining hyperparameters like learning rate?
  • RQ3To what extent do batch normalization parameters contribute to trainability loss during structured pruning, and can they be explicitly regularized to improve performance?
  • RQ4Does the proposed method outperform existing state-of-the-art structured pruning approaches on large-scale benchmarks like ImageNet-1K?
  • RQ5How does the method perform under high sparsity, where trainability degradation is most severe?

Key findings

  • On ResNet56 and VGG19 for CIFAR-10/100, TPP outperforms all compared baselines, including magnitude pruning and other orthogonality-based methods, especially at high sparsity.
  • At 2.31× speedup on ImageNet-1K with ResNet50, TPP improves top-1 accuracy by 1.15% over the next best method, and by 2.87% at 3.06× speedup.
  • On linear MLPs, TPP achieves performance comparable to the oracle trainability recovery scheme, demonstrating its effectiveness in preserving intrinsic trainability.
  • Ablation studies confirm that both Gram matrix regularization and BN parameter regularization are essential: removing either degrades performance, especially at high sparsity.
  • The decorrelation-based regularization (vs. diagonal-only) yields superior results, particularly at sparsity ratios of 0.7 and above, with gains up to 3.5% on VGG19 at 0.7 pruning.
  • On ImageNet-1K, TPP surpasses the SOTA method CHEX across multiple FLOP levels, demonstrating its scalability and robustness to aggressive pruning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.