Optimizing Deep Neural Network Sparse Kernels on Multi-core CPUs
Weiling Yang, Jianbin Fang, Dezun Dong, Junwen Zhang, Runxi He
Key points
From the paper's conclusion- We present TurboSparse, an approach for accelerating vector-wise sparse DNN kernels on modern multi-core CPUs.
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 the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Theoretical and Empirical Analysis of Sparse ConvolutionarXiv · 2026
- Splice-Core: Low-Order-Bit-Splicing GEMM for Highly Energy-Efficient AI Inference AcceleratorsarXiv · 2026
- AscSpMM: Efficient SpMM on Ascend NPUs via Pipelined Vector-Cube CollaborationarXiv · 2026
- XM-Sparse: High-Throughput Sparse-Attention LLM Serving over Scale-up Memory PoolsarXiv · 2026
- Structured Channel Network Pruning with Bi-Sparse Matrix FactorizationarXiv · 2026
- ASDL: A Fast Vector Approximation Algorithm for Multiplierless Designs of Convolutional Neural NetworksarXiv · 2026