QUNF+: A Quadratic Approximation Framework with Hardware Co-Design for Universal Nonlinear Function Acceleration in Neural Networks
Abstract
Modern neural networks have undergone extensive hardware optimization to address the increasing computational demands. While most existing acceleration strategies concentrate on linear operations, the relative cost of these nonlinear operations has become a critical efficiency bottleneck. This work presents QUNF+, a hardware-centric, quadratic-based approximation framework that offers a universal, scalable, and accurate approach for accelerating a wide range of nonlinear functions. Unlike conventional piecewise linear methods, QUNF+ segments functions uniformly and applies second-order Taylor expansions, yielding superior accuracy with fewer segments. QUNF+ also introduces a hardware-efficient approximation scheme with adjustable precision and an optional remainder compensation mechanism. In addition, we propose a set of novel function remapping techniques further reducing approximation error with minimal overhead. We design a fully integrated hardware architecture incorporating Canonical Signed Digit encoding and logic pruning to minimize resource usage without accuracy loss. Experimental results demonstrate that QUNF+ achieves up to 4.1x, 1.5x and 1.7x improvements in power, area, and latency, respectively, over state-of-the-art PWL methods. Application to real-world Transformer models results in an accuracy degradation of less than 0.72% and 0.10% on NLP and CV tasks, with system-level evaluations showing up to 24.38% reduction in total energy consumption and 92.39% in nonlinear operation energy. These results establish QUNF+ as a robust and scalable solution for nonlinear acceleration in modern AI hardware.
BibTeX
@article{du2025qunf,
author = {Haonan Du and Chenyi Wen and Zhengrui Chen and Li Zhang and Qi Sun and Zheyu Yan and Cheng Zhuo},
title = {{QUNF+: A Quadratic Approximation Framework with Hardware Co-Design for Universal Nonlinear Function Acceleration in Neural Networks}},
journal = {IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems},
year = {2025},
doi = {10.1109/tcad.2025.3642737},
}Ask Althea to put this paper to the test.
Loading related content...