NN-LUT: Neural Approximation of Non-Linear Operations for Efficient Transformer Inference
Not on the map. Why?
Abstract (arXiv)
Non-linear operations such as GELU, Layer normalization, and Softmax are essential yet costly building blocks of Transformer models. Several prior works simplified these operations with look-up tables or integer computations, but such approximations suffer inferior accuracy or considerable hardware cost with long latency. This paper proposes an accurate and hardware-friendly approximation framework for efficient Transformer inference. Our framework employs a simple neural network as a universal approximator with its structure equivalently transformed into a LUT. The proposed framework called NN-LUT can accurately replace all the non-linear operations in popular BERT models with significant reductions in area, power consumption, and latency.
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 14 of its 26 references that are in the map. First posted on arXiv 3 Dec 2021.
Builds on
14 of 26 references.
References · 14
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2017The Expressive Power of Neural Networks: A View from the Widthcited by 318
- 2019Q8BERT: Quantized 8Bit BERTcited by 296
- 2021I-BERT: Integer-only BERT Quantizationcited by 250
- 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 228
- 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 145
- 2019Efficient 8-Bit Quantization of Transformer Neural Machine Language Translation Modelcited by 58
Built on by
Citing papers per year: 2022: 4; 2023: 2; 2024: 5; 2025: 8; 2026: 6.
25 papers.
Sort:
By area:
- 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
- 2022Squeezeformer: An Efficient Transformer for Automatic Speech Recognitioncited by 50
- 2024ConSmax: Hardware-Friendly Alternative Softmax with Learnable Parameterscited by 14
- 2025QUARK: Quantization-Enabled Circuit Sharing for Transformer Acceleration by Exploiting Common Patterns in Nonlinear Operationscited by 10
- 2022Approximate Computing and the Efficient Machine Learning Expeditioncited by 8
- 2025LUT-DLA: Lookup Table as Efficient Extreme Low-Bit Deep Learning Acceleratorcited by 8
- 2025SOLE: Hardware-Software Co-design of Softmax and LayerNorm for Efficient Transformer Inferencecited by 5
- 2025VEXP: A Low-Cost RISC-V ISA Extension for Accelerated Softmax Computation in Transformerscited by 4
- 2022A Transistor Operations Model for Deep Learning Energy Consumption Scaling Lawcited by 2
- 2024From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networkscited by 2
- 2025FQ-PETR: Fully Quantized Position Embedding Transformation for Multi-View 3D Object Detectioncited by 2
- 2025VEDA: Efficient LLM Generation Through Voting-based KV Cache Eviction and Dataflow-flexible Acceleratorcited by 1
13 more
- 2025Optimizing Neural Networks with Learnable Non-Linear Activation Functions via Lookup-Based FPGA Accelerationcited by 1
- 2026NLI:Non-uniform Linear Interpolation Approximation of Nonlinear Operations for Efficient LLMs Inferencecited by 1
- 2026LLM Inference in a Flash!cited by 1
- 2022FusionFormer: Fusing Operations in Transformer for Efficient Streaming Speech Recognitioncited by 0
- 2023NeuralMatrix: Compute the Entire Neural Networks with Linear Matrix Operations for Efficient Inferencecited by 0
- 2024NOVA: NoC-based Vector Unit for Mapping Attention Layers on a CNN Acceleratorcited by 0
- 2024QuAKE: Speeding up Model Inference Using Quick and Approximate Kernels for Exponential Non-Linearitiescited by 0
- 2024IterL2Norm: Fast Iterative L2-Normalizationcited by 0
- 2025FQ-PETR: Fully Quantized Position Embedding Transformation for Multi-View 3D Object Detectioncited by 0
- 2026TriGen: NPU Architecture for End-to-End Acceleration of Large Language Models based on SW-HW Co-Designcited by 0
- 2026Integrated electro-optic attention nonlinearities for transformerscited by 0
- 2026Evolving Layer-Specific Scalar Functions for Hardware-Aware Transformer Adaptationcited by 0
- 2026MIVE: A Minimalist Integer Vector Engine for Softmax LayerNorm and RMSNorm Accelerationcited by 0
- 2026LLM Inference in a Flash!14 Sep 2026
- 2026MIVE: A Minimalist Integer Vector Engine for Softmax LayerNorm and RMSNorm Acceleration16 Jun 2026
- 2026Evolving Layer-Specific Scalar Functions for Hardware-Aware Transformer Adaptation13 May 2026
- 2026Integrated electro-optic attention nonlinearities for transformers10 Apr 2026
- 2026TriGen: NPU Architecture for End-to-End Acceleration of Large Language Models based on SW-HW Co-Design13 Feb 2026
- 2026NLI:Non-uniform Linear Interpolation Approximation of Nonlinear Operations for Efficient LLMs Inference3 Feb 2026
- 2025FQ-PETR: Fully Quantized Position Embedding Transformation for Multi-View 3D Object Detection12 Nov 2025
- 2025QUARK: Quantization-Enabled Circuit Sharing for Transformer Acceleration by Exploiting Common Patterns in Nonlinear Operations10 Nov 2025
- 2025SOLE: Hardware-Software Co-design of Softmax and LayerNorm for Efficient Transformer Inference20 Oct 2025
- 2025Optimizing Neural Networks with Learnable Non-Linear Activation Functions via Lookup-Based FPGA Acceleration23 Aug 2025
- 2025VEDA: Efficient LLM Generation Through Voting-based KV Cache Eviction and Dataflow-flexible Accelerator1 Jul 2025
- 2025VEXP: A Low-Cost RISC-V ISA Extension for Accelerated Softmax Computation in Transformers15 Apr 2025
13 more
- 2025FQ-PETR: Fully Quantized Position Embedding Transformation for Multi-View 3D Object Detection21 Feb 2025
- 2025LUT-DLA: Lookup Table as Efficient Extreme Low-Bit Deep Learning Accelerator18 Jan 2025
- 2024IterL2Norm: Fast Iterative L2-Normalization6 Dec 2024
- 2024QuAKE: Speeding up Model Inference Using Quick and Approximate Kernels for Exponential Non-Linearities30 Nov 2024
- 2024From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networks9 May 2024
- 2024NOVA: NoC-based Vector Unit for Mapping Attention Layers on a CNN Accelerator7 May 2024
- 2024ConSmax: Hardware-Friendly Alternative Softmax with Learnable Parameters31 Jan 2024
- 2023NeuralMatrix: Compute the Entire Neural Networks with Linear Matrix Operations for Efficient Inference23 May 2023
- 2023Full Stack Optimization of Transformer Inference: a Survey27 Feb 2023
- 2022FusionFormer: Fusing Operations in Transformer for Efficient Streaming Speech Recognition31 Oct 2022
- 2022Approximate Computing and the Efficient Machine Learning Expedition2 Oct 2022
- 2022Squeezeformer: An Efficient Transformer for Automatic Speech Recognition2 Jun 2022
- 2022A Transistor Operations Model for Deep Learning Energy Consumption Scaling Law30 May 2022
- 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
- 2022Squeezeformer: An Efficient Transformer for Automatic Speech Recognitioncited by 50
- 2024ConSmax: Hardware-Friendly Alternative Softmax with Learnable Parameterscited by 14
- 2025QUARK: Quantization-Enabled Circuit Sharing for Transformer Acceleration by Exploiting Common Patterns in Nonlinear Operationscited by 10
- 2022Approximate Computing and the Efficient Machine Learning Expeditioncited by 8
- 2025LUT-DLA: Lookup Table as Efficient Extreme Low-Bit Deep Learning Acceleratorcited by 8
- 2025SOLE: Hardware-Software Co-design of Softmax and LayerNorm for Efficient Transformer Inferencecited by 5
- 2025VEXP: A Low-Cost RISC-V ISA Extension for Accelerated Softmax Computation in Transformerscited by 4
- 2022A Transistor Operations Model for Deep Learning Energy Consumption Scaling Lawcited by 2
- 2024From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networkscited by 2
- 2025FQ-PETR: Fully Quantized Position Embedding Transformation for Multi-View 3D Object Detectioncited by 2
- 2025Optimizing Neural Networks with Learnable Non-Linear Activation Functions via Lookup-Based FPGA Accelerationcited by 1
12 most cited of 23 All 23 (JSON)
- 2026MIVE: A Minimalist Integer Vector Engine for Softmax LayerNorm and RMSNorm Acceleration16 Jun 2026
- 2026Evolving Layer-Specific Scalar Functions for Hardware-Aware Transformer Adaptation13 May 2026
- 2026Integrated electro-optic attention nonlinearities for transformers10 Apr 2026
- 2026TriGen: NPU Architecture for End-to-End Acceleration of Large Language Models based on SW-HW Co-Design13 Feb 2026
- 2026NLI:Non-uniform Linear Interpolation Approximation of Nonlinear Operations for Efficient LLMs Inference3 Feb 2026
- 2025FQ-PETR: Fully Quantized Position Embedding Transformation for Multi-View 3D Object Detection12 Nov 2025
- 2025QUARK: Quantization-Enabled Circuit Sharing for Transformer Acceleration by Exploiting Common Patterns in Nonlinear Operations10 Nov 2025
- 2025SOLE: Hardware-Software Co-design of Softmax and LayerNorm for Efficient Transformer Inference20 Oct 2025
- 2025Optimizing Neural Networks with Learnable Non-Linear Activation Functions via Lookup-Based FPGA Acceleration23 Aug 2025
- 2025VEXP: A Low-Cost RISC-V ISA Extension for Accelerated Softmax Computation in Transformers15 Apr 2025
- 2025FQ-PETR: Fully Quantized Position Embedding Transformation for Multi-View 3D Object Detection21 Feb 2025
- 2025LUT-DLA: Lookup Table as Efficient Extreme Low-Bit Deep Learning Accelerator18 Jan 2025
12 newest of 23 All 23 (JSON)