NeFut Logo NeFut
Admin Login

[CS.AI] Revolutionary Tech: Accelerating GPU Inference of LLMs with Sparse Weight Matrices

Published at: 2026-07-13 22:00 Last updated: 2026-07-14 12:04
#GPU #Sparse Matrix #Inference

With the growing deployment of large language models (LLMs), inference cost has become a key challenge. Pruning techniques that introduce sparsity into weight matrices can accelerate inference. However, maintaining model quality typically limits pruning to moderate unstructured sparsity (around 50%). At these sparsity levels, none of the existing GPU kernels for sparse matrix multiplication (SpMM) can outperform their dense counterparts.

This paper proposes an efficient GPU inference method for LLMs with moderate sparsity. We introduce a three-layer matrix storage format comprising:
(i) a Sparse-TC layer enabling sparse tensor cores to accelerate SpMM;
(ii) a Slot-Filling layer using parallel differential distance for matrix compression while supporting low-cost on-chip decoding;
(iii) a lightweight Residual layer ensuring correct SpMM computation.

Building on this format, we design a SpMM kernel that jointly utilizes sparse tensor cores and CUDA cores. This design enables an efficient execution pipeline and overlaps on-chip computation with memory access. Evaluations show that our work is the first to outperform dense matrix multiplication on modern GPUs equipped with high-bandwidth memory (HBM), achieving up to 1.64x kernel-level speedup over SpInfer (EuroSys'25, Best paper) and up to 1.41x end-to-end speedups over FlashLLM (VLDB'24).

Our source code: GitHub.

Blogger's Review: The proposed three-layer matrix storage format and new SpMM kernel design effectively address the sparsity issue in LLM inference, demonstrating significant performance improvements in GPU inference, which holds great practical value and theoretical significance.

Original Source: https://arxiv.org/abs/2607.08786

[h] Back to Home