Skip to main navigation Skip to search Skip to main content

ViT Hybrid Channel Fit Pruning Algorithm for Co-optimization of Hardware and Software for Edge Device

  • Fang Liu
  • , Heyuan Li
  • , Ziyu Chen
  • , Wei Hu
  • , Yanxiang He
  • , Fei Wang*
  • *Corresponding author for this work
  • Wuhan Univ Sci & Technol
  • Chengdu Technol Univ

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

This study addresses the deployment of vision Transformer models on edge computing devices by proposing an FPGA-based hardware-software co-acceleration scheme aimed at solving the problem of the significant divide that exists between the deployment of deep neural network models on edge devices and the supply-demand of hardware computing resources. In this paper, we use a structured hybrid pruning method, which starts with a channel pruning strategy that automatically identifies the impact of parameters in each layer of the model on the results prunes them accordingly, and then performs a Top-k pruning on the saved weight matrix after the first pruning is finished. The method is hardware-friendly and can effectively reduce the model complexity. To adapt to sparse matrix computation, a specific matrix multiplication optimization module is designed in this study. Experimental results show that the scheme achieves 11.52- and 1.56-times improvement in throughput compared to using traditional CPU and GPU platforms, respectively, while maintaining model accuracy. Future research will focus on further trade-offs between model complexity and performance, introducing adaptive mechanisms, and applications in lower-power hardware environments. © The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2024.
Original languageEnglish
Title of host publicationKNOWLEDGE SCIENCE, ENGINEERING AND MANAGEMENT, PT II, KSEM 2024
PublisherSpringer Science and Business Media Deutschland GmbH
Pages333-345
Number of pages13
ISBN (Electronic)978-981-97-5495-3
ISBN (Print)9783031915802, 9783032004949, 9783032008909, 9783032026019, 9789819512324, 9789819698042, 9789819698110, 9789819698141, 9789819698905, 9789819698936, 978-981-97-5494-6
DOIs
StatePublished - 16 Aug 2024

Publication series

NameLecture Notes in Artificial Intelligence
Volume14885
ISSN (Print)2945-9133
ISSN (Electronic)1611-3349

Funding

This paper is supported by the National Key Research and Development Program of China (No. 2021ZD0113304), National Natural Science Foundation of China (U23A20316), the General Program of Natural Science Foundation of China (NSFC) (Grant No. 62072346, No. 61972293), Founded by Joint\&Laboratory on Credit Technology. Hubei Higher Education Excellent Youth Science and Technology Innovation Team Project (No. T2022060) and Wuhan City College Research Science Project (2023CYYYJJ01).

Indexed by

  • Scopus
  • CPCI-S
  • EI

Fingerprint

Dive into the research topics of 'ViT Hybrid Channel Fit Pruning Algorithm for Co-optimization of Hardware and Software for Edge Device'. Together they form a unique fingerprint.

Cite this