Celty: SpMSpV GPU Kernel and SIMT Co-Design for Efficient Dual-Sparse LLM Inference

Ruokai Yin, Priyadarshini PandaarXiv 2026

TL;DR

Celty introduces a hardware-software co-design tailored specifically for accelerating single-user LLM inference using "dual-sparsity" (combining weight pruning with runtime activation sparsity). By pairing a novel compressed sparse matrix format with a lightweight modification to the GPU's SIMT core, Celty eliminates memory and decoding bottlenecks to achieve up to a 5.3× speedup over cuBLAS with negligible hardware area overhead.

What Problem Does This Paper Address?

Running large language models (LLMs) locally on personal devices is highly desirable for privacy and availability, but it faces a steep hardware hurdle: single-user autoregressive decoding is severely memory-bandwidth bound.

To reduce memory traffic, researchers use sparsity. "Dual-sparsity" is a particularly powerful approach that pairs unstructured weight pruning (done offline) with activation sparsity (skipping entire weight columns at runtime when the input activation is zero). While dual-sparsity significantly shrinks the data footprint, it creates a highly irregular mathematical workload known as Sparse Matrix-Sparse Vector (SpMSpV) multiplication.

Existing GPU sparse kernels handle SpMSpV poorly. Most are designed either for multi-user batched inference (Sparse Matrix-Dense Matrix, or SpMM) using Tensor Cores, or for extreme graph analytics workloads where sparsity is near 99%. They fall flat when handling the moderate, irregular dual-sparsity (30–70%) typical of efficient LLM decoding.

Figure 1: Illustration of (a) prior SpMM kernels. (b) prior SpMV kernels. DK stands for decompression ker- nel. TC stands for tensor core and Cu denotes the CUDA SIMT cores.

Methods

The authors propose Celty, an end-to-end co-design consisting of a new sparse storage format, an optimized GPU kernel, and minor microarchitectural additions to the GPU core.

1. The RLC-CSC Sparse Format & GPU Kernel

Popular bitmap-based sparse formats break down during vectorized memory loading because the number of non-zero elements per chunk varies, causing severe warp divergence on GPUs. Celty introduces a 4-bit Run-Length Compressed Compressed Sparse Column (RLC-CSC) format. This format enforces a strict 1:1 mapping between indices and non-zero values, enabling efficient 128-bit vectorized loads. At runtime, if a warp detects a zero-valued input activation, it skips loading the corresponding weight column entirely.

Figure 2: Celty SpMSpV kernel design. (a) Offline: weights are packed into RLC-CSC format, which run- length compresses the row indices. (b) Loop ordering: each warp is assigned a tile of 256 rows (M) and iter- ates over 64 columns (K). (c) Runtime example: zero- valued inputs trigger a column skip; for non-zero in- puts, weights and indices are vector-loaded and scatter- accumulated into the output.

2. Celty Sparse SIMT Core (Hardware Enhancements)

Software profiling revealed that up to 40% of execution time in the sparse kernel was wasted on two bottlenecks: reconstructing row indices from the compressed format and shared memory (SMEM) bank conflicts during scatter-accumulation. Celty solves this by adding two lightweight hardware features to the SIMT core:

  • Hardware RLC Decoder: A 3-stage pipelined unit that reconstructs absolute row indices directly from the RLC-CSC stream, eliminating software prefix-sum overhead.
  • Register-File-Based Accumulation: Repurposes abundant local register files as conflict-free accumulation buffers, bypassing shared memory entirely to eliminate bank conflicts.
Figure 6: Celty Sparse SIMT Core microarchitecture. The RLC decoder reconstructs row indices; the output offsets address the register-file accumulation buffer.

Datasets

The authors evaluated Celty using layer shapes from three prominent LLM families: LLaMA-2-7B, LLaMA-2-13B, and OPT-30B.

  • WikiText-2 was used to evaluate end-to-end model perplexity.
  • LM Eval Harness was used to measure downstream accuracy across three benchmarks: 5-shot MMLU, 0-shot PiQA, and 0-shot Winogrande.

Key Insights and Ideas

  • Tensor Cores aren't always the answer: For single-user decoding ($N=1$), the workload is strictly memory-bound. Tensor Core-targeted sparse solutions waste too much energy and time on decompression overheads. Optimizing standard SIMT (CUDA) cores yields much better results.
  • The Bitmap Bottleneck: While bitmaps offer great theoretical compression, their variable workload per thread destroys GPU warp efficiency. A predictable 1:1 value-to-index mapping is vital for structured hardware execution.
  • Registers over Shared Memory: Shared memory bank conflicts act as a hidden tax during random scatter-accumulation. Utilizing the local register file as a dedicated accumulation buffer completely bypasses this bottleneck.

Key Results

  • Kernel Speedups: The software-only Celty kernel achieves up to a 2.8× speedup over cuBLAS and 2.4× over Flash-LLM.
  • Hardware-Accelerated Performance: When paired with the Celty Sparse SIMT Core, performance scales up to a 5.3× speedup over cuBLAS at 70% dual-sparsity, outperforming specialized sparse tensor cores (like Coruscant-STC) by an average of 2.13×.
  • End-to-End LLM Evaluation: On LLaMA-2-13B, Celty delivers a 2.28× end-to-end decode speedup at 50% dual-sparsity while maintaining an acceptable WikiText-2 perplexity of 7.2 (compared to 4.9 for the unpruned dense model).
  • Negligible Area Overhead: Silicon synthesis shows that the hardware additions require less than 0.08% additional area on an NVIDIA Hopper GPU architecture.

Limitations and Future Work

Because Celty relies on microarchitectural modifications to the GPU's SIMT core, its full performance benefits cannot be realized on existing, off-the-shelf hardware without architectural updates (the hardware components were evaluated via RTL synthesis and cycle-approximate simulation).

Additionally, the current design focuses exclusively on accelerating the linear layers during the single-user decoding phase. Future extensions could explore adapting this co-design to handle the dense prefill phase or combining dual-sparsity with low-bit quantization schemes (like INT4/INT8 weights) for even greater memory savings.

Summary updated

BibTeX
@misc{yin2026celty,
  author = {Ruokai Yin and Priyadarshini Panda},
  title = {{Celty: SpMSpV GPU Kernel and SIMT Co-Design for Efficient Dual-Sparse LLM Inference}},
  year = {2026},
  eprint = {2608.01536},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.01536},
}
Figure