EUVIMEDEUVIMED entdecken
Crossref

A Context-Awareness and Hardware-Friendly Sparse Matrix Multiplication Kernel for CNN Inference Acceleration

Haotian Wang, Yan Ding, Yumeng Liu, Weichen Liu, Chubo Liu, Wangdong Yang, Kenli Li

IEEE Transactions on Computers · 2025-04 · 74 (4) · 1182-1195

DOI: 10.1109/tc.2024.3517745 ↗

Kurz gefasst

Fachartikel in der Zeitschrift IEEE Transactions on Computers, 2025-04. Verfasst von Haotian Wang und 6 weiteren Autor:innen. Die Arbeit wurde bisher 4-mal zitiert (Crossref) und nennt 40 Literaturangaben.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Sparsification technology is crucial for deploying convolutional neural networks in resource-constrained environments. However, the efficiency of sparse models is hampered by irregular memory access patterns in sparse matrix multiplication kernels. Hardware-level support for 2:4 granularity in sparse tensor cores presents an opportunity for designing efficient sparse matrix multiplication kernels. Existing approaches often involve adjusting sparse structures or secondary sparsification, introducing additional computational errors. To tackle this challenge, we introduce a flexible 2:4 structured adaptive sparse matrix multiplication (FS-AMM) method, a hardware-friendly sparse matrix multiplication kernel that leverages model context to accelerate convolutional neural networks. First, we propose a model context-aware matrix pre-processing method that employs heuristic algorithms to estimate a loss of accuracy due to weight sparsity at each layer. Second, we design a hardware-friendly sparse storage format that combines 2:4 sparse and dense storage formats, enabling more versatile sparsity ratio selection. Third, we implement efficient matrix multiplication kernels to optimize GPU utilization. Finally, experimental results on A100 GPUs show that our method effectively utilizes the sparse tensor kernel and obtains an average 3.09 times speedup ratio compared to other sparse methods while maintaining a high accuracy.

Zitieren

APA

Wang, H., Ding, Y., Liu, Y., Liu, W., Liu, C., Yang, W., & Li, K. (2025). A Context-Awareness and Hardware-Friendly Sparse Matrix Multiplication Kernel for CNN Inference Acceleration. IEEE Transactions on Computers, 74(4), 1182-1195. https://doi.org/10.1109/tc.2024.3517745

Vancouver

Wang H, Ding Y, Liu Y, Liu W, Liu C, Yang W, et al. A Context-Awareness and Hardware-Friendly Sparse Matrix Multiplication Kernel for CNN Inference Acceleration. IEEE Transactions on Computers. 2025;74(4):1182-1195. doi:10.1109/tc.2024.3517745

BibTeX
@article{Wang2025,
  author = {Wang, Haotian and Ding, Yan and Liu, Yumeng and Liu, Weichen and Liu, Chubo and Yang, Wangdong and Li, Kenli},
  title = {A Context-Awareness and Hardware-Friendly Sparse Matrix Multiplication Kernel for CNN Inference Acceleration},
  journal = {IEEE Transactions on Computers},
  year = {2025},
  volume = {74},
  number = {4},
  pages = {1182--1195},
  doi = {10.1109/tc.2024.3517745}
}
Kostenlos starten →