Sparse Computations in Deep Learning Inference
Abstract
The computational demands of modern Deep Neural Networks (DNNs) are immense and constantly growing. While training costs usually capture public attention, inference demands are also contributing in significant computational, energy and environmental footprints. Sparsity stands out as a critical mechanism for drastically reducing these resource demands. However, its potential remains largely untapped and is not yet fully incorporated in production AI systems. To bridge this gap, this work provides the necessary knowledge and insights for performance engineers keen to get involved in deep learning inference optimization. In particular, in this work we: a) discuss the various forms of sparsity that can be utilized in DNN inference, b) explain how the original dense computations translate to sparse kernels, c) provide an extensive bibliographic review of the state-of-the-art in the implementation of these kernels for CPUs and GPUs, d) discuss the availability of sparse datasets in support of sparsity-related research and development, e) explore the current software tools and frameworks that provide robust sparsity support, and f) present evaluation results of different implementations of the key SpMM and SDDMM kernels on CPU and GPU platforms. Ultimately, this paper aims to serve as a resource for performance engineers seeking to develop and deploy highly efficient sparse deep learning models in productions.
Cite
@article{arxiv.2512.02550,
title = {Sparse Computations in Deep Learning Inference},
author = {Ioanna Tasou and Panagiotis Mpakos and Angelos Vlachos and Dionysios Adamopoulos and Georgios Giannakopoulos and Konstantinos Katsikopoulos and Ioannis Karaparisis and Maria Lazou and Spyridon Loukovitis and Areti Mei and Anastasia Poulopoulou and Angeliki Dimitriou and Giorgos Filandrianos and Dimitrios Galanopoulos and Vasileios Karampinis and Ilias Mitsouras and Nikolaos Spanos and Petros Anastasiadis and Ioannis Doudalis and Konstantinos Nikas and George Retsinas and Paraskevi Tzouveli and Christina Giannoula and Nectarios Koziris and Nikela Papadopoulou and Giorgos Stamou and Athanasios Voulodimos and Georgios Goumas},
journal= {arXiv preprint arXiv:2512.02550},
year = {2025}
}