Bullseye Hash: An Efficient Hash-Table for Sparse Tensor Contraction
Sparse tensor contraction (SpTC) is a critical operation in high-performance applications. However, the high dimensionality and inherent sparsity of tensors make the performance improvement of SpTC a fundamentally challenging problem. In this paper, we propose Bullseye Hash, a novel hash table designed to efficiently support SpTC computations. Bullseye Hash features a fast hash function with guaranteed collision-free operations. We analyze the special characteristics of SpTC and optimize hash operations tailored to its computation pattern across various data objects. Additionally, we provide guidance on configuring data object representations based on their specific characteristics, considering both algorithmic complexity and cache efficiency. Experimental results on 22 SpTCs show that our method achieves up to a 10.4 × speedup (with an average of 3.1 ×) and reduces the memory footprint by up to 77% (with an average of 43%) compared to the state-of-the-art. To the best of our knowledge, this work is the first effort in designing hash-table methods specifically for SpTC, paving the way for further optimization using hash-based techniques in sparse computations.
Authors
- Guangming Tan (ORCID: https://orcid.org/0000-0002-6361-5948)
- Mingzhen Li (ORCID: https://orcid.org/0000-0002-4115-9072)
- Zecheng Li (ORCID: https://orcid.org/0000-0003-3314-4839)
- Jiajia Li (ORCID: https://orcid.org/0000-0003-1270-4147)
- Weile Jia (ORCID: https://orcid.org/0000-0001-8539-8326)
- Ninghui Sun (ORCID: https://orcid.org/0000-0002-1953-1392)
- Guofeng Feng (ORCID: https://orcid.org/0009-0006-6107-2501)
Institutions
- North Carolina State University (US)
- Institute of Computing Technology (CN)
- University of Chinese Academy of Sciences (CN)
Publication Details
- Journal
- ACM Transactions on Architecture and Code Optimization
- Published
- 2026-09-14
- DOI
- https://doi.org/10.1145/3847109
- Primary Topic
- Advanced Image and Video Retrieval Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00