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 applications with stringent latency requirements, but with time-variant communication and computation resources. In particular, in edge computing systems and IoT networks where the exact computation 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.
翻译:深神经网络可以通过在一些中间层之后插入早期退出分支而转换为多输出结构。 这使得它们的推断过程能够成为动态过程, 这对于具有严格潜伏要求、但具有时间差异的通信和计算资源的关键IoT应用时间有用。 特别是在边缘计算系统和IoT网络中, 精确计算时间预算是可变的, 并且事先还不知道。 愿景变换器是一个最近提出的结构, 它在计算机视觉的各个领域中发现了许多应用。 在这项工作中, 我们为早期退出分支建议了七个不同的结构, 可用于在视野变异器骨干中进行动态推断。 我们通过涉及分类和回归问题的广泛实验, 显示我们提议的每个结构都可以在准确性和速度之间的权衡中证明是有用的。