NECVLGSep 6, 2017

BranchyNet: Fast Inference via Early Exiting from Deep Neural Networks

arXiv:1709.01686v11486 citations
AI Analysis

This addresses the issue of prohibitive inference costs for real-time and energy-sensitive applications, though it is an incremental improvement over existing deep network methods.

The paper tackles the problem of high latency and energy usage in deep neural network inference by introducing BranchyNet, an architecture with side branch classifiers that allow early exiting for easy samples, resulting in improved accuracy and significantly reduced inference time on datasets like MNIST and CIFAR10.

Deep neural networks are state of the art methods for many learning tasks due to their ability to extract increasingly better features at each network layer. However, the improved performance of additional layers in a deep network comes at the cost of added latency and energy usage in feedforward inference. As networks continue to get deeper and larger, these costs become more prohibitive for real-time and energy-sensitive applications. To address this issue, we present BranchyNet, a novel deep network architecture that is augmented with additional side branch classifiers. The architecture allows prediction results for a large portion of test samples to exit the network early via these branches when samples can already be inferred with high confidence. BranchyNet exploits the observation that features learned at an early layer of a network may often be sufficient for the classification of many data points. For more difficult samples, which are expected less frequently, BranchyNet will use further or all network layers to provide the best likelihood of correct prediction. We study the BranchyNet architecture using several well-known networks (LeNet, AlexNet, ResNet) and datasets (MNIST, CIFAR10) and show that it can both improve accuracy and significantly reduce the inference time of the network.

Code Implementations3 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes