[Paper Review] Learned Threshold Pruning
This paper introduces Learned Threshold Pruning (LTP), a differentiable, gradient-based method that trains per-layer pruning thresholds end-to-end alongside network weights using soft-pruning and differentiable L₀ regularization. LTP achieves state-of-the-art unstructured pruning performance, compressing ResNet50 by 9.1× and AlexNet by 26.4× with minimal accuracy drop, while being computationally efficient and compatible with batch normalization.
This paper presents a novel differentiable method for unstructured weight pruning of deep neural networks. Our learned-threshold pruning (LTP) method learns per-layer thresholds via gradient descent, unlike conventional methods where they are set as input. Making thresholds trainable also makes LTP computationally efficient, hence scalable to deeper networks. For example, it takes $30$ epochs for LTP to prune ResNet50 on ImageNet by a factor of $9.1$. This is in contrast to other methods that search for per-layer thresholds via a computationally intensive iterative pruning and fine-tuning process. Additionally, with a novel differentiable $L_0$ regularization, LTP is able to operate effectively on architectures with batch-normalization. This is important since $L_1$ and $L_2$ penalties lose their regularizing effect in networks with batch-normalization. Finally, LTP generates a trail of progressively sparser networks from which the desired pruned network can be picked based on sparsity and performance requirements. These features allow LTP to achieve competitive compression rates on ImageNet networks such as AlexNet ($26.4 imes$ compression with $79.1\%$ Top-5 accuracy) and ResNet50 ($9.1 imes$ compression with $92.0\%$ Top-5 accuracy). We also show that LTP effectively prunes modern extit{compact} architectures, such as EfficientNet, MobileNetV2 and MixNet.
Motivation & Objective
- To address the challenge of selecting optimal per-layer pruning thresholds in unstructured weight pruning, which are typically set manually or via costly iterative search.
- To develop a differentiable, end-to-end trainable pruning method that jointly optimizes network weights and layer-specific pruning thresholds.
- To enable efficient, scalable pruning of deep networks—especially those with batch normalization—without relying on L₁ or L₂ regularization.
- To generate a continuous trail of progressively pruned models for flexible deployment based on sparsity and accuracy trade-offs.
- To demonstrate high compression ratios on modern, efficient architectures like MobileNetV2, EfficientNet, and MixNet, which are difficult to compress with existing methods.
Proposed method
- LTP introduces a differentiable soft-pruning mechanism that allows gradients to flow through the pruning operation, enabling end-to-end training.
- It formulates a differentiable L₀ regularization that encourages sparsity by learning which weights to prune via gradient descent.
- Each layer has a trainable threshold parameter that is optimized during fine-tuning, allowing the model to automatically learn optimal pruning levels per layer.
- The method uses a soft-assignment strategy where weights below the learned threshold are gradually pruned, avoiding hard binary decisions during training.
- The approach is compatible with batch normalization layers, where traditional L₁/L₂ penalties lose effectiveness, by relying on the differentiable L₀ penalty instead.
- LTP produces a sequence of checkpoints during training, each representing a different sparsity level, enabling selection of a model based on desired accuracy-sparsity trade-offs.
Experimental results
Research questions
- RQ1Can per-layer pruning thresholds be effectively learned via gradient descent to improve unstructured pruning performance?
- RQ2Does differentiable L₀ regularization enable effective sparsity learning in networks with batch normalization, where L₁/L₂ penalties are ineffective?
- RQ3Can a trainable threshold mechanism achieve high compression ratios faster than iterative pruning-fine-tuning methods?
- RQ4Can LTP be applied effectively to modern, efficient architectures like MobileNetV2, EfficientNet, and MixNet without requiring architectural modifications?
- RQ5Does LTP generate a continuous path of pruned models that allows flexible selection based on accuracy and sparsity requirements?
Key findings
- LTP achieves 9.1× compression on ResNet50 with only a 0.3% drop in Top-5 accuracy, reaching 92.0% accuracy after 18 epochs of pruning and 12 epochs of fine-tuning.
- On AlexNet, LTP achieves 26.4× compression with no drop in Top-5 accuracy (79.1%), outperforming prior methods in both compression and accuracy.
- For MobileNetV2, LTP achieves 1.33× compression with less than 1% Top-1 accuracy drop, outperforming global pruning by 9% in accuracy at the same compression rate.
- LTP compresses EfficientNet-B0 by 3× and MixNet-S by 2× with less than 1% Top-1 accuracy drop, marking the first reported pruning results for these architectures.
- The method converges quickly, requiring only 18 epochs for ResNet50 pruning and no additional fine-tuning for MixNet-S, demonstrating high computational efficiency.
- LTP produces a continuous trail of pruned models, enabling deployment-specific selection based on sparsity and performance trade-offs.
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.