Lune

MICRO2020Top-tier venue

MatRaptor: A Sparse-Sparse Matrix Multiplication Accelerator Based on Row-Wise Product

Nitish Kumar Srivastava, Hanchen Jin, Jie Liu, David H. Albonesi, Zhiru Zhang

Abstract

Sparse-sparse matrix multiplication (SpGEMM) is a computation kernel widely used in numerous application domains such as data analytics, graph processing, and scientific computing. In this work we propose MatRaptor, a novel SpGEMM accelerator that is high performance and highly resource efficient. Unlike conventional methods using inner or outer product as the meta operation for matrix multiplication, our approach is based on row-wise product, which offers a better tradeoff in terms of data reuse and on-chip memory requirements, and achieves higher performance for large sparse matrices. We further propose a new hardware-friendly sparse storage format, which allows parallel compute engines to access the sparse data in a vectorized and streaming fashion, leading to high utilization of memory bandwidth. We prototype and simulate our accelerator architecture using gem5 on a diverse set of matrices. Our experiments show that MatRaptor achieves 129.2× speedup over single-threaded CPU, 8.8× speedup over GPU and 1.8× speedup over the state-of-the-art SpGEMM accelerator (OuterSPACE). MatRaptor also has 7.2× lower power consumption and 31.3× smaller area compared to OuterSPACE.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

49 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • I-GCN: A Graph Convolutional Network Accelerator with Runtime Locality Enhancement through Islandization cites Tensaurus: A Versatile Accelerator for Mixed Sparse-Dense Tensor Computations
  • SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruning cites Tensaurus: A Versatile Accelerator for Mixed Sparse-Dense Tensor Computations
  • SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruning cites SpArch: Efficient Architecture for Sparse Matrix Multiplication
  • ViTCoD: Vision Transformer Acceleration via Dedicated Algorithm and Accelerator Co-Design cites SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruning
  • ViTCoD: Vision Transformer Acceleration via Dedicated Algorithm and Accelerator Co-Design cites Tensaurus: A Versatile Accelerator for Mixed Sparse-Dense Tensor Computations
  • ViTCoD: Vision Transformer Acceleration via Dedicated Algorithm and Accelerator Co-Design cites SpArch: Efficient Architecture for Sparse Matrix Multiplication
  • Sparseloop: An Analytical Approach To Sparse Tensor Accelerator Modeling cites Dual-side Sparse Tensor Core
  • Sparseloop: An Analytical Approach To Sparse Tensor Accelerator Modeling cites SpArch: Efficient Architecture for Sparse Matrix Multiplication
  • Dual-side Sparse Tensor Core cites SpArch: Efficient Architecture for Sparse Matrix Multiplication
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers49

  1. SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head PruningHanrui Wang, Zhekai Zhang, Song HanHPCA 2021 · 412 citations
  2. I-GCN: A Graph Convolutional Network Accelerator with Runtime Locality Enhancement through IslandizationTong Geng, Chunshu Wu, Yongan Zhang, Cheng Tan et al.MICRO 2021 · 138 citations
  3. ViTCoD: Vision Transformer Acceleration via Dedicated Algorithm and Accelerator Co-DesignHaoran You, Zhanyi Sun, Huihong Shi, Zhongzhi Yu et al.HPCA 2023 · 124 citations
  4. Dual-side Sparse Tensor CoreYang Wang, Chen Zhang, Zhiqiang Xie, Cong Guo et al.ISCA 2021 · 109 citations
  5. Sparseloop: An Analytical Approach To Sparse Tensor Accelerator ModelingYannan Nellie Wu, Po-An Tsai, Angshuman Parashar, Vivienne Sze et al.MICRO 2022 · 76 citations

Builds on2

  1. SpArch: Efficient Architecture for Sparse Matrix MultiplicationZhekai Zhang, Hanrui Wang, Song Han, William J. DallyHPCA 2020 · 280 citations
  2. Tensaurus: A Versatile Accelerator for Mixed Sparse-Dense Tensor ComputationsNitish Kumar Srivastava, Hanchen Jin, Shaden Smith, Hongbo Rong et al.HPCA 2020 · 121 citations

Related papers

  1. SPAGHETTI: Streaming Accelerators for Highly Sparse GEMM on FPGAsReza Hojabr, Ali Sedaghati, Amirali Sharifian, Ahmad Khonsari et al.HPCA 2021 · 66 citations
  2. VSpGEMM: Exploiting Versal ACAP for High-Performance SpGEMM AccelerationKai Shi, Zhe Lin, Xinya Luan, Jianwang Zhai et al.DAC 2025 · 1 citation
  3. Spada: Accelerating Sparse Matrix Multiplication with Adaptive DataflowZhiyao Li, Jiaxiang Li, Taijie Chen, Dimin Niu et al.ASPLOS 2023 · 59 citations
  4. HARP: Hardware-Based Pseudo-Tiling for Sparse Matrix Multiplication AcceleratorJinkwon Kim, Myeongjae Jang, Haejin Nam, Soontae KimMICRO 2023 · 12 citations
  5. Efficient Execution of SpGEMM on Long Vector ArchitecturesValentin Le Fèvre, Marc CasasHPDC 2023 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines