mlsanityData to 14 Oct 2026

CHOSEN: Compilation to Hardware Optimization Stack for Efficient Vision Transformer Inference

arXiv 2407.12736 ↗First posted 17 Jul 2024cs.CV cs.AI cs.ARcited by 2

Not on the map. Why?

Abstract (arXiv)

Vision Transformers (ViTs) represent a groundbreaking shift in machine learning approaches to computer vision. Unlike traditional approaches, ViTs employ the self-attention mechanism, which has been widely used in natural language processing, to analyze image patches. Despite their advantages in modeling visual tasks, deploying ViTs on hardware platforms, notably Field-Programmable Gate Arrays (FPGAs), introduces considerable challenges. These challenges stem primarily from the non-linear calculations and high computational and memory demands of ViTs. This paper introduces CHOSEN, a software-hardware co-design framework to address these challenges and offer an automated framework for ViT deployment on the FPGAs in order to maximize performance. Our framework is built upon three fundamental contributions: multi-kernel design to maximize the bandwidth, mainly targeting benefits of multi DDR memory banks, approximate non-linear functions that exhibit minimal accuracy degradation, and efficient use of available logic blocks on the FPGA, and efficient compiler to maximize the performance and memory-efficiency of the computing kernels by presenting a novel algorithm for design space exploration to find optimal hardware configuration that achieves optimal throughput and latency. Compared to the state-of-the-art ViT accelerators, CHOSEN achieves a 1.5x and 1.42x improvement in the throughput on the DeiT-S and DeiT-B models.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 14 of its 17 references that are in the map. First posted on arXiv 17 Jul 2024.

Builds on

14 of 17 references.

References · 14

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  3. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  4. 2021Post-Training Quantization for Vision Transformercited by 278
  5. 2022ViTCoD: Vision Transformer Acceleration via Dedicated Algorithm and Accelerator Co-Designcited by 41
  6. 2022Auto-ViT-Acc: An FPGA-Aware Automatic Acceleration Framework for Vision Transformer with Mixed-Scheme Quantizationcited by 29
  7. 2022VAQF: Fully Automatic Software-Hardware Co-Design Framework for Low-Bit Vision Transformercited by 27
  8. 2024PEANO-ViT: Power-Efficient Approximations of Non-Linearities in Vision Transformerscited by 13
  9. 2024ME-ViT: A Single-Load Memory-Efficient FPGA Accelerator for Vision Transformerscited by 7
  10. 2023NeuroBlend: Towards Low-Power yet Accurate Neural Network-Based Inference Engine Blending Binary and Fixed-Point Convolutionscited by 4
  11. 2024Memory-Efficient Vision Transformers: An Activation-Aware Mixed-Rank Compression Strategycited by 4
  12. 2023Training-Free Acceleration of ViTs with Delayed Spatial Mergingcited by 3
2 more
  1. 2019Flexible Communication Avoiding Matrix Multiplication on FPGA with High-Level Synthesiscited by 2
  2. 2024CADC: Encoding User-Item Interactions for Compressing Recommendation Model Training Datacited by 1

Built on by

Cited by year

Citing papers per year: 2024: 2.

2 papers.