[Paper Review] BlockDrop: Dynamic Inference Paths in Residual Networks
BlockDrop introduces a reinforcement learning-based method to dynamically skip residual blocks in ResNets during inference, learning instance-specific paths that reduce computation while preserving accuracy. It achieves a 20% average speedup on ImageNet with ResNet-101, maintaining 76.4% top-1 accuracy, and learns policies that correlate with visual semantics and instance difficulty.
Very deep convolutional neural networks offer excellent recognition results, yet their computational expense limits their impact for many real-world applications. We introduce BlockDrop, an approach that learns to dynamically choose which layers of a deep network to execute during inference so as to best reduce total computation without degrading prediction accuracy. Exploiting the robustness of Residual Networks (ResNets) to layer dropping, our framework selects on-the-fly which residual blocks to evaluate for a given novel image. In particular, given a pretrained ResNet, we train a policy network in an associative reinforcement learning setting for the dual reward of utilizing a minimal number of blocks while preserving recognition accuracy. We conduct extensive experiments on CIFAR and ImageNet. The results provide strong quantitative and qualitative evidence that these learned policies not only accelerate inference but also encode meaningful visual information. Built upon a ResNet-101 model, our method achieves a speedup of 20\% on average, going as high as 36\% for some images, while maintaining the same 76.4\% top-1 accuracy on ImageNet.
Motivation & Objective
- To address the high computational cost of deep ResNets in real-time applications like autonomous driving and mobile inference.
- To enable instance-specific computation by learning which residual blocks to skip based on input image complexity.
- To maintain high prediction accuracy while minimizing the number of blocks executed per inference.
- To explore whether learned block dropping policies encode meaningful visual information and correlate with image difficulty.
Proposed method
- A policy network is trained via associative reinforcement learning to predict the probability of dropping each residual block for a given input image.
- The policy network is trained with a dual reward: minimizing block usage while preserving classification accuracy.
- The pretrained ResNet is jointly fine-tuned with the policy network to produce feature representations compatible with dynamic block dropping.
- All block decisions are made in a single step, avoiding sequential inference overhead and enabling scalability to deep networks.
- The approach is formulated as a contextual bandit problem, where decisions are made based on input context without online regret minimization.
- Curriculum learning is used to stabilize training by gradually increasing the difficulty of block dropping tasks.
Experimental results
Research questions
- RQ1Can a learned policy dynamically skip residual blocks in a ResNet to reduce inference time without degrading accuracy?
- RQ2Do the learned block dropping policies encode meaningful visual patterns related to image content?
- RQ3Is the number of blocks used correlated with the perceived difficulty of classifying an image?
- RQ4Can the method achieve better efficiency-accuracy trade-offs than static or global block dropping schemes?
- RQ5Does the single-step decision mechanism outperform sequential alternatives in terms of speed and overhead?
Key findings
- BlockDrop achieves a 20% average speedup on ResNet-101 for ImageNet classification while maintaining 76.4% top-1 accuracy.
- On CIFAR-10, BlockDrop reaches 93.6% accuracy using only 33% of the blocks in a ResNet-110, outperforming prior methods.
- On CIFAR-100, BlockDrop achieves 73.7% accuracy with 55% of the blocks, again surpassing state-of-the-art methods.
- The learned policies correlate with visual semantics: different inference paths are used for different visual styles (e.g., piles vs. close-ups of oranges).
- Images requiring fewer blocks are visually simpler—typically featuring single, clearly visible, centrally positioned objects—confirming that block usage reflects instance difficulty.
- The sequential variant of the method incurred negative speed-up, demonstrating that the single-step decision mechanism is essential for efficiency.
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.