[Paper Review] SkipNet: Learning Dynamic Routing in Convolutional Networks
SkipNet introduces a dynamic convolutional network that learns to skip redundant layers on a per-input basis using a hybrid learning approach combining supervised pre-training and reinforcement learning. By applying gating mechanisms to selectively bypass residual blocks, SkipNet reduces inference computation by 30–90% across CIFAR-10, CIFAR-100, SVHN, and ImageNet while preserving the accuracy of the full model, outperforming both static compression and prior dynamic network methods.
While deeper convolutional networks are needed to achieve maximum accuracy in visual perception tasks, for many inputs shallower networks are sufficient. We exploit this observation by learning to skip convolutional layers on a per-input basis. We introduce SkipNet, a modified residual network, that uses a gating network to selectively skip convolutional blocks based on the activations of the previous layer. We formulate the dynamic skipping problem in the context of sequential decision making and propose a hybrid learning algorithm that combines supervised learning and reinforcement learning to address the challenges of non-differentiable skipping decisions. We show SkipNet reduces computation by 30-90% while preserving the accuracy of the original model on four benchmark datasets and outperforms the state-of-the-art dynamic networks and static compression methods. We also qualitatively evaluate the gating policy to reveal a relationship between image scale and saliency and the number of layers skipped.
Motivation & Objective
- To reduce inference computation in deep convolutional networks without sacrificing accuracy.
- To address the challenge of non-differentiable, discrete layer-skipping decisions in dynamic neural networks.
- To develop a method that enables per-input adaptive depth by learning when to skip individual convolutional blocks.
- To outperform both static model compression techniques and existing dynamic inference methods in accuracy-computation trade-offs.
Proposed method
- Introduces SkipNet, a modified residual network with learnable gating modules attached to each block group.
- Uses a two-stage training: first, soft relaxation of binary skip decisions via reparameterization for differentiable training with cross-entropy loss.
- Second stage applies REINFORCE-based reinforcement learning to refine the hard binary skipping policy without relaxation.
- Each gating module takes activations from the previous layer and outputs a probability to skip or execute the next block.
- The hybrid approach stabilizes training by jointly optimizing skipping policy and prediction error during RL fine-tuning.
- Employs a sequential decision-making framework where skip decisions are conditioned on prior layer outputs.
Experimental results
Research questions
- RQ1Can a deep network learn to skip individual convolutional layers on a per-input basis to reduce computation while maintaining accuracy?
- RQ2How can non-differentiable, discrete skip decisions be effectively trained in a deep learning framework?
- RQ3Does combining supervised pre-training with reinforcement learning yield better generalization than pure RL in dynamic network learning?
- RQ4What is the relationship between input complexity (e.g., image scale and saliency) and the number of layers skipped?
- RQ5How does the dynamic skipping behavior vary across different network blocks and datasets?
Key findings
- SkipNet reduces inference computation by 50% on CIFAR-10, 37% on CIFAR-100, 86% on SVHN, and 30% on ImageNet, while preserving the accuracy of the full model.
- The hybrid training method (HRL+SP) achieves significantly higher accuracy than pure RL, which fails to converge to useful policies.
- SkipNet with 'hard' gating outperforms 'soft' gating under similar FLOP budgets, indicating that training-inference inconsistency in soft gating degrades performance.
- Easier images (e.g., trucks) are skipped more aggressively than harder ones (e.g., dogs), with skip ratios skewed right for easy classes and left for hard classes.
- Block group 2 in ResNet exhibits less skipping than groups 1 and 3, suggesting it plays a more critical role in feature extraction.
- The learned skipping policy reveals a clear correlation between image scale/saliency and the number of layers skipped, with more complex images using deeper paths.
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.