EMLUT: A Programmable Nonlinear Function Accelerator for Edge AI
Abstract
As linear computation in AI workloads becomes increasingly efficient, nonlinear operations such as activation, normalization, and Softmax are becoming a key bottleneck in resource-constrained edge systems. Yet existing approaches face an efficiency-programmability trade-off. We present EMLUT, a programmable accelerator that executes diverse nonlinear functions on shared hardware resources. EMLUT lowers simplified Exponential-Minus-Log (EML) graphs into micro-operations using base-2 logarithmic number system (LNS) arithmetic. LOG and EXP share a coefficient lookup table (LUT) and interpolator using search-free reverse addressing and residual correction, while hardware-aware static scheduling determines operation timing and data mapping at compile time. In an FPGA prototype of an EMLUT-integrated processor, EMLUT achieves 27.1-94.6x speedup over software execution on the RISC-V core across six nonlinear kernels. With the INT8 GEMM configuration unchanged, nonlinear offloading to EMLUT yields 6.80-8.54x end-to-end speedup for DeiT-Tiny inference. Under a common 14 nm, 100 MHz flow, EMLUT reduces energy per output by 90.5-93.3% relative to the lower-energy programmable peer for each evaluated kernel. On Qwen2.5-3B and GPT-2, EMLUT increases WikiText-2 perplexity by at most 0.678% over FP32.
Create a lesson
Metadata
- Comments
- 7 pages, 6 figures. 7 tables, accepted for publication at DATE 2027
Related papers
Exploring Runtime-Configurable Piecewise Linear Function Interpolation for FPGA-Based LLM Hardware Acceleration
Shared title terminologycs.ARPatrick Nepveu-Nelson, Fabiola Jiménez-Chacón, Roger Morales-Monge et al.
Design and Evaluation of Mamba Inference on a Programmable CGLA
Shared title terminologycs.ARTakuto Ando, Yasuhiko Nakashima
PDG-CORDIC: A Posit-Decode-Guided Low-Latency CORDIC for Activation Function
Shared title terminologycs.ARYibo Rui, Jiajun Zhang
NIR2FPGA: Compiling Dataflow Accelerators from the Neuromorphic Intermediate Representation
Shared title terminologycs.ARMichail Rontionov, Francisco Ayala Le Brun, Nassim Beladel et al.
SoftmaxPIM: An HBM-Based PIM Architecture for Accelerating GeMV-Softmax Execution Pipeline
Shared title terminologycs.ARTaewoon Kang, Namhun Kim, Jihun Lee et al.
SparsePIM+: Accelerating SpMV on HBM-based PIM via logic-die accumulators with opportunistic TSV utilization
Shared title terminologycs.ARTaewoon Kang, Namhun Kim, Geonwoo Choi et al.