[Paper Review] DMCP: Differentiable Markov Channel Pruning for Neural Networks
DMCP proposes a differentiable Markov channel pruning method that models channel pruning as a Markov process, enabling end-to-end gradient-based optimization with FLOPs regularization. It achieves state-of-the-art accuracy on ImageNet across ResNet and MobileNetV2 under various FLOPs constraints, outperforming methods like AMC, MetaPruning, and AutoSlim with consistent gains.
Recent works imply that the channel pruning can be regarded as searching optimal sub-structure from unpruned networks. However, existing works based on this observation require training and evaluating a large number of structures, which limits their application. In this paper, we propose a novel differentiable method for channel pruning, named Differentiable Markov Channel Pruning (DMCP), to efficiently search the optimal sub-structure. Our method is differentiable and can be directly optimized by gradient descent with respect to standard task loss and budget regularization (e.g. FLOPs constraint). In DMCP, we model the channel pruning as a Markov process, in which each state represents for retaining the corresponding channel during pruning, and transitions between states denote the pruning process. In the end, our method is able to implicitly select the proper number of channels in each layer by the Markov process with optimized transitions. To validate the effectiveness of our method, we perform extensive experiments on Imagenet with ResNet and MobilenetV2. Results show our method can achieve consistent improvement than state-of-the-art pruning methods in various FLOPs settings. The code is available at https://github.com/zx55/dmcp
Motivation & Objective
- To address the scalability limitation of existing channel pruning methods that require training and evaluating numerous sub-structures.
- To enable efficient, differentiable search for optimal sub-structures in pruned neural networks.
- To model channel pruning as a Markov process with learnable transition probabilities for end-to-end optimization.
- To achieve high-accuracy, compact models under strict FLOPs budgets through gradient-based optimization.
Proposed method
- Channel pruning is modeled as a Markov process where each state represents the retention of a channel, and transitions represent the probability of retaining the next channel.
- The marginal probability of retaining a channel is computed as the product of transition probabilities, serving as a learnable scaling coefficient for feature maps.
- Learnable transition probabilities are optimized end-to-end using standard task loss and FLOPs regularization via gradient descent.
- After optimization, the final pruned model is sampled via Expected Sampling from the learned Markov process and fine-tuned from scratch.
- The method supports differentiable architecture search with logical dependencies between channel counts, unlike independent operation choices in DARTS.
- The approach enables efficient, scalable pruning without iterative training of multiple sub-structures.
Experimental results
Research questions
- RQ1Can channel pruning be effectively modeled as a differentiable Markov process to enable end-to-end optimization?
- RQ2How can logical dependencies between channel counts (e.g., k+1 channels require k channels) be preserved in a differentiable pruning framework?
- RQ3Can a differentiable Markov process outperform reinforcement learning and evolutionary methods in pruning efficiency and accuracy?
- RQ4To what extent does joint optimization of architecture and weights improve performance in pruned models?
- RQ5Does the proposed method generalize across diverse architectures like MobileNetV2 and ResNet under varying FLOPs constraints?
Key findings
- On ImageNet, DMCP achieves 72.2% top-1 accuracy on MobileNetV2 with 211M FLOPs, outperforming the baseline by 1.2% and surpassing AutoSlim, AMC, and MetaPruning.
- For ResNet-50, DMCP reduces FLOPs by 44% (from 4.1G to 2.2G) with only a 0.4% accuracy drop, achieving 76.2% top-1 accuracy.
- With 59M FLOPs, DMCP achieves 62.7% top-1 accuracy on MobileNetV2, a 9.6% improvement over the unpruned baseline in the same FLOPs setting.
- When trained with the slimmable method, DMCP further improves to 74.6% top-1 accuracy on 300M FLOPs, outperforming AutoSlim by 2.3%.
- Ablation studies confirm that joint optimization of architecture and weights yields better performance than separate training, with a 62.7% top-1 accuracy at 59M FLOPs.
- The method consistently outperforms uniform pruning, MetaPruning, AMC, and FPGM across all FLOPs settings on both MobileNetV2 and ResNet architectures.
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.