Efficient Inference of parallel partitioned hybrid-Vision Transformers
Recent advancements have explored parallel partitioning of Transformers and Convolutional Neural Network (CNN) based models across networks of edge devices to accelerate deep neural network (DNN) inference. However, partitioning strategies for hybrid Vision Transformers---models integrating convolutional and attention layers---remain underdeveloped, particularly in scenarios with low communication data rates. This work introduces a novel partitioning scheme tailored for hybrid Vision Transformers, addressing communication latency through efficient compressed communication and model size reduction. The proposed approach incorporates a trainable quantization and JPEG compression pipeline to minimize overhead. We evaluate our scheme on two state-of-the-art architectures, edgeViT and CoatNet. For a communication data rate of 10 MB/s and partitioning across 12 devices, we achieve up to a 1.74× speed-up and a 5.34× model size reduction for edgeViT-XXS. Similarly, on a customized CoatNet-0, our method achieves a 1.40× speed-up and a 2.66× reduction in model size, demonstrating the efficacy of the approach in real-world scenarios.
Authors
- Irida Shallari (ORCID: https://orcid.org/0000-0002-3774-4850)
- Axel Jantsch (ORCID: https://orcid.org/0000-0003-2251-0004)
- Mattias O’Nils (ORCID: https://orcid.org/0000-0001-8607-4083)
- Silvia Krug (ORCID: https://orcid.org/0000-0003-0282-5471)
- Isaac Sánchez Leal (ORCID: https://orcid.org/0000-0002-3351-0491)
- Eiraj Saqib (ORCID: https://orcid.org/0000-0002-9903-1338)
- Oscar Artur Bernd Berg
Institutions
- TU Wien (AT)
- Mid Sweden University (SE)
Publication Details
- Published
- 2025-04-23
- DOI
- https://doi.org/10.1145/3722567.3727849
- Citations
- 3
- Primary Topic
- CCD and CMOS Imaging Sensors
- Type
- article
- Field-Weighted Citation Impact
- 2.19