Introduction
As convolutional neural networks (CNNs) scale in complexity to meet the demands of modern computer vision, their computational and storage requirements often exceed the capabilities of mobile and embedded devices. Channel pruning—removing entire filters to create compact models—is a common remedy. However, many current differentiable pruning methods suffer from entanglement, where a single learnable parameter represents both a channel's importance and its inclusion in the final architecture. This coupling restricts the search space and limits the potential for optimal sub-network discovery.
Disentangled Differentiable Network Pruning (DDNP) addresses this by separating the decision of how many channels to keep (width) from which specific channels are most important.
Methodology
The primary innovation of DDNP is the explicit disentanglement of pruning parameters into two distinct variables:
- Importance Score ($s$): Identifies the most critical channels within a layer.
- Layer Width ($k$): Determines the optimal number of channels for that layer.
Generator Networks and Soft Top-k
Rather than treating $s$ and $k$ as static parameters, DDNP employs two small generator networks ($g_s$ and $g_k$). The importance generator ($g_s$) utilizes a Gated Recurrent Unit (GRU) to model inter-layer dependencies, recognizing that a channel's utility is often contingent on the configurations of adjacent layers.
To maintain differentiability during the pruning process, the authors replace the standard, non-differentiable "top-$k$" selection with a soft top-$k$ operation utilizing a smoothstep function. This allows the model to learn the optimal architecture through standard backpropagation.
The pruning process is formulated as a constrained optimization problem, minimizing the task loss while adhering to a predefined computational (FLOPs) budget.
Experimental Evaluation
The authors evaluated DDNP on industry-standard benchmarks, including CIFAR-10 and ImageNet, across several architectures:
- ResNet-34/50/56
- MobileNetV2 and MobileNetV3 small
The inclusion of MobileNet is particularly noteworthy, as these architectures are already highly optimized, making further pruning without accuracy loss a significant challenge.
Key Results and Insights
DDNP consistently outperformed existing state-of-the-art (SOTA) methods:
- Accuracy Improvements: On CIFAR-10 with ResNet-56, DDNP increased accuracy by 0.21% while reducing FLOPs by 51%.
- High-Scale Performance: On ImageNet with ResNet-50, the method achieved a Top-1 accuracy of 75.89% with a 55% reduction in FLOPs, surpassing methods like DCP and HRank.
- Efficiency on Compact Models: Even on the lean MobileNetV2, DDNP reduced FLOPs by nearly 30% while improving Top-1 accuracy by 0.15%.
These results suggest that independence between width and importance selection allows for a more flexible and effective exploration of the sub-network search space. Furthermore, the "soft" masking approach prevents the optimization from becoming trapped in local minima, allowing for finer structural adjustments.
Limitations and Future Work
Despite its success, DDNP presents opportunities for further research. The computational overhead of the generator networks during training warrants a more detailed breakdown, even if deemed "trivial" by the authors. Additionally, the current reliance on pre-trained models suggests a potential for investigating whether this disentangled logic can be applied to training compact models from scratch. Finally, the sensitivity of the model to hyperparameters like the regularization coefficients ($\lambda$ and $\rho$) remains an area for deeper analysis.
Summary updated