detalle del documento
IDENTIFICACIÓN

oai:arXiv.org:2409.05336

Tema
Computer Science - Computer Vision... Computer Science - Artificial Inte...
Autor
Demir, Edanur Akbas, Emre
Categoría

Computer Science

Año

2024

fecha de cotización

11/9/2024

Palabras clave
neural computer early-exit confidence eenets inference
Métrico

Resumen

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

Demir, Edanur,Akbas, Emre, 2024, Early-exit Convolutional Neural Networks

Documento

Abrir

Compartir

Fuente

Artículos recomendados por ES/IODE IA

Bone metastasis prediction in non-small-cell lung cancer: primary CT-based radiomics signature and clinical feature
non-small-cell lung cancer bone metastasis radiomics risk factor predict cohort model cect cancer prediction 0 metastasis radiomics clinical