A Hardware Architecture for Shared Residuals and Simplified Symmetric-PWL-Based GELU

In this paper, we propose an innovative hardware acceleration scheme to optimize key components of Visual Transformer (ViT) and similar models. It features two main innovations. The first is a shared residual mechanism that integrates residual structures, class tokens, and position embeddings using a "first adding then concatenating" strategy to reduce duplicated hardware resource consumption. The second is a simplified piecewise linear (PWL) method for GELU that effectively lowers computational complexity. Validated on the AMD Alveo U55C platform, this approach reduces resource usage and latency. When combined with the shared residual kernel in our hardware accelerator, this approach achieves nearly double the performance compared to CPU computation on FPGA, paving the way for enhanced Transformer hardware acceleration.

Authors

Institutions

Publication Details

Published
2024-10-28
DOI
https://doi.org/10.1109/icsp62129.2024.10846666
Citations
1
Primary Topic
Cryptography and Residue Arithmetic
Type
article
Field-Weighted Citation Impact
0.78
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Hardware Architecture for Shared Residuals and Simplified Symmetric-PWL-Based GELU

Zuojun Ding, Dezheng Zhang, Dong Wang
1 citations
Cryptography and Residue Arithmetic
0.78
article

A Hardware Architecture for Shared Residuals and Simplified Symmetric-PWL-Based GELU

Zuojun Ding, Dezheng Zhang, Dong Wang
article en
1 citations

Abstract

In this paper, we propose an innovative hardware acceleration scheme to optimize key components of Visual Transformer (ViT) and similar models. It features two main innovations. The first is a shared residual mechanism that integrates residual structures, class tokens, and position embeddings using a "first adding then concatenating" strategy to reduce duplicated hardware resource consumption. The second is a simplified piecewise linear (PWL) method for GELU that effectively lowers computational complexity. Validated on the AMD Alveo U55C platform, this approach reduces resource usage and latency. When combined with the shared residual kernel in our hardware accelerator, this approach achieves nearly double the performance compared to CPU computation on FPGA, paving the way for enhanced Transformer hardware acceleration.

Beijing Jiaotong University (CN)
Openalex Percentile: Top 17%
Cryptography and Residue Arithmetic
0.78
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.