SparseInfer: Training-free Prediction of Activation Sparsity for Fast LLM Inference

Citations

SCOPUS

3

초록

Leveraging sparsity is crucial for optimizing large language model (LLM) inference; however, modern LLMs employing SiLU as their activation function exhibit minimal activation sparsity. Recent research has proposed replacing SiLU with ReLU to induce significant activation sparsity and showed no downstream task accuracy degradation through fine-tuning. However, taking full advantage of it required training a predictor to estimate this sparsity. In this paper, we introduce Sparselnfer, a simple, lightweight, and training-free predictor for activation sparsity of ReLU-fied LLMs, in which activation sparsity is predicted by comparing only the sign bits of inputs and weights. To compensate for possible prediction inaccuracy, an adaptive tuning of the predictor's conservativeness is enabled, which can also serve as a control knob for optimizing LLM inference. The proposed method achieves approximately 21% faster inference speed over the state-of-the-art, with negligible accuracy loss of within 1 % p. © 2025 EDAA.

키워드

Activation sparsityLarge language models (LLMs)Training-free
제목
SparseInfer: Training-free Prediction of Activation Sparsity for Fast LLM Inference
저자
Shin, JihoYang, Hoe seokYi, Young min
DOI
10.23919/DATE64628.2025.10992997
발행일
2025
유형
Conference Paper
저널명
Proceedings -Design, Automation and Test in Europe, DATE