HydraNets: Specialized Dynamic Architectures for Efficient Inference

By Ravi Teja Mullapudi, William R. Mark, Noam Shazeer, Kayvon Fatahalian. 2018

160 citations recorded by the source corpus.

There is growing interest in improving the design of deep network architectures to be both accurate and low cost. This paper explores semantic specialization as a mechanism for improving the computational efficiency (accuracy-per-unit-cost) of inference in the context of image classification. Specifically, we propose a network architecture template called HydraNet, which enables state-of-the-art architectures for image classification to be transformed into dynamic architectures which exploit conditional execution for efficient inference. HydraNets are wide networks containing distinct components specialized to compute features for visually similar classes, but they retain efficiency by dynamically selecting only a small number of components to evaluate for any one input image. This design is made possible by a soft gating mechanism that encourages component specialization during training and accurately performs component selection during inference. We evaluate the HydraNet approach on both the CIFAR-100 and ImageNet classification tasks. On CIFAR, applying the HydraNet template to the ResNet and DenseNet family of models reduces inference cost by 2-4× while retaining the accuracy of the baseline architectures. On ImageNet, applying the HydraNet template improves accuracy up to 2.5% when compared to an efficient baseline architecture with similar inference cost.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Model Architectures, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Quoc V. Le
  2. Gao Huang
  3. Shiji Song
  4. Alan L. Yuille
  5. Zhangyang Wang
  6. Yoshua Bengio
  7. Jianfeng Gao
  8. Mohit Bansal

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Xiaogang Wang
  3. Ming-Hsuan Yang
  4. Dacheng Tao
  5. Alan L. Yuille
  6. Chunhua Shen
  7. Trevor Darrell
  8. Jitendra Malik

In Model Architectures

  1. Quoc V. Le
  2. Zhangyang Wang
  3. Samy Bengio
  4. Yoshua Bengio
  5. Gao Huang
  6. Jifeng Dai
  7. X. Zhang
  8. Da-Cheng Juan

In Efficiency & Compression

  1. X. Zhang
  2. Shiji Song
  3. Zhangyang Wang
  4. Gao Huang
  5. Asaf Noy
  6. Tal Ridnik
  7. Le Yang
  8. Gabriel Bender

Citations in the corpus