An FPGA-Based Frequency-Focused Vision Transformer Accelerator for Real-Time Inference on Edge Platforms

Vision Transformers (ViTs) often struggle to effectively capture local features. SpectFormer addresses this limitation by incorporating spectral blocks into the shallow layers of DeiT. However, deploying SpectFormer on edge devices is challenging due to its high computational complexity, the implementation of spectral blocks, additional matrix transpositions, and intensive nonlinear operations. To address these challenges, we propose an FPGA-based Frequency-focused Vision Transformer Accelerator (FFVTA), the first FPGA-based ViT accelerator that incorporates frequency-domain optimization for real-time inference of SpectFormer on edge devices. FFVTA employs a Unified DFT-Attention Matrix (UDAM) architecture to unify the computation of spectral and self-attention blocks, significantly enhancing the hardware reuse and reducing resource usage. Additionally, FFVTA introduces a Block-Broadcast Loop (BBL) Dataflow to efficiently accelerate matrix multiplication in self-attention blocks and a Configurable Two-Stage Log-Softmax (CTS-Log-Softmax) computation process to optimize nonlinear function computations. These innovations improve computational efficiency while reducing the resource usage. When deployed on a resource-constrained FPGA platform (KV260), FFVTA achieves a 16.61× speedup compared to the baseline, with significant reductions in the hardware resource usage and power consumption. FFVTA demonstrates superior performance with an energy efficiency of 63.40 GOPs/W and a DSP efficiency of 0.46 GOPs/DSP. FFVTA not only achieves efficient acceleration for the hierarchical SpectFormer-H-S variant, but also attains competitive accuracy of 84.02% on ImageNet classification.

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Circuits and Systems I Regular Papers
Published
2025-09-16
DOI
https://doi.org/10.1109/tcsi.2025.3606813
Primary Topic
CCD and CMOS Imaging Sensors
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An FPGA-Based Frequency-Focused Vision Transformer Accelerator for Real-Time Inference on Edge Platforms

Lianwen Deng, C. Tian, Xiaowen Xu, Tao Zhang et al.
IEEE Transactions on Circuits and Systems I Regular Papers
CCD and CMOS Imaging Sensors
article

An FPGA-Based Frequency-Focused Vision Transformer Accelerator for Real-Time Inference on Edge Platforms

Lianwen Deng, C. Tian, Xiaowen Xu, Tao Zhang, Jiafeng Ding, Congwei Liao
article en

Abstract

Vision Transformers (ViTs) often struggle to effectively capture local features. SpectFormer addresses this limitation by incorporating spectral blocks into the shallow layers of DeiT. However, deploying SpectFormer on edge devices is challenging due to its high computational complexity, the implementation of spectral blocks, additional matrix transpositions, and intensive nonlinear operations. To address these challenges, we propose an FPGA-based Frequency-focused Vision Transformer Accelerator (FFVTA), the first FPGA-based ViT accelerator that incorporates frequency-domain optimization for real-time inference of SpectFormer on edge devices. FFVTA employs a Unified DFT-Attention Matrix (UDAM) architecture to unify the computation of spectral and self-attention blocks, significantly enhancing the hardware reuse and reducing resource usage. Additionally, FFVTA introduces a Block-Broadcast Loop (BBL) Dataflow to efficiently accelerate matrix multiplication in self-attention blocks and a Configurable Two-Stage Log-Softmax (CTS-Log-Softmax) computation process to optimize nonlinear function computations. These innovations improve computational efficiency while reducing the resource usage. When deployed on a resource-constrained FPGA platform (KV260), FFVTA achieves a 16.61× speedup compared to the baseline, with significant reductions in the hardware resource usage and power consumption. FFVTA demonstrates superior performance with an energy efficiency of 63.40 GOPs/W and a DSP efficiency of 0.46 GOPs/DSP. FFVTA not only achieves efficient acceleration for the hierarchical SpectFormer-H-S variant, but also attains competitive accuracy of 84.02% on ImageNet classification.

IEEE Transactions on Circuits and Systems I Regular PapersVol. 73(1)
Central South University (CN), Shenzhen Technology University (CN)
Openalex Percentile: Top 76%
CCD and CMOS Imaging Sensors
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.