Saved in:
Bibliographic Details
Main Authors: Yu, Jiangyong, Han, Xiaomeng, Hu, Xing, Xu, Chen, Jiang, Zhe, Yang, Dawei
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2602.02988
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910009910099968
author Yu, Jiangyong
Han, Xiaomeng
Hu, Xing
Xu, Chen
Jiang, Zhe
Yang, Dawei
author_facet Yu, Jiangyong
Han, Xiaomeng
Hu, Xing
Xu, Chen
Jiang, Zhe
Yang, Dawei
contents Large Language Models (LLMs) have demonstrated remarkable performance across a wide range of tasks, but their deployment is often constrained by substantial memory footprints and computational costs. While prior work has achieved significant progress in compressing and accelerating linear layers, nonlinear layers-such as SiLU, RMSNorm, and Softmax-still heavily depend on high-precision floating-point operations. In this paper, we propose a calibration-free, dynamic-programming-optimal, and hardware-friendly framework called Non-uniform Linear Interpolation (NLI). NLI is capable of efficiently approximating a variety of nonlinear functions, enabling seamless integration into LLMs and other deep neural networks with almost no loss in accuracy. NLI ingeniously recasts cutpoint selection as a dynamic-programming problem, achieving the globally minimal interpolation error in O(MxN2) time via Bellman's optimality principle. Based on the NLI algorithm, we also design and implement a plug-and-play universal nonlinear computation unit. Hardware experiments demonstrate that the NLI Engine achieves more than 4x improvement in computational efficiency compared to the state-of-the-art designs.
format Preprint
id arxiv_https___arxiv_org_abs_2602_02988
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle NLI:Non-uniform Linear Interpolation Approximation of Nonlinear Operations for Efficient LLMs Inference
Yu, Jiangyong
Han, Xiaomeng
Hu, Xing
Xu, Chen
Jiang, Zhe
Yang, Dawei
Machine Learning
Artificial Intelligence
Large Language Models (LLMs) have demonstrated remarkable performance across a wide range of tasks, but their deployment is often constrained by substantial memory footprints and computational costs. While prior work has achieved significant progress in compressing and accelerating linear layers, nonlinear layers-such as SiLU, RMSNorm, and Softmax-still heavily depend on high-precision floating-point operations. In this paper, we propose a calibration-free, dynamic-programming-optimal, and hardware-friendly framework called Non-uniform Linear Interpolation (NLI). NLI is capable of efficiently approximating a variety of nonlinear functions, enabling seamless integration into LLMs and other deep neural networks with almost no loss in accuracy. NLI ingeniously recasts cutpoint selection as a dynamic-programming problem, achieving the globally minimal interpolation error in O(MxN2) time via Bellman's optimality principle. Based on the NLI algorithm, we also design and implement a plug-and-play universal nonlinear computation unit. Hardware experiments demonstrate that the NLI Engine achieves more than 4x improvement in computational efficiency compared to the state-of-the-art designs.
title NLI:Non-uniform Linear Interpolation Approximation of Nonlinear Operations for Efficient LLMs Inference
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2602.02988