EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

High Accuracy Power Optimized FPGA Implementation for GELU Function: A Chebyshev Approach

Chanakya Hingu, Xingang Fu, Praneeth Vangala, Rui Hu

Electronics · 08.07.2026 · 15 (14) · 2981

DOI: 10.3390/electronics15142981 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Electronics, online erschienen am 08.07.2026. Verfasst von Chanakya Hingu und 3 weiteren Autor:innen. Die Arbeit nennt 21 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The Gaussian Error Linear Unit (GELU) is widely adopted in modern deep learning models, especially Transformer architectures, due to its smooth gating behavior and favorable convergence properties. However, efficient hardware realization is difficult since GELU embeds both a cubic term and the tanh(·) function, which are costly for FPGA and ASIC implementations. Existing approaches, such as lookup tables (LUTs), piecewise linear (PWL) approximations, and CORDIC iterations, simplify computation but suffer from storage overhead, reduced accuracy, or iterative latency, limiting their use in high-performance accelerators. This paper proposes a Chebyshev polynomial approximation of tanh(x) within the GELU function, evaluated using the Clenshaw recurrence. The method ensures minimax error distribution while avoiding LUT storage and iterative operations, making it well-suited for fixed-point FPGA datapaths. Validation on an Xilinx Artix-7 FPGA shows a mean absolute error of 10−4 and maximum error below 10−3 compared with MATLAB’s (V.Ra2025) GELU, delivering roughly 25–45× lower error than PWL-based designs and about an order of magnitude lower than polynomial-LUT hybrid designs. Resource and power results further demonstrate the efficiency of the proposed design, establishing Chebyshev-based GELU as an accurate and scalable solution for FPGA and ASIC accelerators.

Zitieren

APA

Hingu, C., Fu, X., Vangala, P., & Hu, R. (2026). High Accuracy Power Optimized FPGA Implementation for GELU Function: A Chebyshev Approach. Electronics, 15(14), 2981. https://doi.org/10.3390/electronics15142981

Vancouver

Hingu C, Fu X, Vangala P, Hu R. High Accuracy Power Optimized FPGA Implementation for GELU Function: A Chebyshev Approach. Electronics. 2026;15(14):2981. doi:10.3390/electronics15142981

BibTeX
@article{Hingu2026,
  author = {Hingu, Chanakya and Fu, Xingang and Vangala, Praneeth and Hu, Rui},
  title = {High Accuracy Power Optimized FPGA Implementation for GELU Function: A Chebyshev Approach},
  journal = {Electronics},
  year = {2026},
  volume = {15},
  number = {14},
  pages = {2981},
  doi = {10.3390/electronics15142981}
}
Kostenlos starten →