A Sparse Tensor Generator with Efficient Feature Extraction

Tugba Torun, Ameer Taweel, Didem Unat
5/8/2024
cs.MScs.LG

Official code: sparcityeu/GenTensor (2 stars, MIT, last commit 2025-09-22). 1 more implementation below.

Abstract

Sparse tensor operations are increasingly important in diverse applications such as social networks, deep learning, diagnosis, crime, and review analysis. However, a major obstacle in sparse tensor research is the lack of large-scale sparse tensor datasets. Another challenge lies in analyzing sparse tensor features, which are essential not only for understanding the nonzero pattern but also for selecting the most suitable storage format, decomposition algorithm, and reordering methods. However, due to the large size of real-world tensors, even extracting these features can be computationally expensive without careful optimization. To address these limitations, we have developed a smart sparse tensor generator that replicates key characteristics of real sparse tensors. Additionally, we propose efficient methods for extracting a comprehensive set of sparse tensor features. The effectiveness of our generator is validated through the quality of extracted features and the performance of decomposition on the generated tensors. Both the sparse tensor feature extractor and the tensor generator are open source with all the artifacts available at https://github.com/sparcityeu/FeaTensor and https://github.com/sparcityeu/GenTensor, respectively.

View on arXivView PDF

Code Implementations(2)

MIT

Sparse tensor generator in C

21C, ShellApr 27, 20231 years agoMIT
MIT

Feature extraction methods for sparse tensors

11C, C++Mar 17, 20231 years agoMIT

Similar Papers

Cite this paper

@article{torun2024sparse,
  title  = {A Sparse Tensor Generator with Efficient Feature Extraction},
  author = {Tugba Torun and Ameer Taweel and Didem Unat},
  year   = {2024},
  eprint = {2405.04944},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.04944v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.04944.svg)](https://codeofpaper.com/paper/2405.04944)

Discussion