paper-with-me

홈 › Papers

Early-exit Convolutional Neural Networks

2024-09-09 · Edanur Demir, Emre Akbas

This paper is aimed at developing a method that reduces the computational cost of convolutional neural networks (CNN) during inference. Conventionally, the input data pass through a fixed neural network architecture. However, easy examples can be classified at early stages of processing and conventional networks do not take this into account. In this paper, we introduce 'Early-exit CNNs', EENets for short, which adapt their computational cost based on the input by stopping the inference process at certain exit locations. In EENets, there are a number of exit blocks each of which consists of a confidence branch and a softmax branch. The confidence branch computes the confidence score of exiting (i.e. stopping the inference process) at that location; while the softmax branch outputs a classification probability vector. Both branches are learnable and their parameters are separate. During training of EENets, in addition to the classical classification loss, the computational cost of inference is taken into account as well. As a result, the network adapts its many confidence branches to the inputs so that less computation is spent for easy examples. Inference works as in conventional feed-forward networks, however, when the output of a confidence branch is larger than a certain threshold, the inference stops for that specific example. The idea of EENets is applicable to available CNN architectures such as ResNets. Through comprehensive experiments on MNIST, SVHN, CIFAR10 and Tiny-ImageNet datasets, we show that early-exit (EE) ResNets achieve similar accuracy with their non-EE versions while reducing the computational cost to 20% of the original. Code is available at https://github.com/eksuas/eenets.pytorch

📄 PDF Abstract BibTeX arXiv:2409.05336

Code (1)

eksuas/eenets.pytorch 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

HAPI: Hardware-Aware Progressive Inference

2020-08-10 · Stefanos Laskaridis, Stylianos I. Venieris, Hyeji Kim, Nicholas D. Lane

Convolutional neural networks (CNNs) have recently become the state-of-the-art in a diversity of AI tasks. Despite their popularity, CNN inference still comes at a high computational cost. A growing body of work aims to …

LGViT: Dynamic Early Exiting for Accelerating Vision Transformer

2023-08-01 · Guanyu Xu, Jiawei Hao, Li Shen, Han Hu 외

Recently, the efficient deployment and acceleration of powerful vision transformers (ViTs) on resource-limited edge devices for providing multimedia services have become attractive tasks. Although early exiting is a feas…

ERDE: Entropy-Regularized Distillation for Early-exit

2025-10-06 · Martial Guidez, Stefan Duffner, Yannick Alpou, Oscar Röth 외 arxiv

Although deep neural networks and in particular Convolutional Neural Networks have demonstrated state-of-the-art performance in image classification with relatively high efficiency, they still exhibit high computational …

Knowledge DistillationImage Classification

T-RECX: Tiny-Resource Efficient Convolutional neural networks with early-eXit

2022-07-14 · Nikhil P Ghanathe, Steve Wilton

Deploying Machine learning (ML) on milliwatt-scale edge devices (tinyML) is gaining popularity due to recent breakthroughs in ML and Internet of Things (IoT). Most tinyML research focuses on model compression techniques …

image-classificationImage ClassificationKeyword SpottingModel Compression+1

How Many Samples are Needed to Estimate a Convolutional or Recurrent Neural Network?

2018-05-21 · NeurIPS 2018 12 · Simon S. Du, Yining Wang, Xiyu Zhai, Sivaraman Balakrishnan 외

It is widely believed that the practical success of Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs) owes to the fact that CNNs and RNNs use a more compact parametric representation than their Fu…

LEMMA