GELU-MSDF: A Hardware Accelerator for Transformer’s GELU Activation Function Using Most Significant Digit First Computation

Transformer models are utilized across diverse fields such as natural language processing (NLP) and computer vision (CV) tasks. Among the activation functions employed in these models, GELU emerges as the most common. GELU is present in each encoder and decoder block, contributing significantly to the transformer’s runtime, accounting for approximately $10 \%$ to $20 \%$. However, implementing GELU in hardware not only requires a substantial area due to the need for module replication to enhance the overall performance of network runtime but also results in high area and power consumption. Therefore, to mitigate these issues, a novel architecture based on Most Significant Digit First (MSDF) has been proposed. In this paper, our proposed GELU-MSDF architecture processes input serially from the Most Significant Digit (MSD) utilizing MSDF arithmetic and a redundant number system. Experimental results demonstrate that GELU-MSDF architecture achieves a reduction in area between 1.75X to 1.84X and power reduction up to 3.2X compared to previous work.

Authors

Institutions

Publication Details

Published
2024-09-16
DOI
https://doi.org/10.1109/socc62300.2024.10737795
Citations
2
Primary Topic
Power Transformer Diagnostics and Insulation
Type
article
Field-Weighted Citation Impact
0.42
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

GELU-MSDF: A Hardware Accelerator for Transformer’s GELU Activation Function Using Most Significant Digit First Computation

Saeid Gorgin, Dara Rahmati, Jeong–A Lee, Alireza Taghavizade
2 citations
Power Transformer Diagnostics and Insulation
0.42
article

GELU-MSDF: A Hardware Accelerator for Transformer’s GELU Activation Function Using Most Significant Digit First Computation

Saeid Gorgin, Dara Rahmati, Jeong–A Lee, Alireza Taghavizade
article en
2 citations

Abstract

Transformer models are utilized across diverse fields such as natural language processing (NLP) and computer vision (CV) tasks. Among the activation functions employed in these models, GELU emerges as the most common. GELU is present in each encoder and decoder block, contributing significantly to the transformer’s runtime, accounting for approximately $10 \%$ to $20 \%$. However, implementing GELU in hardware not only requires a substantial area due to the need for module replication to enhance the overall performance of network runtime but also results in high area and power consumption. Therefore, to mitigate these issues, a novel architecture based on Most Significant Digit First (MSDF) has been proposed. In this paper, our proposed GELU-MSDF architecture processes input serially from the Most Significant Digit (MSD) utilizing MSDF arithmetic and a redundant number system. Experimental results demonstrate that GELU-MSDF architecture achieves a reduction in area between 1.75X to 1.84X and power reduction up to 3.2X compared to previous work.

Chosun University (KR), Shahid Beheshti University (IR)
Openalex Percentile: Top 37%
Power Transformer Diagnostics and Insulation
0.42
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.