Flexagon: A Multi-dataflow Sparse-Sparse Matrix Multiplication Accelerator for Efficient DNN Processing
Francisco Muñoz-Martínez, Raveesh Garg, Michael Pellauer, José L. Abellán, Manuel E. Acacio, Tushar Krishna
Abstract
Sparsity is a growing trend in modern DNN models. Existing Sparse-Sparse Matrix Multiplication (SpMSpM) accelerators are tailored to a particular SpMSpM dataflow (i.e., Inner Product, Outer Product or Gustavson's), that determines their overall efficiency. We demonstrate that this static decision inherently results in a suboptimal dynamic solution. This is because different SpMSpM kernels show varying features (i.e., dimensions, sparsity pattern, sparsity degree), which makes each dataflow better suited to different data sets.
In this work we present Flexagon, the first SpMSpM reconfigurable accelerator that is capable of performing SpM-SpM computation by using the particular dataflow that best matches each case. Flexagon accelerator is based on a novel Merger-Reduction Network (MRN) that unifies the concept of reducing and merging in the same substrate, increasing efficiency. Additionally, Flexagon also includes a 3-tier memory hierarchy, specifically tailored to the different access characteristics of the input and output compressed matrices. Using detailed cycle-level simulation of contemporary DNN models from a variety of application domains, we show that Flexagon achieves average performance benefits of 4.59×, 1.71×, and 1.35× with respect to the state-of-the-art SIGMA-like, Sparchlike and GAMMA-like accelerators (265% , 67% and 18%, respectively, in terms of average performance/area efficiency).
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.
29 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- LoAS: Fully Temporal-Parallel Dataflow for Dual-Sparse Spiking Neural Networks cites MatRaptor: A Sparse-Sparse Matrix Multiplication Accelerator Based on Row-Wise Product
- LoAS: Fully Temporal-Parallel Dataflow for Dual-Sparse Spiking Neural Networks cites Gamma: leveraging Gustavson's algorithm to accelerate sparse matrix multiplication
- LoAS: Fully Temporal-Parallel Dataflow for Dual-Sparse Spiking Neural Networks cites SpArch: Efficient Architecture for Sparse Matrix Multiplication
- TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis cites Gamma: leveraging Gustavson's algorithm to accelerate sparse matrix multiplication
- MatRaptor: A Sparse-Sparse Matrix Multiplication Accelerator Based on Row-Wise Product cites SpArch: Efficient Architecture for Sparse Matrix Multiplication
- FEASTA: A Flexible and Efficient Accelerator for Sparse Tensor Algebra in Machine Learning cites MatRaptor: A Sparse-Sparse Matrix Multiplication Accelerator Based on Row-Wise Product
- FEASTA: A Flexible and Efficient Accelerator for Sparse Tensor Algebra in Machine Learning cites SparseAdapt: Runtime Control for Sparse Linear Algebra on a Reconfigurable Accelerator
- FEASTA: A Flexible and Efficient Accelerator for Sparse Tensor Algebra in Machine Learning cites Gamma: leveraging Gustavson's algorithm to accelerate sparse matrix multiplication
- FEASTA: A Flexible and Efficient Accelerator for Sparse Tensor Algebra in Machine Learning cites SpArch: Efficient Architecture for Sparse Matrix Multiplication
- Gamma: leveraging Gustavson's algorithm to accelerate sparse matrix multiplication cites SpArch: Efficient Architecture for Sparse Matrix Multiplication
- TeAAL: A Declarative Framework for Modeling Sparse Tensor Accelerators cites MatRaptor: A Sparse-Sparse Matrix Multiplication Accelerator Based on Row-Wise Product
- TeAAL: A Declarative Framework for Modeling Sparse Tensor Accelerators cites Gamma: leveraging Gustavson's algorithm to accelerate sparse matrix multiplication
- TeAAL: A Declarative Framework for Modeling Sparse Tensor Accelerators cites SpArch: Efficient Architecture for Sparse Matrix Multiplication
Cited by top-tier papers29
- TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based AnalysisSize Zheng, Siyuan Chen, Siyuan Gao, Liancheng Jia et al.MICRO 2023 · 31 citations
- SPADE: A Flexible and Scalable Accelerator for SpMM and SDDMMGerasimos Gerogiannis, Serif Yesil, Damitha Lenadora, Dingyuan Cao et al.ISCA 2023 · 27 citations
- LoAS: Fully Temporal-Parallel Dataflow for Dual-Sparse Spiking Neural NetworksRuokai Yin, Youngeun Kim, Di Wu, Priyadarshini PandaMICRO 2024 · 19 citations
- TeAAL: A Declarative Framework for Modeling Sparse Tensor AcceleratorsNandeeka Nayak, Toluwanimi O. Odemuyiwa, Shubham Ugare, Christopher W. Fletcher et al.MICRO 2023 · 19 citations
- FEASTA: A Flexible and Efficient Accelerator for Sparse Tensor Algebra in Machine LearningKai Zhong, Zhenhua Zhu, Guohao Dai, Hongyi Wang et al.ASPLOS 2024 · 16 citations
Builds on7
- MLPerf Inference BenchmarkVijay Janapa Reddi, Christine Cheng, David Kanter, Peter Mattson et al.ISCA 2020 · 517 citations
- SpArch: Efficient Architecture for Sparse Matrix MultiplicationZhekai Zhang, Hanrui Wang, Song Han, William J. DallyHPCA 2020 · 280 citations
- MatRaptor: A Sparse-Sparse Matrix Multiplication Accelerator Based on Row-Wise ProductNitish Kumar Srivastava, Hanchen Jin, Jie Liu, David H. Albonesi et al.MICRO 2020 · 223 citations
- Gamma: leveraging Gustavson's algorithm to accelerate sparse matrix multiplicationGuowei Zhang, Nithya Attaluri, Joel S. Emer, Daniel SánchezASPLOS 2021 · 158 citations
- SparseAdapt: Runtime Control for Sparse Linear Algebra on a Reconfigurable AcceleratorSubhankar Pal, Aporva Amarnath, Siying Feng, Michael F. P. O'Boyle et al.MICRO 2021 · 19 citations
Related papers
- Trapezoid: A Versatile Accelerator for Dense and Sparse Matrix MultiplicationsYifan Yang, Joel S. Emer, Daniel SánchezISCA 2024 · 38 citations
- Misam: Machine Learning Assisted Dataflow Selection in Accelerators for Sparse Matrix MultiplicationSanjali Yadav, Amirmahdi Namjoo, Bahar AsgariMICRO 2025 · 6 citations
- Spada: Accelerating Sparse Matrix Multiplication with Adaptive DataflowZhiyao Li, Jiaxiang Li, Taijie Chen, Dimin Niu et al.ASPLOS 2023 · 59 citations
- Rethinking Tiling and Dataflow for SpMM Acceleration: A Graph Transformation FrameworkAmir Ghazizadeh Ahsaei, Lingxiang Yin, Shilin Tian, Fangzhou Ye et al.MICRO 2025 · 4 citations
- SLAWS: Spatial Locality Analysis and Workload Orchestration for Sparse Matrix MultiplicationGuoyu Li, Zheng Guan, Beichen Zhang, Jun Yu et al.ASPLOS 2026
