BlockDrop: Dynamic Inference Paths in Residual Networks

Zuxuan Wu, Tushar Nagarajan, Abhishek Kumar, Steven Rennie, Larry S. Davis +2 more
11/22/2017
cs.CVcs.LG

Official code: Tushar-N/blockdrop (143 stars, Python, last commit 2022-12-12).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Tushar-N/blockdropOfficial100%

BlockDrop: Dynamic Inference Paths in Residual Networks

14338PythonFeb 1, 20183 years ago

Similar Papers

Cite this paper

@article{wu2017blockdrop,
  title  = {BlockDrop: Dynamic Inference Paths in Residual Networks},
  author = {Zuxuan Wu and Tushar Nagarajan and Abhishek Kumar and Steven Rennie and Larry S. Davis and Kristen Grauman and Rogerio Feris},
  year   = {2017},
  eprint = {1711.08393},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1711.08393}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1711.08393.svg)](https://codeofpaper.com/paper/1711.08393)

Discussion