Piecewise-Linear Approximation of Self-Attention and Its Accuracy-Aware Training for Area-Efficient Vision Transformer Inference Accelerator

Vision Transformer (ViT) is a neural network model specialized for image processing, introduced in 2021. The key feature of ViT is self-attention, which allows it to capture a wide range of correlations within an image effectively. However, its biggest drawback is its hardware-hungry characteristics. This paper proposes an areaefficient hardware implementation for self-attention. The proposed approach introduces piecewise linear approximation to both multiplication and Softmax functions. Additionally, we showcase a training method suitable for multiplication and Softmax functions, where the corresponding circuits are significantly simplified through the piecewise-linear approximation. Evaluation using CIFAR-10 demonstrated that our approximation to self-attention achieved comparable image classification accuracy to the model without the approximation. Moreover, with the proposed method, we experimentally confirmed that the area of the self-attention processing circuit could be reduced by 64.0% compared to the existing method applying 8-bit integer quantization to all the weights in self-attention.

Authors

Institutions

Publication Details

Published
2025-04-23
DOI
https://doi.org/10.1109/isqed65160.2025.11014475
Citations
1
Primary Topic
CCD and CMOS Imaging Sensors
Type
article
Field-Weighted Citation Impact
0.73

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Piecewise-Linear Approximation of Self-Attention and Its Accuracy-Aware Training for Area-Efficient Vision Transformer Inference Accelerator

Tohru Ishihara, Takahiro Kawamura, Yutaka Masuda
1 citations
CCD and CMOS Imaging Sensors
0.73
article

Piecewise-Linear Approximation of Self-Attention and Its Accuracy-Aware Training for Area-Efficient Vision Transformer Inference Accelerator

Tohru Ishihara, Takahiro Kawamura, Yutaka Masuda
article en
1 citations

Abstract

Vision Transformer (ViT) is a neural network model specialized for image processing, introduced in 2021. The key feature of ViT is self-attention, which allows it to capture a wide range of correlations within an image effectively. However, its biggest drawback is its hardware-hungry characteristics. This paper proposes an areaefficient hardware implementation for self-attention. The proposed approach introduces piecewise linear approximation to both multiplication and Softmax functions. Additionally, we showcase a training method suitable for multiplication and Softmax functions, where the corresponding circuits are significantly simplified through the piecewise-linear approximation. Evaluation using CIFAR-10 demonstrated that our approximation to self-attention achieved comparable image classification accuracy to the model without the approximation. Moreover, with the proposed method, we experimentally confirmed that the area of the self-attention processing circuit could be reduced by 64.0% compared to the existing method applying 8-bit integer quantization to all the weights in self-attention.

Nagoya University (JP)
University of Tokyo
Openalex Percentile: Top 28%
CCD and CMOS Imaging Sensors
0.73
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.