SPViT: Accelerate Vision Transformer Inference on Mobile Devices via Adaptive Splitting and Offloading
The Vision Transformer (ViT), which benefits from utilizing self-attention mechanisms, has demonstrated superior accuracy compared to CNNs. However, due to the expensive computational costs, deploying and inferring ViTs on resource-constrained mobile devices has become a challenge. To resolve this challenge, we conducted an empirical analysis to identify performance bottlenecks in deploying ViTs on mobile devices and explored viable solutions. In this paper, we propose SPViT, an adaptive split and offloading method that accelerates ViT inference on mobile devices. SPViT executes collaborative inference of ViT across available edge devices. We introduce a fine-grained splitting technique for the vision transformer structure. Furthermore, we propose an algorithm based on the Auto Regression model to predict partition latency and adaptive offload partitions. Finally, we design offline and online optimization methods to minimize the computational and communication overhead on each device. Based on real-world prototype experiments, SPViT effectively reduces inference latency by 2.2x to 3.3x across four state-of-the-art models.
Authors
- Dezhong Yao (ORCID: https://orcid.org/0000-0003-0336-0522)
- Hai Jin (ORCID: https://orcid.org/0009-0003-8055-3587)
- Liu Tongtong
- Sifan Zhao (ORCID: https://orcid.org/0009-0000-7735-3187)
Institutions
- Huazhong University of Science and Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Mobile Computing
- Published
- 2025-04-21
- DOI
- https://doi.org/10.1109/tmc.2025.3562721
- Citations
- 2
- Primary Topic
- CCD and CMOS Imaging Sensors
- Type
- article
- Field-Weighted Citation Impact
- 1.46