Preprint Open Access

Multi-Exit Vision Transformer for Dynamic Inference

Arian Bakhtiarnia; Qi Zhang; Alexandros Iosifidis

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.

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 (1.9 MB)
Name Size
BMVC2021_ Bakhtiarni_et_al_preprint_version.pdf
md5:9968cf756bf2b3b76665cba8ab1cb6cc
1.9 MB Download
312
75
views
downloads
All versions This version
Views 312312
Downloads 7575
Data volume 145.3 MB145.3 MB
Unique views 285285
Unique downloads 7474

Share

Cite as