Skip to content
Open access

Optimizing Deep Neural Network Sparse Kernels on Multi-core CPUs

Oct 2026 · ACM Transactions on Architecture and Code Optimization (TACO) · 0 citations · 7 references

TL;DR

TurboSparse eliminates im2col by executing SpConv directly over a DNN-oriented sparse format to reduce data movement and improve reuse, introduces row-merging micro-kernels guided by an analytical SIMD-utilization model to increase vector-lane occupancy, and fuses consecutive sparse kernels when their combined working set fits in private caches to reuse intermediates and cut memory traffic.

Abstract

Vector-wise pruning is widely used to reduce the inference cost of deep neural networks (DNNs), but it turns key operators into sparse convolution (SpConv) and sparse matrix-matrix multiplication (SpMM) kernels that are difficult to optimize on multi-core CPUs. Although prior sparse-kernel acceleration has largely centered on GPUs, CPUs remain a first-order inference platform in CPU-only deployments and in heterogeneous serving when GPUs are scarce or memory-constrained. We present TurboSparse, an approach for accelerating vector-wise sparse DNN kernels on modern multi-core CPUs. TurboSparse (1) eliminates im2col by executing SpConv directly over a DNN-oriented sparse format to reduce data movement and improve reuse, (2) introduces row-merging micro-kernels guided by an analytical SIMD-utilization model to increase vector-lane occupancy, and (3) fuses consecutive sparse kernels when their combined working set fits in private caches to reuse intermediates and cut memory traffic. Across four CPUs (x86 and ARM) and representative pruned DNN workloads, TurboSparse outperforms five expert-tuned CPU libraries, achieving up to 4.05 × speedup for consecutive SpConvs and sustaining 15–80% of each processor’s theoretical peak throughput.

Read PDF

Similar papers

#machine learning Preprint Oct 2026

Beyond Masked Sparsity: SNACK Enables Truly Sparse Neural Networks on GPU

Deep neural networks continue to grow in parameter count, driving up training and inference cost on GPUs. Sparse neural networks and Dynamic Sparse Training (DST) promise to reduce these costs, but most implementations rely on binary masks over dense tensors and recover little of the theoretical compute, memory, or ene...

Jafar Badour, M. van Keulen, E. Mocanu · 0 citations
Book Open access Sep 2026

AFH-SpMM: Auto-Fit Heterogeneous Block Sparse-Dense Matrix Multiplication on Tensor Core GPUs

AFH-SpMM is a novel Auto-Fit Heterogeneous SpMM framework designed for adaptively parallelizing sparse-dense matrix multiplication on Tensor Core-equipped GPUs that achieves average speedups of 1.33 ×, and often leads cuSPARSE, ASpT, Sputnik, RoDe, Acc-SpMM, and MP-SpMM, with especially strong gains on medium and large...

Zhi-Rui Chen, Heng Zhang, Kai-Fan Jia · 0 citations
Book Open access Sep 2026

CoTC-SpMM: A Cooperative Tensor–CUDA Cores Scheme for Efficient Sparse Matrix Multiplication

CoTC-SpMM is introduced, a cooperative Tensor–CUDA cores scheme for efficient SpMM on GPUs that first proposes the HTC format to partition sparse matrices into dense and sparse components, enabling specialized kernels to leverage the distinct advantages of different computing units and maximize hardware utilization.

Qi Du, Sheng-Le Lin, Yue-Dan Chen et al. · 0 citations
Sep 2026

VCSR-TC: A Sparse Matrix-Matrix Optimization Strategy for Leveraging Modern GPUs with Tensor Cores

Sparse–dense matrix multiplication (SpMM) underpins graph neural networks, recommendation systems, and pruned-transformer inference, yet remains memory-bound on modern GPUs because nonzero column indices induce scattered, noncoalesced accesses to the dense operand B. Recent tensor-core SpMM kernels reconstruct the spar...

Mouad Tiahi, Elmira Karimi, David R. Kaeli · 0 citations
#artificial intelligence Preprint Sep 2026

Hardware-Native Joint Sparse-Quantization for Trillion-Scale Mixture-of-Experts

This work presents an end-to-end hardware-software co-design framework that compresses expert weights into hardware-native, low-precision sparse representations and accelerates their execution on SpTCs, establishing hardware-software co-design as a practical path toward scalable and efficient MoE deployment.

Kwanhee Lee, Namhoon Lee, Martin Jaggi · 0 citations
Book Open access Sep 2026

RODIS: Accelerating Sparse Matrix Multiplication on GPU via Row-Orchestration and Dynamic Instruction Scheduling

RODIS, a two-level acceleration scheme that utilizes row-orchestration at the data loading level to achieve inter-block load balancing and employs dynamic instruction scheduling at the underlying computation level to enhance MAC utilization, is proposed.

Jian-Feng Cui, Bo Yuan, Ze-Kun Jiang et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.