Lune

DAC2023顶会

Flex-SFU: Accelerating DNN Activation Functions by Non-Uniform Piecewise Approximation

Enrico Reggiani, Renzo Andri, Lukas Cavigelli

摘要

Modern DNN workloads increasingly rely on activation functions consisting of computationally complex operations. This poses a challenge to current accelerators optimized for convolutions and matrix-matrix multiplications. This work presents Flex-SFU, a lightweight hardware accelerator for activation functions implementing non-uniform piecewise interpolation supporting multiple data formats. Non-Uniform segments and floating-point numbers are enabled by implementing a binary-tree comparison within the address decoding unit. An SGD-based optimization algorithm with heuristics is proposed to find the interpolation function reducing the mean squared error. Thanks to non-uniform interpolation and floating-point support, Flex-SFU achieves on average 22.3x better mean squared error compared to previous piecewise linear interpolation approaches. The evaluation with more than 700 computer vision and natural language processing models shows that Flex-SFU can, on average, improve the end-to-end performance of state-of-the-art AI hardware accelerators by 35.7%, achieving up to 3.3x speedup with negligible impact in the models’ accuracy when using 32 segments, and only introducing an area and power overhead of 5.9% and 0.8% relative to the baseline vector processing unit.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. Faster Activation Functions at the Edge for Post-Training SpeedupsAnton Lydike, Jun Bi, Jackson WoodruffICML 2026

它引用的 Paper1

  1. Extending the RISC-V ISA for Efficient RNN-based 5G Radio Resource ManagementRenzo Andri, Tomas Henriksson, Luca BeniniDAC 2020 · 10 次引用

相关 Paper

  1. NLI : Non-uniform Linear Interpolation Approximation of Nonlinear Operations for Efficient LLMs InferenceJiangyong Yu, Xiaomeng Han, Xing Hu, Chen Xu 等ICLR 2026 · 2 次引用
  2. Fractional Adaptive Linear UnitsJulio Zamora, Anthony D. Rhodes, Lama NachmanAAAI 2022 · 10 次引用
  3. M3XU: Achieving High-Precision and Complex Matrix Multiplication with Low-Precision MXUsDongho Ha, Yunan Zhang, Chen-Chien Kao, Christopher J. Hughes 等SC 2024 · 3 次引用
  4. Winning Both the Accuracy of Floating Point Activation and the Simplicity of Integer ArithmeticYulhwa Kim, Jaeyong Jang, Jehun Lee, Jihoon Park 等ICLR 2023
  5. Optimizing Deep Learning Inference via Global Analysis and Tensor ExpressionsChunwei Xia, Jiacheng Zhao, Qianqi Sun, Zheng Wang 等ASPLOS 2024 · 14 次引用
黄昏的海面,两侧是细线勾勒的悬崖