Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Survey

Dayou Du, Gu Gong, Xiaowen Chu
5/1/2024
cs.LGcs.AIcs.AR

Official code: DD-DuDa/awesome-vit-quantization-acceleration (108 stars, MIT, last commit 2024-06-02).

Abstract

Vision Transformers (ViTs) have recently garnered considerable attention, emerging as a promising alternative to convolutional neural networks (CNNs) in several vision-related applications. However, their large model sizes and high computational and memory demands hinder deployment, especially on resource-constrained devices. This underscores the necessity of algorithm-hardware co-design specific to ViTs, aiming to optimize their performance by tailoring both the algorithmic structure and the underlying hardware accelerator to each other's strengths. Model quantization, by converting high-precision numbers to lower-precision, reduces the computational demands and memory needs of ViTs, allowing the creation of hardware specifically optimized for these quantized algorithms, boosting efficiency. This article provides a comprehensive survey of ViTs quantization and its hardware acceleration. We first delve into the unique architectural attributes of ViTs and their runtime characteristics. Subsequently, we examine the fundamental principles of model quantization, followed by a comparative analysis of the state-of-the-art quantization techniques for ViTs. Additionally, we explore the hardware acceleration of quantized ViTs, highlighting the importance of hardware-friendly algorithm design. In conclusion, this article will discuss ongoing challenges and future research paths. We consistently maintain the related open-source materials at https://github.com/DD-DuDa/awesome-vit-quantization-acceleration.

View on arXivView PDF

Code Implementations(1)

MIT

List of papers related to Vision Transformers quantization and hardware acceleration in recent AI conferences and journals.

1086Mar 18, 20242 years agoMIT

Similar Papers

Cite this paper

@article{du2024model,
  title  = {Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Survey},
  author = {Dayou Du and Gu Gong and Xiaowen Chu},
  year   = {2024},
  eprint = {2405.00314},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.00314v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.00314.svg)](https://codeofpaper.com/paper/2405.00314)

Discussion