Uni-SFU: Algorithm-HW Co-Design for Universal SFUs via Mixed-Degree Piecewise Approximation
Miao Sun, Yucheng Huang, Mingcong Cao, Jaehyun Park, Partha Pratim Pande, Umit Y. Ogras
Key points
From the paper's conclusion- Therefore, piecewise polynomial approximations are commonly used within allowed error bounds to improve computational efficiency.
Abstract
Nonlinear activation functions are essential to modern deep neural networks (DNNs), but their hardware evaluation places significant pressure on the special-function units (SFUs) of GPUs and custom accelerators. Therefore, piecewise polynomial approximations are commonly used within allowed error bounds to improve computational efficiency. However, existing techniques often approximate each activation function in isolation using fixed-degree polynomials and uniform segments, leading to hardware redundancy and sub-optimal precision. To address these limitations, we present Uni-SFU, an algorithm-hardware co-design framework that jointly optimizes approximation accuracy and silicon area for a diverse set of activation functions. Uni-SFU leverages a joint search across all target functions to assign mixed-degree polynomials to nonuniform segments, guided by an RTL-derived area cost model. This approach identifies a unified hardware configuration to implement the target activation functions under given accuracy constraints. Validated across over 700 neural network variants and three Natural Language Processing (NLP) models, Uni-SFU achieves a superior Mean Squared Error (MSE) below 8.22x10^-8, limiting top-1 accuracy degradation to within 1.02% compared to floating-point baselines. The proposed design occupies only 6,800 um2 in GF 22nm CMOS technology, achieving a superior trade-off between silicon area and system-level accuracy compared to SOTA counterparts.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Compiling Multi-Threshold Operators for Quantized Non-Monotonic and Fine-Granular Activations in Custom-Tailored DNN AcceleratorsarXiv · 2026
- To SIMD or Not to SIMD: Comparing RVV vs. CGRA SoCs for Non-Linear Functions in AIarXiv · 2026
- A Resource- and Power-Efficient FPGA Implementation of a Segmented Chebyshev Tanh Activation Function Using Single-Precision Floating-Point ArithmeticElectronics · 2026
- CircuitsDNA: Discovering Unconventional Multi-Accuracy Arithmetic Circuits via Evolutionary SynthesisarXiv · 2026
- AutoC2V: Synthesis-Guided LLM Training for QoR-Optimized C++-to-Verilog GenerationarXiv · 2026
- FPGA Programmable Logic Block Architecture with High-Density MAC for Deep Learning InferenceElectronics · 2026