mlsanityData to 14 Oct 2026

Trio-ViT: Post-Training Quantization and Acceleration for Softmax-Free Efficient Vision Transformer

arXiv 2405.03882 ↗First posted 6 May 2024cs.CV cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Motivated by the huge success of Transformers in the field of natural language processing (NLP), Vision Transformers (ViTs) have been rapidly developed and achieved remarkable performance in various computer vision tasks. However, their huge model sizes and intensive computations hinder ViTs' deployment on embedded devices, calling for effective model compression methods, such as quantization. Unfortunately, due to the existence of hardware-unfriendly and quantization-sensitive non-linear operations, particularly Softmax, it is non-trivial to completely quantize all operations in ViTs, yielding either significant accuracy drops or non-negligible hardware costs. In response to challenges associated with textitstandard ViTs, we focus our attention towards the quantization and acceleration for textitefficient ViTs, which not only eliminate the troublesome Softmax but also integrate linear attention with low computational complexity, and propose Trio-ViT accordingly. Specifically, at the algorithm level, we develop a tailored post-training quantization engine taking the unique activation distributions of Softmax-free efficient ViTs into full consideration, aiming to boost quantization accuracy. Furthermore, at the hardware level, we build an accelerator dedicated to the specific Convolution-Transformer hybrid architecture of efficient ViTs, thereby enhancing hardware efficiency. Extensive experimental results consistently prove the effectiveness of our Trio-ViT framework. Particularly, we can gain up to uparrow3.6×, uparrow5.0×, and uparrow7.3× FPS under comparable accuracy over state-of-the-art ViT accelerators, as well as uparrow6.0×, uparrow1.5×, and uparrow2.1× DSP efficiency. Codes are available at urlhttps://github.com/shihuihong214/Trio-ViT.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 32 of its 52 references that are in the map. First posted on arXiv 6 May 2024.

Builds on

32 of 52 references.

References · 32

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  5. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
  6. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  7. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,444
  8. 2019Searching for MobileNetV3cited by 1,994
  9. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
  10. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
  11. 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 642
  12. 2019Learned Step Size Quantizationcited by 628
20 more
  1. 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 621
  2. 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 479
  3. 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
  4. 2019HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precisioncited by 402
  5. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 359
  6. 2021Post-Training Quantization for Vision Transformercited by 278
  7. 2021I-BERT: Integer-only BERT Quantizationcited by 255
  8. 2019Low-bit Quantization of Neural Networks for Efficient Inferencecited by 193
  9. 2021PTQ4ViT: Post-training quantization for vision transformers with twin uniform quantizationcited by 179
  10. 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 171
  11. 2021FQ-ViT: Post-Training Quantization for Fully Quantized Vision Transformercited by 151
  12. 2022I-ViT: Integer-only Quantization for Efficient Vision Transformer Inferencecited by 95
  13. 2023Full Stack Optimization of Transformer Inference: a Surveycited by 80
  14. 2020HAWQV3: Dyadic Neural Network Quantizationcited by 60
  15. 2020EasyQuant: Post-training Quantization via Scale Optimizationcited by 57
  16. 2022ViTCoD: Vision Transformer Acceleration via Dedicated Algorithm and Accelerator Co-Designcited by 41
  17. 2022Auto-ViT-Acc: An FPGA-Aware Automatic Acceleration Framework for Vision Transformer with Mixed-Scheme Quantizationcited by 29
  18. 2022ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer Acceleration with a Linear Taylor Attentioncited by 29
  19. 2022Castling-ViT: Compressing Self-Attention via Switching Towards Linear-Angular Attention at Vision Transformer Inferencecited by 28
  20. 2022VAQF: Fully Automatic Software-Hardware Co-Design Framework for Low-Bit Vision Transformercited by 27

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 2.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Survey
  2. 2024P2-ViT: Power-of-Two Post-Training Quantization and Acceleration for Fully Quantized Vision Transformer
  3. 2024DopQ-ViT: Towards Distribution-Friendly and Outlier-Aware Post-Training Quantization for Vision Transformers
  4. 2023I&S-ViT: An Inclusive & Stable Method for Pushing the Limit of Post-Training ViTs Quantization
  5. 2024ViT-1.58b: Mobile Vision Transformers in the 1-bit Era
  6. 2024MPTQ-ViT: Mixed-Precision Post-Training Quantization for Vision Transformer
  7. 2024ADFQ-ViT: Activation-Distribution-Friendly Post-Training Quantization for Vision Transformers
  8. 2022Q-ViT: Accurate and Fully Quantized Low-bit Vision Transformer