Published October 27, 2021 | Version v1
Preprint Open

Multi-Exit Vision Transformer for Dynamic Inference

  • 1. DIGIT, Department of Electrical and Computer Engineering, Aarhus University, Denmark

Description

Deep neural networks can be converted to multi- exit architectures by inserting early exit branches after some of their intermediate layers. This allows their inference process to become dynamic, which is useful for time critical IoT applica- tions with stringent latency requirements, but with time-variant communication and computation resources. In particular, in edge computing systems and IoT networks where the exact computa- tion time budget is variable and not known beforehand. Vision Transformer is a recently proposed architecture which has since found many applications across various domains of computer vision. In this work, we propose seven different architectures for early exit branches that can be used for dynamic inference in Vision Transformer backbones. Through extensive experiments involving both classification and regression problems, we show that each one of our proposed architectures could prove useful in the trade-off between accuracy and speed.

Notes

This work was funded by the European Union's Horizon 2020 research and innovation programme under grant agreement No 957337, and by the Danish Council for Independent Research under Grant No. 9131-00119B. This publication reflects the authors views only. The European Commission and the Danish Council for Independent Research are not responsible for any use that may be made of the information it contains.

Files

BMVC2021_ Bakhtiarni_et_al_preprint_version.pdf

Files (1.9 MB)

Additional details

Related works

Is supplemented by
Software: https://gitlab.au.dk/maleci/multiexitvit (URL)

Funding

MARVEL – Multimodal Extreme Scale Data Analytics for Smart Cities Environments 957337
European Commission