NuWa: Deriving Lightweight Task-Specific Vision Transformers for Edge Devices

๐Ÿ“… 2025-04-04
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF

career value

162K/year
๐Ÿค– AI Summary
To address the mismatch between resource-constrained edge devices and over-parameterized general-purpose Vision Transformers (ViTs), which leads to suboptimal accuracyโ€“latency trade-offs for specialized edge vision tasks, this paper proposes a task-oriented knowledge distillation framework for ViTs. Our method integrates task-aware attention reweighting and inter-layer feature alignment within a knowledge distillation pipeline, coupled with structured pruning, to jointly optimize model size, accuracy, and inference latency. To the best of our knowledge, this is the first lightweight, task-specialized ViT distillation framework tailored for edge deployment. Evaluated on three benchmark datasets, it achieves up to 11.83% higher accuracy and 1.29ร—โ€“2.79ร— faster inference compared to state-of-the-art methods, significantly enhancing both practicality and deployment efficiency for edge vision applications.

Technology Category

Application Category

๐Ÿ“ Abstract
Vision Transformers (ViTs) excel in computer vision tasks but lack flexibility for edge devices' diverse needs. A vital issue is that ViTs pre-trained to cover a broad range of tasks are extit{over-qualified} for edge devices that usually demand only part of a ViT's knowledge for specific tasks. Their task-specific accuracy on these edge devices is suboptimal. We discovered that small ViTs that focus on device-specific tasks can improve model accuracy and in the meantime, accelerate model inference. This paper presents NuWa, an approach that derives small ViTs from the base ViT for edge devices with specific task requirements. NuWa can transfer task-specific knowledge extracted from the base ViT into small ViTs that fully leverage constrained resources on edge devices to maximize model accuracy with inference latency assurance. Experiments with three base ViTs on three public datasets demonstrate that compared with state-of-the-art solutions, NuWa improves model accuracy by up to $ ext{11.83}%$ and accelerates model inference by 1.29$ imes$ - 2.79$ imes$. Code for reproduction is available at https://anonymous.4open.science/r/Task_Specific-3A5E.
Problem

Research questions and friction points this paper is trying to address.

Optimizing Vision Transformers for edge device tasks
Reducing model size while maintaining task accuracy
Accelerating inference speed on resource-limited devices
Innovation

Methods, ideas, or system contributions that make the work stand out.

Derives small ViTs from base ViT
Transfers task-specific knowledge efficiently
Ensures inference latency and accuracy
๐Ÿ”Ž Similar Papers
No similar papers found.
Z
Ziteng Wei
School of Computer Science and Technology, Huazhong University of Science and Technology, Wuhan, China
Q
Qiang He
School of Computer Science and Technology, Huazhong University of Science and Technology, Wuhan, China
B
Bing Li
School of Computer Science and Technology, Huazhong University of Science and Technology, Wuhan, China
Feifei Chen
Feifei Chen
Senior Lecturer (ARC Early Career Industry Fellow), Deakin University
Edge ComputingSoftware EngineeringCloud Computing
Y
Yun Yang
Department of Computing Technologies, Swinburne University of Technology, Melbourne, Australia