NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

UniSparTa: A Unified Sparse Tensor Program Tuning Framework

Z.m. Wang, Lei Gong, Xiaoyan Qu, Cheng Tang, Wenqi Lou, Teng Wang, Qianyu Cheng, Xianglan Chen, Chao Wang, Xuehai Zhou

Abstract

Sparse tensor computation is widely used in deep learning and scientific computing. However, diverse sparse data and algorithmic characteristics at the application level, combined with the diversity of hardware platforms, pose significant challenges for efficient sparse tensor program optimization. Manually crafted operator libraries are time-consuming to develop and lack portability. To address this, we propose UniSparTa, a unified sparse tensor program tuning framework that automatically generates high-performance programs. First, we extract unified optimization principles for high-performance sparse tensor programs and propose a domain-specific language (DSL) to automatically generate a high-quality design space without manual intervention. Second, by analyzing the general distribution of the design space, we introduce an adaptive search strategy combining Deep Q-Networks (DQN) and Simulated Annealing (SA). Finally, to avoid the unacceptable time cost of real measurement during tuning, we propose a unified cost model based on multimodal fusion to accurately predict program performance. Furthermore, by leveraging data augmentation and transfer learning, we enable low-cost transfer prediction across different sparse data patterns, algorithms, and hardware platforms. Results show that, compared to the state-of-the-art operator library MKL, the manually optimized scheme ASpT, the tensor compiler TVM, and the sparse tensor tuning framework WACO, UniSparTa achieves average speedups of 1.98×, 2.75×, 6.13×, and 1.75×, respectively. Moreover, UniSparTa significantly accelerates the tuning process.
BibTeX
@article{wang2026unisparta,
  author = {Z.M. Wang and Lei Gong and Xiaoyan Qu and Cheng Tang and Wenqi Lou and Teng Wang and Qianyu Cheng and Xianglan Chen and Chao Wang and Xuehai Zhou},
  title = {{UniSparTa: A Unified Sparse Tensor Program Tuning Framework}},
  journal = {IEEE Trans. Comput. Aided Des. Integr. Circuits Syst.},
  year = {2026},
  doi = {10.1109/tcad.2025.3636442},
}

Loading related content...

Figure